Results 1 to 4 of 4

Thread: linking to a specific site in iexplorer? {resolved}

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2003
    Posts
    91

    linking to a specific site in iexplorer? {resolved}

    how do i link a link label to a specific site in iexplorer???
    Last edited by Synth3t1c; Jan 25th, 2004 at 12:41 AM.

  2. #2
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Why does it have to be internet explorer? ALLOW THE USERS TO USE THEIR DEFAULT BROWSER DAMMIT!

    Anyway, just use a System.Diagnostics.Process.Start("www.website.com") and it'll launch the website in that user's default browser.

  3. #3
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    Do you want it to be iexplorer or default browser?
    For default browser this shoud do:
    System.Diagnostics.Process.Start("http://www.google.com")

    For iexplorer you can use:
    Dim startinfo As New ProcessStartInfo("iexplore.exe", e.Link.LinkData.ToString)
    System.Diagnostics.Process.Start(startinfo)
    Last edited by Lunatic3; Jan 25th, 2004 at 12:46 AM.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  4. #4
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    Originally posted by Lunatic3
    For iexplorer you can use:
    Dim startinfo As New ProcessStartInfo("iexplore.exe", e.Link.LinkData.ToString)
    System.Diagnostics.Process.Start(startinfo)
    Or just System.Diagnostics.Process.Start("iexplore.exe " + "www.google.com")

    That way you're not making another variable GC has to clean up later

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