Results 1 to 7 of 7

Thread: [RESOLVED] Navigation on the internet

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2009
    Posts
    16

    Resolved [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

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Nov 2009
    Posts
    16

    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.

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    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
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Nov 2009
    Posts
    16

    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.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Nov 2009
    Posts
    16

    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.

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Nov 2009
    Posts
    16

    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

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Nov 2009
    Posts
    16

    Thumbs up 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
  •  



Click Here to Expand Forum to Full Width