>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!!
You can ...
ThisForm.olecontrol.logonname = ThisForm.Text1.Value
ThisForm.olecontrol.Password = ThisForm.text2.Value
then...
?ThisForm.olecontrol.logonnamea
?ThisForm.olecontrol.Password
See what values (if any) are in these properties.
If properties are empty, you know where the start of the problem is.
HTH :)