|
-
Jan 30th, 2010, 12:37 PM
#1
Thread Starter
Junior Member
[RESOLVED] Navigation on the internet
The application I am trying to make will be a database program that needs to get on a website in order to work. I am looking for coding that when executed would open the internet, type in a URL, click on a button on that page, then type in a user name and password. I want this all to be done autonomously with just coding. I have a way to open the internet from a program but would like help with the rest. I'm not super experienced with vb.
How I open the internet:
Dim p As New System.Diagnostics.Process
p.StartInfo.FileName = "iexplore.exe"
p.Start()
Any help on the rest? Thanks so much
-
Jan 30th, 2010, 12:48 PM
#2
Thread Starter
Junior Member
Re: Navigation on the internet
I just found a way to get to my URL I want.
Dim mySearchURL As String = "http://URLdesiredHere/"
Process.Start(mySearchURL)
But I still need help with clicking on a button on this page and then typing.
-
Jan 30th, 2010, 01:11 PM
#3
Re: Navigation on the internet
you'll probably want the webbrowser control instead.
here's a couple of threads to get started with.
http://www.vbforums.com/showthread.p...ght=webbrowser
http://www.vbforums.com/showthread.p...ght=webbrowser
-tg
-
Jan 30th, 2010, 01:15 PM
#4
Thread Starter
Junior Member
Re: Navigation on the internet
Well I just looked at the source code for my website and found the exact URL that brings up the input box. So now all I need to know is how to type in username, tab, then password and hit enter.
-
Jan 30th, 2010, 05:00 PM
#5
Thread Starter
Junior Member
Re: Navigation on the internet
So to redescribe things, I have an input box that pops up and is selected and I need a way to type into that input box autonomously with vb code. I have to guess that there's an easy way to do it. I also tried opening those files and my vb 2008 would come up and say that the files weren't converted right. Any help on anything? I basically don't know much at all as to go about doing this but I really need to figure it out. Seeking any advice as to how to go about this. Thanks
Last edited by XxAP0STLExX; Jan 30th, 2010 at 11:39 PM.
-
Jan 30th, 2010, 05:09 PM
#6
Thread Starter
Junior Member
Re: Navigation on the internet
I'm also wondering if this can be done on visual studio 2008 express or if i need to download a .NET version. I'm still pretty new to vb
-
Jan 31st, 2010, 03:32 PM
#7
Thread Starter
Junior Member
Re: Navigation on the internet
Well after piles of research I finally figured out how to do it. All I needed to know was to use Sendkeys.Send. Thanks for your efforts
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
|