Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shellexecute
Message
From
22/06/2006 05:21:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Shellexecute
Miscellaneous
Thread ID:
01130727
Message ID:
01130727
Views:
80
Hi there,
I developed an application in which I call the function
Procedure CallExt
Parameters xfiletoOpen,xlocation

DECLARE INTEGER ShellExecute IN SHELL32.DLL INTEGER nWinHandle,;
                                               STRING cOperation,;
                                               STRING cFileName,;
                                               STRING cParameters,;
                                               STRING cDirectory,;
                                               INTEGER nShowWindow
    result = ShellExecute(0, 'Edit', xFileToOpen , '', xLocation, 1)
This works fine in Win XP but under a PC running with Win2000 it does not open the file as it was not, but it is, associated to any application.

How can I get through this problem ?
Thank you all
Alessio
Next
Reply
Map
View

Click here to load this message in the networking platform