>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