Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Call DLL and its properties
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00096678
Message ID:
00097810
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform