Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ShellExecute() errors
Message
 
 
À
11/11/2004 17:43:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00960666
Message ID:
00960667
Vues:
8
>I am trying to implement the ShellExecute function to open a various documents on a system (MS Word docs, pdf, Excel sheets, etc). All file types work as expected with the exception of MS Word docs - they open and then produce a VFP Error #12 Variable '18' is not found. There is no code in the method that contains anything related to an '18'.
>
>Anyone seen this before? Thanks in advance.
>DECLARE INTEGER ShellExecute IN shell32.DLL ;
>  INTEGER hndWin, ;
>  STRING cAction, ;
>  STRING cFileName, ;
>  STRING cParams, ;
>  STRING cDir, ;
>  INTEGER nShowWin
>
>ShellExecute(0,"open","c:\test.doc","","",1)
Which line of code gives this error?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform