This commad works well with Internet Explore 6 and precedent. With Internet Explore 7 the bookmark "#paragr11" is ignored and html page is opened at beginning. Any suggestion Thanks.
Hi,
I encountered the exact same phenomena.
I use HTML pages as help for my programs, and now with IE7 the help facility is really crippled.
By the way, the page won't open at the desired bookmark also when opening with the "start/run" command, when I use the "#bookmarkname".
Any solution Thanks.
When typing in the filename directly in the Start>Run dialog box followed by the #anchor leads the Windows shell to interpret everything following the dot as the extension and it treats the whole thing as a filename. So windows cannot locate a file named "C:\test.htm#anchor". However, when you pass that as a command line argument to iexplore.exe then IE interprets it as a URI.
As far as the IE7 ignoring the anchor issue is concerned, I need to find out if that is by design or an issue.
Mangal
This is a known bug but unfortunately I cannot give you an estimate as to when this will be fixed. You may in the meantime explore further support options at http://www.microsoft.com/windows/products/winfamily/ie/iefaq.mspx
Thanks
Mangal
If you are using a programming tool you may use OLE instead of open with command line parameter,
e.g. Borland Delphi:
procedure htmcontext(helpfn, topic: string);
var IE: Variant;
begin
IE := CreateOleObject('InternetExplorer.Application');
IE.Navigate(format('%s\%s#%s', [getcurrentdir, helpfn, topic]));
IE.Visible := true;
end;
This works perfectly and solved my problem with IE7.
Good luck.
We have the same problem. Is Microsoft addressing this I still can't find a bug fix number anywhere and the Microsoft employee who responded above is no longer listed as a Microsoft contact.
Your exe answer might help us too. What is the executeable command to execute ie7 and open to a specific bookmark from the exe
Our command looked like this, but it doesn''t work: "file:///c:/Program%20Files/xdata%20solutions%20inc/GXD%20Application/WebHelp/GXD.htm#com099.htm
Would you be so kind as to send me an example
Mangal Singh - MSFT wrote:
This is a known bug but unfortunately I cannot give you an estimate as to when this will be fixed. You may in the meantime explore further support options at http://www.microsoft.com/windows/products/winfamily/ie/iefaq.mspx
Thanks
Mangal
Is there a bug reference number for this This is a serious problem for our documentation help calls.
-Greg
grmi64 wrote:
Mangal Singh - MSFT wrote:
This is a known bug but unfortunately I cannot give you an estimate as to when this will be fixed. You may in the meantime explore further support options at http://www.microsoft.com/windows/products/winfamily/ie/iefaq.mspx
Thanks
Mangal
Is there a bug reference number for this This is a serious problem for our documentation help calls.
-Greg