• vb help
    3 replies, posted
Hello, I'm using VB 2010 Express (so I think vb.net not vb6, not sure tho) but what I am making is this: There are 2 text boxs' you put your username in the top one, then your password in the second one, and when you click "Connect"(the button) it navigates to [url]www.facebook.com[/url] and logs you in automatically...can anyone help? as far as I got was when you click the button it launches the default webbrowser and navigates to [url]www.facebook.com[/url] with [code] System.Diagnostics.Process.Start("http://www.facebook.com") [/code] What should I do next?
You should use the Shell() function for that, might make it easier.
But then it opens up a specific web browser, if the user of the app doesn't have firefox per-say then the application is rendered useless =X [editline]02:37PM[/editline] any ideas
Uhm, no, You would use a web browser function, and then do a [code]webBrowser1.Document.GetElementById("Submit").InvokeMember("click")[/code] That would be for clicking the login button, you need to change ("Submit") to the ID of the login button, which could be anything. Look up some more on that.
Sorry, you need to Log In to post a reply to this thread.