Hello

I'm trying to open a HTML file residing on my HDD. The HTML file I'm
trying to open is basically a help file, and has frames in it. It also
contains a script that reads the querystring passed on to it. For
example: If I type the address in browser > "file:///D:/Help/index.htm?
page=contactus", then it will load the relevant page called
"contactus.htm" in one of its frames.

I've created various points in my application where if the user
presses F1, the HelpRequested event will fire and from there I will
try to open this HTML file with the relevant page in it.

My problem is that every user can have a different browser. So I would
normally use Process.Start command to open the html file so it
naturally opens in the default browser. The Process.Start command
opens the file properly, but totally ignores the querystring I've
passed on to it. It opens like this: "file:///D:/Help/index.htm"  ,
the querystring ("?page=contactus") is totally ignored. However if I
open a "http://www...."; link with querystring, it opens perfectly. It
just seems to have a problem with opening locally-based HTML files
with querystring.

Anyone has any idea to work-around this situation or a better way to
make Process.Start work?


Regards
Faraz Azhar

Reply via email to