Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling a specific Word in Help

Status
Not open for further replies.

YoshiCD

Programmer
Feb 24, 2001
96
ES
Hi All,

I want to be able to call a specific keyword in my help file by registering the selected text when the user presses the F1 key.

Say the Keyword is 'Register', if this text is selected, How do I send this keyword to my help file upon the press of the F1 key. Pretty much like it does in VB I suppose!

Thanks in advance,

Regards,

yosherhs.gif


"Many of the truths that we cling to depend on our point of view..." - Jedi Master Obi-Wan-Kenobi
 
Have you had a look at the two faq on help in your VB project? I don't know if they cover what you want but they may be worth a look.

faq222-1111
faq222-2088

Thanks and Good Luck!

zemp
 
Zemp,

Found them and looked at them buddy,

Unfortunately they don't cover the calling of a specific word to a compiled .HLP file, thanks anyway tho'!

Any other ideas?

Regards,

yosherhs.gif


"Many of the truths that we cling to depend on our point of view..." - Jedi Master Obi-Wan-Kenobi
 
What help system are you using? HTML help??


Thanks and Good Luck!

zemp
 
Zemp,

No, a HLP compiler called HELP CREATOR by Britt Technologies.

Does it make the difference?

regards,


yosherhs.gif


"Many of the truths that we cling to depend on our point of view..." - Jedi Master Obi-Wan-Kenobi
 
It does to me, I've never used it. Sorry.

Thanks and Good Luck!

zemp
 
Zemp, Thanks Anyway.

Is there a standard code in VB which opens the Help file Index at the keyword you send to it? I could probly work from this if so.

Regards,


yosherhs.gif


"Many of the truths that we cling to depend on our point of view..." - Jedi Master Obi-Wan-Kenobi
 
Not that I am aware of.

Thanks and Good Luck!

zemp
 
Zemp,

If i changed my method of creating help files, do you know a function that could do it?

How does VB6 do it? (if u highlight a keyword and press F1)

Thanx,

Regards,


yosherhs.gif


"Many of the truths that we cling to depend on our point of view..." - Jedi Master Obi-Wan-Kenobi
 
Hi Yoshi,
Not sure if this will help you but if you want to link to a certain html page within you chm file you can use the following style link.

mk:mad:MSITStore:C:\Program%20Files\Microsoft%20Visual%20Studio\MSDN98\98VSa\1033\vbcon98.chm::/Html/vbconprogressbarscenario1.htm

Or a specific component i.e. image

mk:mad:MSITStore:C:\Program%20Files\Microsoft%20Visual%20Studio\MSDN98\98VSa\1033\vbcon98.chm::/Html/avp03023.gif

I guess if you use the first link and add a #nameofbookmark to the end it might do what you are wanting to do.

Greg Palmer

----------------------------------------
Any feed back is appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top