Results 1 to 3 of 3

Thread: Shelling a hidden web page

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2001
    Posts
    2

    Shelling a hidden web page

    I am having difficulties useing the shell command to run a hidden web page. I've tried:

    Shell "start www.aol.com", vbHide

    However, the web page opens and the user can see it, which is the opposite of my intended result.

    I've considered using the inet control, but that would require an installation program for my program, which I would like to aviod if possible.

    Any ideas, suggestions, or comments?

  2. #2
    Frenzied Member
    Join Date
    Mar 2001
    Location
    You are HERE •™
    Posts
    1,300
    Try something like this. Keep in mind this will instance Internet Explorer, so users would need IE for it to work. Also notice I have IE.Visible = True commented out. If you want to see if everything is working then uncomment that line.

    Code:
    Dim WithEvents IE As InternetExplorer
    
    
    Private Sub CommandButton1_Click()
        'Reference the MS Internet control (dont add it to the controls)
        'just do - Project -> References
        Set IE = New InternetExplorer
        'IE.Visible = True
        IE.Navigate2 "http://www.vbforums.com/"
    End Sub
    
    
    'you will now find IE in the dropdown
    Private Sub IE_NavigateComplete2(ByVal pDisp As Object, URL As Variant)
        If URL = "http://www.vbforums.com/" Then
        MsgBox "its there!"
    End Sub

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2001
    Posts
    2
    Thanks for the help. It is greatly appreciated.

    Also, how can I tell if the person has Internet Explorer or not?

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