|
-
August 16th, 2001, 04:49 PM
#1
Authoring Web using HTML Help Workshop
How can I make a '.chm' file, i.e., the compiled help workshop project, web enabled?
How can I make the users access the compiled help file in the web browser, mostly Internet Explorer?
I know that it is possible by embedding HTML Help Activex control, but dont know how to do.
A step by step procedure will help a lot.
Thank you verymuch for your help in advance.
Yamini
-
August 16th, 2001, 05:06 PM
#2
Re: Authoring Web using HTML Help Workshop
You need the HTML Help compiler which is downloadable from Microsoft.com
Go here -> http://search.microsoft.com/us/SearchMS25.asp
and search on "HtmlHelp.exe". IT should be the first hit in the search.
John G
-
August 16th, 2001, 05:34 PM
#3
Re: Authoring Web using HTML Help Workshop
Thank you for your prompt response.
I have downloaded the Help workshop and created thh project with contents and Index and some other facilities.
Now, I need to know how to make the users view that help file ('.CHM'-after compiling) in web browser (IE) without having them to view in the Help viewer.
I have checked the Microsoft help and also the help file that comes with the download.
I could not find any detailed procedure there, thats the reason I have posted that question here.
It would be appreciated if some kind of step by step procedure is provided.
Thank you.
Yamini
-
August 16th, 2001, 07:58 PM
#4
Re: Authoring Web using HTML Help Workshop
Here is a quick and dirty sample of how to use IE to display your help file. There also is a Web Site that has a pretty good tutorial on the subject.
http://hotwired.lycos.com/webmonkey/...ool/index.html
'
' Add a command button to a form and copy this code into
' the forms general declaration section.
'
'
option Explicit
private Const SW_SHOW as Integer = 5
private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (byval hwnd as Long, byval lpOperation as string, byval lpFile as string, byval lpParameters as string, byval lpDirectory as string, byval nShowCmd as Long) as Long
'
'
private Sub Command1_Click()
Dim lrc as Long
Dim sFilename as string
' change following to point to your .CHM file
sFilename = "C:\VB Stuff\HtmlHelp Tutorial\HTML Sample\MyHtml Help.chm"
lrc = ShellExecute(me.hwnd, "open", sFilename, vbNullString, CurDir$, SW_SHOW)
End Sub
John G
-
August 17th, 2001, 10:12 AM
#5
Re: Authoring Web using HTML Help Workshop
Thank you for your response.
But, This example code shows me how to instantiate the help viewer with the '.chm' opened in it.
But, what I need is, how to open this help file in an Internet Explorer, without having the Help viewer to get opened to view this help file.
This has some thing to do with HTML Help Activex Control that comes along the down load.
But, need to know how to use this Activex control for my purpose.
Thank you,
Yamini
-
August 17th, 2001, 02:29 PM
#6
Re: Authoring Web using HTML Help Workshop
What you are seeing when you run my sample program is the Help facility for Internet Explorer. It has nothing to do with the Help Workshop. Help Workshop uses Internet Explorers Help facility.
'
'
Start I.E. and click its Help button then select Contents and Index. What is displayed is the I.E. Help faciity which is the same thig my sample produces.
John G
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
|