Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Positioning window
Message
From
11/01/2017 09:42:59
 
 
To
10/01/2017 22:17:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01646490
Message ID:
01646515
Views:
65
your scripting code dont run at all ! even for "c:\" folder or .( or program files) even with administrator privelege
you use a slash char as web notation (its "\" and not "/")...note it can be accepted with explorer

instead you can use shellexecute API. for opening a file.
&&shellexecute
DECLARE INTEGER ShellExecute IN SHELL32.DLL INTEGER nWinHandle,;
                                            STRING cOperation,;
                                            STRING cFileName,;
                                            STRING cParameters,;
                                            STRING cDirectory,;
                                            INTEGER nShowWindow

result = ShellExecute(0, "open", "full path to your PCL file","","",1)
can use getDir for browsing a folder and returning its name.

i suppose you want to execute the explorer.exe and position it on the desktop ?
1.running explorer is simple with vfp:
run/N explorer
2. positionning the explore window (or any window) on desktop :i can give you a code for that...please confirm me first is that what you want ?.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform