INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS
Come Join Us!
Are you a
Computer / IT professional?
Join Tek-Tips now!
- Talk With Other Members
- Be Notified Of Responses
To Your Posts
- Keyword Search
- One-Click Access To Your
- Automated Signatures
On Your Posts
- Best Of All, It's Free!
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.
Partner With Us!
"Best Of Breed" Forums Add Stickiness To Your Site
(Download This Button Today!)
"...I just want to say how much I value your site. I hope the good work keeps up there. It's really helped me..."
Where in the world do Tek-Tips members come from?
Tips 'n Tricks
How can I create a header file for HTML Help?
Posted: 17 Jun 02 (Edited 17 Jun 02)
The following code is written in VFP, but it should translate easily enough to other languages.
It creates the file master.h which can be used as a template from which you can copy as many lines as necessary to build the include file.
Change the word "TOPIC" to suit.
SET TEXTMERGE ON TO ;
FOR i = 1 TO 9999
CASE i = 1
\\#Define TOPIC000<<i>> <<i>>
CASE i < 10
\#Define TOPIC000<<i>> <<i>>
CASE i < 100
\#Define TOPIC00<<i>> <<i>>
CASE i < 1000
\#Define TOPIC0<<i>> <<i>>
CASE i <= 9999
\#Define TOPIC<<i>> <<i>>
SET TEXTMERGE TO
Back to Microsoft: WinHelp and HTML Help authoring systems FAQ Index
Back to Microsoft: WinHelp and HTML Help authoring systems Forum
Join Tek-Tips® Today!
Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.
Here's Why Members Love Tek-Tips Forums:
- Talk To Other Members
- Notification Of Responses To Questions
- Favorite Forums One Click Access
- Keyword Search Of All Posts, And More...
Register now while it's still free!
Already a member? Close this window and log in.
Join Us Close