Re: shell_exec: how activate html in same directory as calling
----- Original Message -----
From: "Dan B Moyer"
Sent: Friday, September 01, 2000 2:53 AM
> Does anyone know how I can use the "shellExecute" command to activate an
> html file *in the same directory* as the program asserting the command?
>
> I got this from EuDesigner, to use as a prototype example:
> shellExecute("", "file:///" & EuDir & "\\HTML\\Refman.htm", 1)
Try:
shellExecute( "open", "myfile.htm", SW_SHOWNORMAL )
As long as your program doesn't change the directory so that it's different
from where it was launched, it should work fine. Also keep in mind that
this won't work by itself, your program must have a main window launched
through "WinMain".
for proposed documentation see:
&H=0&O=D&T=1
-- Brian
|
Not Categorized, Please Help
|
|