Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call a *.chm file from a menu item?
Message
De
27/05/2002 15:14:24
 
 
À
27/05/2002 15:08:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00661761
Message ID:
00661766
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
>I want to call a *.chm file from a menu item in Visual FoxPro, any idea?
>by example:
>In visual Basic, I do it with Shell, anyone knows a similar command in VFoxPro?

Hello

You can call it with RUN command (native VFP), or using ShellExecute:
DECLARE INTEGER ShellExecute IN "Shell32.dll" ;
    INTEGER hwnd, ;
    STRING lpVerb, ;
    STRING lpFile, ;
    STRING lpParameters, ;
    STRING lpDirectory, ;
    LONG nShowCmd
=Shellexecute(0,'Open','path\file.chm','','',0)
Grigore Dolghin
Class Software.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform