🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.forms
Article #75

Re: Internet link

#75
From: Geoff S. Wass ( dBVIPS )
Date: Fri, 16 Apr 1999 00:00
36 lines
1694 bytes
Peter,

You can modify this to handle either. This is by Romain Streiff.

/* ----------------------------------------------------------------
       OpenURL -- opens a browser with the URL you pass to it.
       Posted by Romain Strieff on the VdBASE Newsgroups

   ----------------------------------------------------------------
*/
   function OpenURL( cURL )
      if type( "ShellExecute" ) # "FP"
         extern cHandle ShellExecute( cHandle, cString, cString, ;
                cString, cString, cINT ) shell32 ;
                from "ShellExecuteA"
      endif

      ShellExecute( 0, "open", cURL, null, null, 1 )

(This is the VdBASE 7 version -- if you are using VdBASE 5.x, remove
the "32" from "shell" and the "A" from "ShellExecuteA").



By the way, this news group is dead. You should post all questions in
the NEW news groups hosted by dBASE Inc. Below my signature is a link to
their news server.

--
Geoff Wass ( dBVIPS )
Kuala Lumpur, Malaysia

=>=> More dBASE info at http://members.theglobe.com/Geoff_Wass <=<=

*>*> Visit the NEW! dBASE Inc. news groups on the news server
news://news.dbase2000.com <*<*
Technical Details
Message-ID: <3716CA00.A1B36B9D@ibm.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3713A538.A871EC9@wxs.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 15bdfb,90aa4d98f4d7cd7a
X-Google-Attributes: gid15bdfb,public
From: "Geoff S. Wass ( dBVIPS )" <gswass@ibm.net>
Subject: Re: Internet link
Date: 1999/04/16
Message-ID: <3716CA00.A1B36B9D@ibm.net>
X-Deja-AN: 467012246
Content-Transfer-Encoding: 7bit
References: <3713A538.A871EC9@wxs.nl>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Noordindarus Consultancy Sdn. Bhd.
Mime-Version: 1.0
Newsgroups: borland.public.vdbase.forms