|
-
Apr 21st, 2001, 07:12 PM
#1
New Member
Your suppose to be able to pass the UserName and Password with the Inet Control....
Like here's to logon to an FTP site
Private Sub Command1_Click()
Inet1.UserName = "Username"
Inet1.Password = "Password"
Inet1.URL = "ftp://YourFTPServer"
Inet1.Execute , "DIR"
End Sub
I haven't been able to log on myself this way but I am on the first version of VB 6. I'm about to update to Service Pack 5 and see if that helps.
As a workaround. I have dropped a browser window into my code just to pull up the login form and manually login, then I run the code I am working on....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|