Opening HTML file in browser where HTML is in same directory as executable
Posted on 2000-04-02
I created a bunch of HTML help files, and now I would like to have a browser window open when I click on the Help button. I tried ShellExecute, and it works when I give it a URL like "C:\blah\index.htm", but I want it to open index.htm that resides in the same directory as the executable that is running. I tried just "index.htm" and ".\\index.htm" in the ShellExecute command, but to no avail. Can someone help me out?