Announcement

Collapse
No announcement yet.

default browser

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ivan Iraola
    replied
    Have you tried:

    Code:
    SW&=SHELL("start <A HREF="http://www.powerbasic.com",2)" TARGET=_blank>http://www.powerbasic.com",2)</A>
    That launches the default browser, no need to mess with the Registry.


    ------------------
    Ivan

    Leave a comment:


  • Semen Matusovski
    replied
    ShellExecute, of course, works.
    But inside (99,9% sure) it uses API FindExecutable.


    ------------------
    E-MAIL: [email protected]

    Leave a comment:


  • Egbert Zijlema
    replied
    Wayne,
    'My' NT-workstation is in a network. And unknown programs have obviously no permission to search the registry.
    An ERROR_ACCESS_DENIED (5) is returned.
    ------------------
    mailto:[email protected][email protected]</A>
    www.basicguru.com/zijlema/



    [This message has been edited by Egbert Zijlema (edited November 13, 2000).]

    Leave a comment:


  • Wayne Diamond
    replied
    Egbert,
    why does it not work on your NT4 (it works fine on mine)???
    There's no reason why it shouldn't work on all windows operating systems, as they all have htmlfile\shell\open\command - which is the same value that is read/executed when you double-click on a html file in windows Explorer




    ------------------

    Leave a comment:


  • Egbert Zijlema
    started a topic default browser

    default browser

    Folks,

    In the source code forum there are 2 pieces of code to open a website (actually there are 3, but mine is only adding a few 'corrections' to Wayne's).
    The problem with the Diamond/Zijlema method is that it does not work under NT4.
    Scott's approach works on both, 95 and NT.

    ------------------
    mailto:[email protected][email protected]</A>
    www.basicguru.com/zijlema/

    [This message has been edited by Egbert Zijlema (edited November 13, 2000).]
Working...
X
😀
🥰
🤢
😎
😡
👍
👎