Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shellexecute and Windows 8
Message
De
12/04/2014 17:28:44
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 8
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01598440
Message ID:
01598518
Vues:
60
Hi Tommy,

You may use Molebox. Molebox wraps all dlls and OCSx to .EXE and virtually register at the target machine at runtime.

>
>local lcCmd, lcParams, lcPathReg
>
>lcPathReg = “c:\pharamcy\”
>lcCmd = "REGSVR32"
>
>lcParams = " /s /u "  + lcPathReg
>
>
>DECLARE INTEGER ShellExecute IN SHELL32.DLL ;
>        INTEGER lnHWnd, ;
>        STRING lcAction, ;   
>        STRING lcTarget, ;
>        STRING lcExeParams, ;
>        STRING lcDefDir, ;
>        INTEGER lnShowWindow
>
>lnResult = ShellExecute( 0, 'open', lcCmd, lcParams, "", 1 )
>
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform