calling a helpfile 
Author Message
 calling a helpfile

hi,
How can i call a helpfile within VB as if i was pressing the F1 button.
With this type of programming i only get the index or content of my
helpfile:

    cdbopen.HelpFile = App.Path + "\DXulator.hlp"
    cdbopen.HelpCommand = &HB
    cdbopen.ShowHelp

thanks!
Hans van den Tillaart



Mon, 25 Jul 2005 08:05:17 GMT  
 calling a helpfile
Here's one way:

Set the App object's HelpFile property and set a form's HelpContextID
property to the number of a topic in the help file. Now when the user
presses F1 the help file will be opened at that topic. If you want a
topic about a specific control set the control's HelpContextID and
this will be used in preference to the HelpContextID of the form.


Quote:
> hi,
> How can i call a helpfile within VB as if i was pressing the F1 button.
> With this type of programming i only get the index or content of my
> helpfile:

>     cdbopen.HelpFile = App.Path + "\DXulator.hlp"
>     cdbopen.HelpCommand = &HB
>     cdbopen.ShowHelp

> thanks!
> Hans van den Tillaart



Wed, 27 Jul 2005 00:43:00 GMT  
 calling a helpfile
I'm sorry David, i was afraid i was not clear enough.
When pushing the F1 button you get the "MAIN opening help screen".
I want THIS emulated without pressing F1 (i want to have a menu entry).
In programming form i only get topics,index etc. wich i don't need.

Hans



Quote:
> Here's one way:

> Set the App object's HelpFile property and set a form's HelpContextID
> property to the number of a topic in the help file. Now when the user
> presses F1 the help file will be opened at that topic. If you want a
> topic about a specific control set the control's HelpContextID and
> this will be used in preference to the HelpContextID of the form.




Quote:
> > hi,
> > How can i call a helpfile within VB as if i was pressing the F1 button.
> > With this type of programming i only get the index or content of my
> > helpfile:

> >     cdbopen.HelpFile = App.Path + "\DXulator.hlp"
> >     cdbopen.HelpCommand = &HB
> >     cdbopen.ShowHelp

> > thanks!
> > Hans van den Tillaart



Wed, 27 Jul 2005 07:04:42 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Calling a helpfile (again)

2. Problems with calling a helpfile

3. App.HelpFile= / CommonDialog.HelpFile=

4. app.helpfile for vb 3.0 with helpfile 4.0

5. Programatically Calling HelpFile w/ ContextID

6. HTML Helpfiles (.chm) and Access

7. helpfile

8. VBA guru needed : pb with helpfile

9. HelpFile Properties of project

10. active-X DLL - Helpfile not found using the compiled dll

11. adding a .chm helpfile to Word

12. Helpfiles from a macro - Part 2

 

 
Powered by phpBB® Forum Software