Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a website
Message
De
12/12/2003 10:41:13
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
12/12/2003 10:38:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00858595
Message ID:
00858596
Vues:
13
>All I want to do is simply call a website from a form. I have a command button placed on my form and when I click it, I want a certain website to open in the user's default browser, whether it be explorer or netscape. I do not need to send data to the website, nor do I need to return anything. Isn't there a simple way to do this?
declare long ShellExecute in "shell32.dll" ;
	long hwnd, string lpszOp, ;
	string lpszFile, string lpszParams, ;
    string lpszDir, long nShowCmd

ShellExecute(0,'Open',lcWebAddress,0,0,1)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform