|
-
June 8th, 2009, 02:12 AM
#1
regarding running .chm file in vc++
i have designed a help file in .chm format and i wish to attach to this to one of the menu options......can someone please tell me how can i run this file through one of the menu buttons.....is it something like execute or ..........please help as soon as possible...
-
June 8th, 2009, 02:26 AM
#2
Re: regarding running .chm file in vc++
You can try ShellExecute.
-
June 8th, 2009, 02:37 AM
#3
Re: regarding running .chm file in vc++
can u please tell how to use it going through msdn and other sites for syntax was of not much to help.........the thing is i wish to open a file file1.hlp which is saved in the same directory where all other files of the project are saved.............thnx
-
June 8th, 2009, 03:10 AM
#4
Re: regarding running .chm file in vc++
Code:
ShellExecute (NULL, "open", "c:\\somedir\\somehelpfile.hlp", "", "", SW_SHOW);
-
June 8th, 2009, 03:18 AM
#5
Re: regarding running .chm file in vc++
isn't this will become computer dependent??
-
June 8th, 2009, 03:21 AM
#6
Re: regarding running .chm file in vc++
 Originally Posted by pinnachio
isn't this will become computer dependent??
Dependent on what ?
-
June 8th, 2009, 03:22 AM
#7
Re: regarding running .chm file in vc++
also this code is not working.......i attached this code with the menu click event but thier seems to be no response!!
-
June 8th, 2009, 03:47 AM
#8
Re: regarding running .chm file in vc++
by dependent i wish to say that if the same project is copied on some other computer the path of the file would be different...............if not please explain??
-
June 8th, 2009, 04:18 AM
#9
Re: regarding running .chm file in vc++
-
June 8th, 2009, 05:55 AM
#10
Re: regarding running .chm file in vc++
Since your trying to use .chm files from within your program, the correct way to do this is by using HtmlHelp.
See this thread (especially starting with post 6) for more information.
Hope that helps.
Be sure to rate those who help!
-------------------------------------------------------------
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|