Jack
Thu Jun 14 20:46:19 CDT 2007
Nope.
The line:
rtn = ShellExecute(Me.hwnd, "open", App.Path & "\options_help.htm#HARDWARE",
0, 0, vbNormalFocus)
does not invoke IE at all.
I have tried also:
rtn = ShellExecute(Me.hwnd, "open", App.Path & "\options_help.htm",
"#HARDWARE", 0, vbNormalFocus)
and that line invokes IE but not at the bookmark.
The interesting part is that it was working properly before (a year ago)
Jack
"Larry Serflaten" <serflaten@usinternet.com> wrote in message
news:OuR5tMurHHA.3276@TK2MSFTNGP04.phx.gbl...
>
> "Jack" <replyto@it> wrote
>
>> I have this problem.
>> When starting new IE page programmatically, the IE page opens the proper
>> page but it ignores bookmark, however when I insert the same address
>> directly into IE, the webpage opens properly at bookmark.
>> Why is that difference?
>>
>> rtn = ShellExecute(Me.hwnd, "Open", "IExplore.exe", App.Path &
>> "\options_help.htm#HARDWARE", App.Path, vbNormalFocus)
>
> My first suggestion would be that you are calling explorer and attempting
> to
> pass it a parameter, when what you may really want to do is just open the
> page using the default browser:
>
>
http://support.microsoft.com/kb/224816
>
> Something like:
>
> rtn = ShellExecute(Me.hWnd, "open", App.Path &
> "\options_help.htm#HARDWARE", 0, 0, vbNormalFocus)
>
> See if that works for you....
> LFS
>
>