Information générale
Catégorie:
Fonctions Windows API
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement