I was having similar problem. When I select any page from Index menu it was giving me the message "The window name "main" passed to HH_GET_WIN_TYPE has not been specified.". After I clicked OK, it was opening the page in second window.
I tried several suggestions on the net and none of them worked. I fixed the problem by editing the Table of Content (TOC) file. This fixed my both the problems.
I replaced the following tab
<param name="WindowName" value="Main">
to
<param name="FrameName" value="_self">
ia wrote:
HTML Help Workshop errors
19-Feb-07
I'm trying to compile a help project as a chm file using HTML Hel
Workshop under XP Pro. The Workshop reports Error HHC6000, then Erro
HHC5007. I then get an error dialog : "The window name "main" passe
to HH_GET_WIN_TYPE has not been specified.
A chm file is produced but without the Contents
I see from MS KB31151 that spaces in the folder name may be a problem
so I tried to compile everything within a Temp folder, but withou
success
I then tried the compilation on another computer, also under XP Pro
and it worked without error and produced the chm file complete wit
Contents
Both computers have XP fully updated. I also tried removing and re
installing the download from MS downloads on the failing computer
Both hhc.exe and hha.dll are version 4.74.8702
I don't want to go to the extreme of reinstalling Windows (mentione
in a posting as a possible solution)
Can anyone please suggest how to fix the compiler ?
Previous Posts In This Thread:
On Monday, February 19, 2007 11:23 AM
ia wrote:
HTML Help Workshop errors
I'm trying to compile a help project as a chm file using HTML Hel
Workshop under XP Pro. The Workshop reports Error HHC6000, then Erro
HHC5007. I then get an error dialog : "The window name "main" passe
to HH_GET_WIN_TYPE has not been specified.
A chm file is produced but without the Contents
I see from MS KB31151 that spaces in the folder name may be a problem
so I tried to compile everything within a Temp folder, but withou
success
I then tried the compilation on another computer, also under XP Pro
and it worked without error and produced the chm file complete wit
Contents
Both computers have XP fully updated. I also tried removing and re
installing the download from MS downloads on the failing computer
Both hhc.exe and hha.dll are version 4.74.8702
I don't want to go to the extreme of reinstalling Windows (mentione
in a posting as a possible solution)
Can anyone please suggest how to fix the compiler ?
On Monday, February 19, 2007 2:31 PM
Ulrich Kulle wrote:
Hello ian,is option "Automatically create contents file (*.
Hello ian
is option "Automatically create contents file (*.hhc) when compiling"checked
at the project options "Files" tab
One cause maybe to have HTML files without <H1>, <H2>, ..items
http://tinyurl.com/2uwcw
or open your *.hhp file with your text editor e.g Notepad and search for the
following section
[WINDOWS
main="Online
Help","CHM-example.hhc","CHM-example.hhk","index.htm","index.htm",,,,,0x23420,275,0x1046,[317,243,947,683],0xB0000,,,,,,
Is there a definition like this for the "main" window
--
HT
Best regard
Ulrich Kull
**********************************
http://www.help-info.d
**********************************
<***@bluechipbridge.co.uk> schrieb im Newsbeitrag news:***@v33g2000cwv.googlegroups.com...
On Tuesday, February 20, 2007 1:44 PM
ia wrote:
Ulrich,I've tried compiling the sample HelpScribble file. Same errors.
Ulrich
I've tried compiling the sample HelpScribble file. Same errors. The
confirm that it compiles OK for them
The sample file doesn't have a [Windows] block or any formatting i
the headers
Ian
On Tuesday, February 20, 2007 2:09 PM
Ulrich Kulle wrote:
Hello Ian,another cause quoted again from the Google Groups thread I posted
Hello Ian
another cause quoted again from the Google Groups thread I posted (Pete's
note
"You'll get these two error messages when the contents fil
is empty, so manually adding a single entry may make them
disappear."
Did you examine that?
--
Best regards
Ulrich Kulle
***********************************
http://www.help-info.de
***********************************
<***@bluechipbridge.co.uk> schrieb im Newsbeitrag news:***@t69g2000cwt.googlegroups.com...
On Tuesday, February 20, 2007 2:17 PM
Ulrich Kulle wrote:
Hello Ian,compiling my sample project same errors?
Hello Ian,
compiling my sample project same errors?
http://www.help-info.de/download/CHM-example_project.zip
--
Best regards
Ulrich Kulle
***********************************
http://www.help-info.de
***********************************
<***@bluechipbridge.co.uk> schrieb im Newsbeitrag news:***@t69g2000cwt.googlegroups.com...
On Wednesday, February 21, 2007 4:23 AM
Ian T wrote:
Ulrich,< compiling my sample project same errors?
Ulrich,
< compiling my sample project same errors? >
Yes, HHC6000 at the start, then HHC5007 at the end.
Also many errors : "HHC3004: Warning: Simple_link_example.htm : The
HTML tag "?xml version="1.0" encoding="iso-8859-1"?" is not a valid
HTML tag (it does not begin with an alphanumeric character)."
Then the HH_GET_WIN_TYPE error message (and no Contents) when opening
the chm file.
Ian
On Wednesday, February 21, 2007 9:00 AM
infoREMOVE##THI wrote:
Hello Ian,I don't have the HHC6000 at the start and HHC5007 at the end when
Hello Ian,
I don't have the HHC6000 at the start and HHC5007 at the end when compiling.
But I had a look at the HelpScribble project file you send to me off-line
this group.
What I did and saw:
- really *bad* test.hhp file with AUTO TOC on
- none of the HTML files is assigned in the project
- I opened test.hhc and tried to compile - same errors HHC6000, HHC5007 (as
expected and the really first required step for debugging)
- inserted a <h1>Welcome</h1> to HTML file "hs10_edited.htm"
- inserted a <h2>More Information</h2> to HTML file "hs10_edited.htm"
- added "hs10_edited.htm" to project by HTMLHelp Workshop. Second icon on
the project tab "Add/Remove topic files"
- compiled without errors!
To see a table of Contents you have to assign the auto generated toc.hhc to
your test.hhp project.
Project tab > Change project options > Files tab > Browse for Contents file
and pick toc.hhc
Compile again and open your CHM file.
What I did more:
- opened Sample.hhc and tried to compile - same errors HHC6000, HHC5007 - HH
Workshop crashed
- added "hs10_edited.htm" to project by HTMLHelp Workshop (note: see above
with inserted <h1>,<h2> tags)
- Setting "Automatically create contents file (hhc) when compiling" check box
- Compiled without errors
As I already mentioned in my first posting "One cause maybe to have HTML
files without <H1>, <H2>, ..items." when using auto generated TOC.
So you have to insert <h1>, <h2> tags for that!
I recommend using Auto TOC only as a start-up and switch to hand-made TOC
later by editing the hhc file in Workshop or another Help Authoring Tool like
FAR (http://www.helpware.net/FAR).
I recommend a window definition "main" (third icon on the project tab).
Back to you (ZIP comes off-line this group)!
--
HTH
Best regards
Ulrich Kulle
**************************
http://www.help-info.de
**************************
"Ian T" wrote:
On Wednesday, February 21, 2007 10:08 AM
Ian T wrote:
Ulrich,Many thanks.
Ulrich,
Many thanks.
I have directed the folks at HelpScribble to your posting and asked them
to investigate.
Ian
On Wednesday, February 21, 2007 11:37 PM
Rob Cavicchio [MVP] wrote:
Re: HTML Help Workshop errors
"Ian T" <***@bluechipbridge.co.uk> wrote in message news:***@v45g2000cwv.googlegroups.com...
This one can be safely ignored. The compiler does not recognize the XML
declaration at the beginning of a document, but it does not do any harm.
********************
Rob Cavicchio
Microsoft Help MVP
mailto:***@mvps.org
On Thursday, February 22, 2007 4:11 AM
infoREMOVE##THI wrote:
Hello Ian,please send results to this newsgroup.
Hello Ian,
please send results to this newsgroup.
Is there a own result with the corrected project I sent back to you?
I could compile it error free!
It's not completely clear to me whether you would like to use HelpScribble
or the HTMLHelp Workshop for compiling?
--
HTH
Best regards
Ulrich Kulle
**************************
http://www.help-info.de
**************************
"Ian T" wrote:
On Thursday, February 22, 2007 3:30 PM
Ian T wrote:
Ulrich,<It's not completely clear to me whether you would like to
Ulrich,
<It's not completely clear to me whether you would like to use
HelpScribble or the HTMLHelp Workshop for compiling? >
HelpScribble only prepares the source file. It calls HTMLHelp
Workshop to do the actual compilation.
Still waiting to hear from the HelpScribble people.
Ian
On Tuesday, February 27, 2007 12:40 PM
Ian T wrote:
Ulrich,I think that I may have found the bug in the HTML compiler.
Ulrich,
I think that I may have found the bug in the HTML compiler. The
latest version of the itircl.dll file (523790.2453) needs to be
registered with regsvr32.
If that's so, and perhaps I'm being naive, but I thought that the idea
of Windows Update is to make sure that my computer is running the
latest version of every component in the operating system <g>.
Ian
Submitted via EggHeadCafe - Software Developer Portal of Choice
SharePoint - Managing Unused or Archive sites automatically
http://www.eggheadcafe.com/tutorials/aspnet/96bf1f1c-ab6f-43f1-9a5b-a2a8deb60cad/sharepoint--managing-unu.aspx