Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open Directory in Prominent Window
Message
 
 
To
12/11/2009 20:42:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01434507
Message ID:
01434515
Views:
45
>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

It is the same code.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform