martin2k

Google
 
Web www.martin2k.co.uk

Launching a web browser and internet connection


Home Read and add posts to the Visual Basic 6.0 Forums Download some of my programs and OCXs Read the Tips here The old style forum is still available here Contact

Back


From: Gene M. Timothy E-mail: gmtimothy@wycol.com 1

Date: Sunday, July 1, 2001 at 01:15:27

Subject: Launching a web browser and internet connection

Comments:

Hello Again,

I'm just wondering again:) How can I create a command button that launches the users internet connection and web browser? I want to use it to update the program

From: Martin Allen E-mail: <No e-mail> 2

Date: Sunday, July 1, 2001 at 22:01:58

Subject: RE: Launching a web browser and internet connection

Comments:

Look at my reply to this earlier post.  It shows how to run files.  Replace the .pdf file part with a URL e.g:

ShellCode = ShellExecute(Me.hWnd, "open", "http://www.martin2k.co.uk", "", "", 1)

This should launch a browser with a URL that points to http://www.martin2k.co.uk.  The dial-up connection window should follow.


This forum is no longer taking new messages or replies since 01 November 2002.  The above material is for reference purposes only.

The new Visual Basic 6.0 forum can be found here.


Martin Allen 1999 - 2003.  Last updated Monday 12 May 2003 08:01:12 PM +0100.