Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a website
Message
From
12/12/2003 10:41:13
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/12/2003 10:38:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00858595
Message ID:
00858596
Views:
12
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform