Click to See Complete Forum and Search --> : Authoring Web using HTML Help Workshop


Yamini
August 16th, 2001, 04:49 PM
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

John G Duffy
August 16th, 2001, 05:06 PM
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

Yamini
August 16th, 2001, 05:34 PM
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

John G Duffy
August 16th, 2001, 07:58 PM
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/teachingtool/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

Yamini
August 17th, 2001, 10:12 AM
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

John G Duffy
August 17th, 2001, 02:29 PM
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