Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to clear HTML HELP's initial state?

209 views
Skip to first unread message

fiveight

unread,
May 29, 2008, 10:10:26 PM5/29/08
to
Hi All:
HTML HELP can record it state, when I open it again, it will restor its old
state, ie. sidebar width. How can I clear this state? Does HTML HELP use
cookies?

Thanks

Fiveight


Ulrich Kulle [MVP]

unread,
May 30, 2008, 4:18:00 AM5/30/08
to
Hello fiveight,

the hh.dat file stores user-specific information on all the HTMLHelp files
(*.CHM) on your system (position, favourite topics, search history, etc.),
and can cause a error if it has somehow been corrupted.
Delete or rename the file hh.dat to reset all (!) CHM windows on your system
to their default settings.
You should find hh.dat in this directory: \Documents and
Settings\%username%\Application Data\Microsoft\HTML Help
Windows will create a new version of hh.dat when you next open any .chm file.

Note there are many compiler options for the help author when compiling a
CHM window layout.

--
HTH
Ulrich Kulle
Microsoft MVP - Help
**********************
http://www.help-info.de
**********************

Pete Lees

unread,
May 30, 2008, 5:56:00 AM5/30/08
to
Hi, fiveight,

> HTML HELP can record it state, when I open it again, it will restor its old
> state, ie. sidebar width. How can I clear this state? Does HTML HELP use
> cookies?

If you want to ensure that the help window always opens with a particular
size and position, regardless of any changes that the end-user makes to the
size and position, then you need to do two things:

1) Deselect the option to save the user-defined window position after first
use. If you are using HTML Help Workshop, this option is on the Position tab
of the Windows Types dialog box. You access this dialog box by clicking the
Add/Modify Window Definitions button on the Project tab.

2) Explicitly set the dimensions of the help window, instead of just using
the default settings. Again, you would use the Position tab of the Windows
Types dialog box to do this.

If you want to ensure that the help window opens with the size and position
that the end-user has defined, you just need to select the option "Save
user-defined window position after first use".

Pete

fiveight

unread,
May 30, 2008, 10:59:22 PM5/30/08
to
Thanks a lot!

Fiveight

"fiveight" <five...@tom.com> 写入消息新闻:%23VQTNpf...@TK2MSFTNGP03.phx.gbl...

0 new messages