Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Call DLL and its properties
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00096678
Message ID:
00097810
Views:
17
Dear Ashish,

Here is the example written to activte the web - browser with the given location, to activate this I have my shell32.dll and declaring the function from that dll and getting the result activated !!

If you don't have shell32.dll I can mail it you !!


LPARAMETERS tcUrl, tcAction

tcUrl=IIF(type("tcUrl")="C",tcUrl,;
"http://www.geocities.com/eureka/7860")

tcAction=IIF(type("tcAction")="C",tcAction,"OPEN")

DECLARE INTEGER ShellExecute ;
IN SHELL32.dll ;
INTEGER nWinHandle,;
STRING cOperation,;
STRING cFileName,;
STRING cParameters,;
STRING cDirectory,;
INTEGER nShowWindow

DECLARE INTEGER FindWindow ;
IN WIN32API ;
STRING cNull,STRING cWinName

RETURN ShellExecute(FindWindow(0,_SCREEN.caption),;
tcAction,tcUrl,;
"",SYS(2023),1)


********** Procedure Ends *************

Regards
Rajesh
Previous
Reply
Map
View

Click here to load this message in the networking platform