Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shell32
Message
De
26/01/2011 17:39:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Shell32
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01497496
Message ID:
01497496
Vues:
163
I have been using ShellExecute without difficulty in my development environment (using Windows Vista) which I declare in a function like this:


DECLARE INTEGER ShellExecute IN shell32.dll INTEGER handle, STRING @ oper, ;
STRING @ ifile, STRING @ iparam, STRING @ ipath, INTEGER showcmd


The in the form I invoke the ShellExecute with variables like so:

=ShellExecute(0,"open",lcFile,"",lcPath,1)

I prepopulate the variables lcFile and lcPath appropriately. This works fine in my development machine. But when I installed the program on my portable computer using Windows 7 nothing happens. No error, no message. Nothing. Why doesn't this work? What am I missing?

I checked the portable computer in the Windows subdirectory and found Shell32.dll as I expected. I am stumped. I'd appreciate help.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform