Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ftp file
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Ftp file
Divers
Thread ID:
00047136
Message ID:
00047136
Vues:
59
Hi all,

I'm currently using Mabry FTP on my application (I'm not sure how many of you do). My problem is when I program a socket connection with a specific user name and password it works fine. However, when I try to program it dynamic (use textbox to ask user to input their user name and password) the socket won't connected. It doesn't seem to recognize the value of the textbox. The following is what I did.

ThisForm.olecontrol.logonname = ThisForm.Text1.Value
ThisForm.olecontrol.Password = ThisForm.text2.Value

I also try to store the value in a array.

store ThisForm.Text1.Value to user
store ThisForm.Text2.Value to pass

ThisForm.olecontrol.logonname = user
ThisForm.olecontrol.password = pass

none of the above works!! But when I input value manually it works!!

ThisForm.olecontrol.logonname = "pang"
ThisForm.olecontrol.password = "password"

Any ideas!!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform