ClaudioD

In my programs (using Windows XP) I open web pages calling iexplore.exe followed by url as parameter, e.g.: "C:\Program Files\Internet Explorer\iexplore.exe" C:\help.htm#paragr11
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.


Re: Internet Explorer Web Development Bookmark ignored calling iexplore.exe 7

oudie

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.





Re: Internet Explorer Web Development Bookmark ignored calling iexplore.exe 7

Mangal Singh - MSFT

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






Re: Internet Explorer Web Development Bookmark ignored calling iexplore.exe 7

Mangal Singh - MSFT

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






Re: Internet Explorer Web Development Bookmark ignored calling iexplore.exe 7

oudie

Thanks.



Re: Internet Explorer Web Development Bookmark ignored calling iexplore.exe 7

GCot

We have also had the problem with file://c:/somedir/helpfile.htm#101 working in IE 6 and FF but not IE7 this has rendered hundereds of help pages for our product unreachable by users upgrading to IE7.
We support cross platform systems, so have to execute the users preferred browser ( an option set by the user) and then acommnd line call to the os such as;

"location of user's browser" "file://location and bookmark"

protocol. A standard html bookmark is nothing unusual in a URL so we were supprised that support for this facility has been dropped between IE6 and 7.

Thanks for the postings confirming this is an IE issue, any updates on a resolution date






Re: Internet Explorer Web Development Bookmark ignored calling iexplore.exe 7

GCot

Is there an official bug number for this problem that we can quote in our release notes




Re: Internet Explorer Web Development Bookmark ignored calling iexplore.exe 7

oudie

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.





Re: Internet Explorer Web Development Bookmark ignored calling iexplore.exe 7

GCot

I agree with Oudie for a windows/IE solution.
The reason OLE is not suitable in all cases is the provision of a cross browser and cross platform solution. Command line calling used to work in IE 6 (and other browsers) but support has been lost in IE 7.
We would prefer to support our customers with whichever combination of platform/browser they choose and not have to limit them to a Windows/IE7 combination or to have to provide special code for Widows/IE7 users.




Re: Internet Explorer Web Development Bookmark ignored calling iexplore.exe 7

reid@xdata

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.




Re: Internet Explorer Web Development Bookmark ignored calling iexplore.exe 7

GCot

We have had no reply from Microsoft. If the MS employee gives up, I don't know where you stand !
What is the escalation route from these forums If we had a fault number at least we could check progress.

We have had to result to a little exe which launches the appropriate browser and if using IE 7 generates an page object which can be displayed - this seems to work OK, but its a pain having to ship an additional exe just so customer can continue to use the functionality which used to work in IE6 and has been broken in IE7




Re: Internet Explorer Web Development Bookmark ignored calling iexplore.exe 7

reid@xdata

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





Re: Internet Explorer Web Development Bookmark ignored calling iexplore.exe 7

GCot

Our main C code calls a small compiled VB exe which takes the line similar to that which you specified and runs it through ;

Private Sub LaunchIE7(sURL As String)
Dim objIE As Object
On Error Resume Next

'Remove the quotes
sURL = Replace(sURL, Chr$(34), "")
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Navigate sURL, Nothing, "Window Title"

If Err.Number <> 0 Then
MsgBox "Unable to launch Internet Explorer.", vbExclamation + vbOKOnly, "Error"
objIE.Quit
End If
Set objIE = Nothing
End Sub


where sURL is the command line argument supplied to the VB exe

This then fires of IE 7 and positions it at the bookmark you required.

Hope this helps until MS get their finger out and sort it properly.




Re: Internet Explorer Web Development Bookmark ignored calling iexplore.exe 7

grmi64

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





Re: Internet Explorer Web Development Bookmark ignored calling iexplore.exe 7

GCot

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



Greg, given that Mangal's last activity on MSDN is noted as 22 Mar 2007 on his profile doesn't look thike Microsoft are doing much about this. Suggest the bug reference number might be "MICROSOFT" and solution might be "FIREFOX" :-)

There still doesn't appear to be any way to escalate these problems, and get a definative response from MS. The fact that this thread has been marked as "ANSWERED" might mean there will never be any further response. Can threads be re-opened