stella8h8chang
Member
- Joined
- Sep 14, 2004
- Messages
- 492
- Gender
- Female
- HSC
- 2006
Hiya, guys...OK last time I beg for help with my project...
Basically I've written HTML-style help and put it on my website, and I've put this code into a button on my form:
Private Sub cmdHelp_Click()
Shell "C:/Program Files/Internet Explorer/IEXPLORE.EXE http://inspiro.fh-net.com/help/index_help.html", vbNormalNoFocus
End Sub
This works mighty fine, and I threw in a hard copy of the manual for people not connected to the net. Except for the fact that my teacher's like, "why don't you put html help for the people who don't have an internet connection?"...and here we have a problem. Several, in fact.
1. I've been using this installation program to throw all the bits and pieces together into Program Files and add on start menu shortcuts and whatnot. Mind you, I'm not smart enough to work Inno Setup from scratch, so I've been using a wizard to help me out. Only problem is, the program installs happily, and runs once, but if you get into it a second time it starts to whinge about files not being found, despite them being in the respective folders.
2. OK, so we know the directory into which people install the program may change, but how should I allow for this in the VB code when I try to launch help files? So far, I can load it from a directory like C:\Program Files\LCT\help\index.html if I specify it, but keeping in mind that a user can change this, what can I do?
And I'll email anyone the project files if they want them.
Thankyou in advance Hopefully this will be the last time I shall be forced to entreat you who are so knowledgeable in the IT field.
Basically I've written HTML-style help and put it on my website, and I've put this code into a button on my form:
Private Sub cmdHelp_Click()
Shell "C:/Program Files/Internet Explorer/IEXPLORE.EXE http://inspiro.fh-net.com/help/index_help.html", vbNormalNoFocus
End Sub
This works mighty fine, and I threw in a hard copy of the manual for people not connected to the net. Except for the fact that my teacher's like, "why don't you put html help for the people who don't have an internet connection?"...and here we have a problem. Several, in fact.
1. I've been using this installation program to throw all the bits and pieces together into Program Files and add on start menu shortcuts and whatnot. Mind you, I'm not smart enough to work Inno Setup from scratch, so I've been using a wizard to help me out. Only problem is, the program installs happily, and runs once, but if you get into it a second time it starts to whinge about files not being found, despite them being in the respective folders.
2. OK, so we know the directory into which people install the program may change, but how should I allow for this in the VB code when I try to launch help files? So far, I can load it from a directory like C:\Program Files\LCT\help\index.html if I specify it, but keeping in mind that a user can change this, what can I do?
And I'll email anyone the project files if they want them.
Thankyou in advance Hopefully this will be the last time I shall be forced to entreat you who are so knowledgeable in the IT field.