DIGIT-ARC read-only archive · snapshot: July 23, 2026

adding help file to vb project

8 posts · originally from https://geek.digit.in/community/threads/adding-help-file-to-vb-project.86691/

ayush_chh
ayush_chh Original post #1
May 1, 2008 at 3:02 AM
hi guys!

i am doing my VB project right now and got this problem. i have successfully compiled a help file ( .chm) and i have also linked that file in HelpFile of project. so i get the helpfile whenever i press F1.

what i want to do is , i have a menu 'Help' and i want to load this help file when i click on this Help menu. i.e click event of this menu.

pls help ......its urgent....:-|


thanks
ruturaj3
May 1, 2008 at 8:16 AM
use shell command.
Amir.php
May 1, 2008 at 6:07 PM
use the help common dialog box
dheeraj_kumar
May 2, 2008 at 7:14 AM
Code:
Shell "winhelp /path/helpfile.hlp", vbnormalfocus

*www.freevbcode.com/ShowCode.asp?ID=2228

Add the code to the menu. Thats the only difference.
ayush_chh
May 2, 2008 at 6:54 PM
can i also use this with .chm files

like shell "winhelp /path/helpfile.chm", vnnormalfocus
dheeraj_kumar
May 2, 2008 at 8:17 PM
Yes, because winhelp supports .hlp and .chm
ayush_chh
May 4, 2008 at 9:54 PM
it gives me an error....... .chm not supported by winhelp......:(

what can be the problem???