![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Unable to open local HTML system using shell execute command
##Problem:##
I used to open help files from my application using a shell execute command using a command similar to: >iexplore.exe "file:///D:\securityui\en\index.htm?topic=XXX" ##Expected Behavior:## This used to work on IE6 SP2. I have installed IE7 and this command has stopped working. The same command works on IE6 and Firefox. >firefox.exe "file:///D:\securityui\en\index.htm?topic=XXX" ##Current Behavior:## On firing the above command, I am receiving an error. The Browser tries to add a "http://" to the beginning of the URL, even if the the "file://" protocol is specified. If I use an unterminated string URL (i.e with only an opening double quote, the URL parameters get wiped out...) ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/communities...orer. general |
|
|||
|
Re: Unable to open local HTML system using shell execute command
Hi V,
Tools>Internet Options - Advanced tab - "Allow active content to run in files on My Computer" or alternatively add "the mark of the web" to your local HTML pages. Regards. "Vikrant" <Vikrant@discussions.microsoft.com> wrote in message news:7297E43B-D0BD-4F8C-8A9C-CAB562E6474D@microsoft.com... > ##Problem:## > I used to open help files from my application using a shell execute > command > using a command similar to: >>iexplore.exe "file:///D:\securityui\en\index.htm?topic=XXX" > > ##Expected Behavior:## > This used to work on IE6 SP2. I have installed IE7 and this command has > stopped working. > The same command works on IE6 and Firefox. >>firefox.exe "file:///D:\securityui\en\index.htm?topic=XXX" > > > > ##Current Behavior:## > On firing the above command, I am receiving an error. > > The Browser tries to add a "http://" to the beginning of the URL, even if > the the "file://" protocol is specified. If I use an unterminated string > URL > (i.e with only an opening double quote, the URL parameters get wiped > out...) > > > > > ---------------- > This post is a suggestion for Microsoft, and Microsoft responds to the > suggestions with the most votes. To vote for this suggestion, click the "I > Agree" button in the message pane. If you do not see the button, follow > this > link to open the suggestion in the Microsoft Web-based Newsreader and then > click "I Agree" in the message pane. > > http://www.microsoft.com/communities...orer. general |
|
|||
|
Re: Unable to open local HTML system using shell execute command
Hi Rob,
I had alreday done the "Allow active content to run in > files on My Computer". This did not help. I did try MOTW, but the shell still strips the parameters from the URL. I tried another approach: I modified the JS so that the URL will have a syntax similar to a html page bookmark. iexplore.exe "file:///D:\securityui\en\index.htm#XXX.htm" Now this should be a valid URL but even this is not supported :-( The results remain the same. Thanks, V "rob^_^" wrote: > Hi V, > > Tools>Internet Options - Advanced tab - "Allow active content to run in > files on My Computer" > > or alternatively add "the mark of the web" to your local HTML pages. > > Regards. > > "Vikrant" <Vikrant@discussions.microsoft.com> wrote in message > news:7297E43B-D0BD-4F8C-8A9C-CAB562E6474D@microsoft.com... > > ##Problem:## > > I used to open help files from my application using a shell execute > > command > > using a command similar to: > >>iexplore.exe "file:///D:\securityui\en\index.htm?topic=XXX" > > > > ##Expected Behavior:## > > This used to work on IE6 SP2. I have installed IE7 and this command has > > stopped working. > > The same command works on IE6 and Firefox. > >>firefox.exe "file:///D:\securityui\en\index.htm?topic=XXX" > > > > > > > > ##Current Behavior:## > > On firing the above command, I am receiving an error. > > > > The Browser tries to add a "http://" to the beginning of the URL, even if > > the the "file://" protocol is specified. If I use an unterminated string > > URL > > (i.e with only an opening double quote, the URL parameters get wiped > > out...) > > > > > > > > > > ---------------- > > This post is a suggestion for Microsoft, and Microsoft responds to the > > suggestions with the most votes. To vote for this suggestion, click the "I > > Agree" button in the message pane. If you do not see the button, follow > > this > > link to open the suggestion in the Microsoft Web-based Newsreader and then > > click "I Agree" in the message pane. > > > > http://www.microsoft.com/communities...orer. general > > |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|