Hi Joe,
Beim Laden bekomme ich den fehler:
Control Array 16 doesnt exist. hmpf
Link1(i).Text = Textvomtextfeld(i)
und, existiert es? Was ist Link1()?
Private Sub Form\_Load()
ReDim Dest(Pic.LBound To Pic.UBound)
ReDim Kommentar(Pic.LBound To Pic.UBound)
ReDim Textvomtextfeld(Pic.LBound To Pic.UBound)
End Sub
Private Sub Laden\_Click()
ff = FreeFile
pfd = App.Path
If Right(pfd, 1) "\" Then pfd = pfd & "\"
Ppfad = pfd & "Link.cfg"
Picopen = pfd & "open.bmp"
Picclose = pfd & "close.bmp"
Open Ppfad For Input As #ff
For i = Pic.LBound To Pic.UBound
Input #ff, Dest(i)
Input #ff, Kommentar(i)
Input #ff, Textvomtextfeld(i)
Link1(i).Text = Textvomtextfeld(i)
Next
Close #ff
End Sub
ähhmmmm, gibt das nicht immer Probleme, direkt in ein Array zu laden?
Open Ppfad For Input As #ff
For i = Pic.LBound To Pic.UBound
input #ff, Wert
Dest(i)= Wert
Input #ff, Wert
Kommentar(i)= Wert
Input #ff, Wert
Textvomtextfeld(i) = Wert
Link1(i).Text = Textvomtextfeld(i)
Next
Close #ff
Ich glaube, so würde da bei mir aussehen.
Gruß, Rainer