Announcement

Collapse
No announcement yet.

default browser

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

  • 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).]

    Egbert Zijlema, journalist and programmer (zijlema at basicguru dot eu)
    http://zijlema.basicguru.eu
    *** Opinions expressed here are not necessarily untrue ***

  • #2
    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




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

    Comment


    • #3
      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).]

      Egbert Zijlema, journalist and programmer (zijlema at basicguru dot eu)
      http://zijlema.basicguru.eu
      *** Opinions expressed here are not necessarily untrue ***

      Comment


      • #4
        ShellExecute, of course, works.
        But inside (99,9% sure) it uses API FindExecutable.


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

        Comment


        • #5
          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
          Ivan

          Uncle Droid (Android Apps)

          Comment

          Working...
          X