Adblock breaks this site

Links allways open in default browser:/

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

  1. xevenx

    xevenx Guest

    Referrals:
    0
    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!
     
  2. asouls

    asouls Guest

    Referrals:
    0
    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.
     
  3. ImKrazy

    ImKrazy Member

    Joined:
    Aug 16, 2010
    Posts:
    27
    Referrals:
    0
    Sythe Gold:
    0
    Links allways open in default browser:/

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


 
 
Adblock breaks this site