Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2006
    Posts
    75

    Force a shortcut to open a URL using IE only.

    Can I get a shortcut I write to the desktop during install to use IE even if it is not the default browser on the users machine ?


    Thanks

  2. #2
    Join Date
    Jun 2005
    Posts
    470
    you should make the shortcut to point to IE with the url you want to be opened set as a parameter,like
    ----
    iexplore.exe "http://www.indigorose.com"
    ----

  3. #3
    Join Date
    Apr 2006
    Posts
    75
    This is the current line I use

    Shell.CreateShortcut(Shell.GetFolder(SHF_STARTMENU PROGRAMS).."\\%ProductName%", "XYZ", "http://www.XYZ.com", "", "", SessionVar.Expand("%AppFolder%\\XYZ.ico"), 0, SW_SHOWNORMAL, nil, "");


    How would I force this shortcut to use IE ? I tried a couple of things, but could not get it to work...

    Thanks

  4. #4
    Join Date
    Apr 2006
    Posts
    75
    Can anybody help with this ? still looking for a resolution...

    Thanks

  5. #5
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    This line of code works on my system, but it does reply on iexplore.exe being installed to the Program Files directory.

    Code:
    Shell.CreateShortcut(Shell.GetFolder(SHF_DESKTOP), "Shortcut to My File", SessionVar.Expand("%ProgramFilesFolder%\\Internet Explorer\\iexplore.exe"), "http://www.indigorose.com", SessionVar.Expand("%ProgramFilesFolder%\\Internet Explorer"), "", 0, SW_SHOWNORMAL, nil, "");
    Adam Kapilik

  6. #6
    Join Date
    Apr 2006
    Posts
    75
    Hi This works thanks....

    Is there any way I can check if IE is installed ? and perhaps show an error dialogue if it is not ?

Similar Threads

  1. Open URL instead of file
    By hammerstein in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 06-23-2005, 05:24 AM
  2. HOWTO: Create a Shortcut to an Internet URL
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-29-2002, 02:07 PM
  3. HOWTO: Uninstall a Shortcut Created with Actions
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-25-2002, 09:50 AM
  4. HOWTO: Open an Internet URL in the Default Web Browser
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 09-18-2002, 01:59 PM
  5. Open URL in IE Maximized?
    By Jonathan in forum AutoPlay Menu Studio 3.0
    Replies: 4
    Last Post: 11-09-2001, 01:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts