Results 1 to 5 of 5

Thread: Launch IE 7

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Location
    Chicago
    Posts
    136

    Launch IE 7

    Does anyone know if IE 7 uses the same shell command to open IE to a specific website like:

    iexplore.exe www.yahoo.com


    Thanks
    CodeBank: Launch IE

  2. #2
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: Launch IE 7

    It's called an argument. Almoast every app works like this - "App.exe file". It has to be in it's main method/function. Try. Otherview, you can use this function, which calls default browser and opens a webpage:

    VB Code:
    1. Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
    2. Public Function HyperJump(ByVal URL As String) As Long
    3. HyperJump = ShellExecute(0&, vbNullString, URL, vbNullString, vbNullString, vbNormalFocus)
    4. End Function
    5.  
    6. 'usage HyperJump "http://www.google.com

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2005
    Location
    Chicago
    Posts
    136

    Re: Launch IE 7

    Yeah I'm aware of that, I'm wondering if it has changed from version 6 to version 7. I can't install it to test it on this PC, so if someone else has can you test it out.

    I just want to make sure if I shell "iexplore.exe www.yahoo.com" it is going to work on the new version of IE.
    CodeBank: Launch IE

  4. #4
    Lively Member
    Join Date
    Jan 2006
    Posts
    114

    Re: Launch IE 7

    the simple way yaaaay
    VB Code:
    1. Shell "C:\Program Files\Internet Explorer\iexplore.exe yahoo.com", vbNormalFocus
    all done ^-^

  5. #5
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: Launch IE 7

    I think i works. There's a huge doubt in my mind that this would be changed. If it actually would be, i'm quite sure that Microsoft would anounce that.

    edit: BTW... this is a "standard" agreement. Like > on all systems (Windows, Unix, Max...) means transfer to the standard output and < transfer to the standard input.

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