Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open Directory in Prominent Window
Message
From
12/11/2009 20:42:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01434507
Message ID:
01434511
Views:
49
I have a somewhat flat learning curve - sorry. I'll catch on eventually.

I have extracted something in my collection of codes that works fine - seems a little shorter that sergey's:

#DEFINE SW_SHOWNORMAL 1
lcUrl = "c:\mydir"
oShell = Createobject("wscript.shell")
oShell.Run(lcUrl)
DECLARE INTEGER ShellExecute IN "Shell32.dll" ;
INTEGER hwnd, STRING lpVerb, STRING lpFile, ;
STRING lpParameters, STRING lpDirectory, LONG nShowCmd
ShellExecute(0, "Open", lcUrl, "", "", SW_SHOWNORMAL)

k
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform