Links allways open in default browser:/

Discussion in 'Programming General' started by xevenx, Aug 6, 2008.

Links allways open in default browser:/
  1. Unread #1 - Aug 6, 2008 at 8:08 AM
  2. xevenx
    Referrals:
    0

    xevenx Guest

    Links allways open in default browser:/

    I have searched in several hours without finding a answer. I want my webbrowser to open links from websites without poping up in my default browser.

    I know that this can be done in vb6, but after I switched to VB 08, im not able to do it:S

    Help!
     
  3. Unread #2 - Aug 8, 2008 at 2:59 AM
  4. asouls
    Referrals:
    0

    asouls Guest

    Links allways open in default browser:/

    i know a way, it took a while to figure out though..
    For IE:
    Code:
    Shell("c:\program files\internet explorer\iexplore.exe  " + ("http:\\google.com"))
    For Firefox:
    Code:
    Shell("C:\Program Files\Mozilla Firefox\firefox.exe  " + ("http://google.com"))
    you obviously modify the directory to the web browser you want and also change to the website/textbox you want.


    hope this works for you.
     
  5. Unread #3 - Oct 10, 2010 at 1:32 AM
  6. ImKrazy
    Joined:
    Aug 16, 2010
    Posts:
    27
    Referrals:
    0
    Sythe Gold:
    0

    ImKrazy Member

    Links allways open in default browser:/

    thanks asouls this helped me too :)
     
< Fun programming problem | WinInet basics >

Users viewing this thread
1 guest


 
 
Adblock breaks this site