Also hiho ich bin neu zum VB6 und hab schon mein erstes problem ^.^
ich hab mir diese videotut geholt ( lession2 ) auf http://www.vb-x.org , das wo man die schleifen beigebracht bekommt , nunja bei mir kommt immer ein fehler obwohl ich alles so gemacht hab wie im tut also bei mir sieht das immo so aus :
quote:
Private Sub cmd_ok_Click()
Dim Zahl As Integer
Dim Erg As Integer
Erg = 0
Zahl = txt_eingabe.Text
For i = 1 To Zahl
Erg = Erg + 2
Next i
lbl_ausgabe.Caption = Erg
End Sub
Und dann kommt immer folgender fehler wenn ich eine zahl eingebe
quote:
variable nicht definiert
und er springt zu der zeile:
quote:
For i = 1 To Zahl
Hoffe ihr könnt mir helfen
MFG
€dit : Habs selber behoben
quote:
Dim i As Integer
hat gefehlt , davon war aber im tut auch nichts zu sehen naja
MFG
•´¯`¤ MFG~Lac0ste ¤´¯`•
¤[My favourite]¤
¤[Gifts]¤
This post has been edited 1 time(s), it was last edited by lac0ste: 16.07.2008 16:45.
If you were enjoying this post and if you keen on reading more interesting stuff then do not hesitate to complete the free sign up.
After the free registration you will gain access to all areas and you will be able to communicate with other artists from all over the world.
In addition you will benefit from our Photoshop and coding section as well as from our huge (hundreds of gigabytes) free resource section where you can find everything you will need to be a successful (web) designer/artist.
Sign up now and enjoy the advantages as a registered member.
(This website will be ad-free after a complete free sign up.)