[AccessD] Viewing help file from application

Gustav Brock gustav at cactus.dk
Fri Jul 29 04:36:13 CDT 2022


Hi Stuart

My demo holds code for controlling a helpfile from code (button click), not by pressing F1.
It was needed for my custom message box:

https://github.com/GustavBrock/VBA.ModernBox

which states:

> The functions for calling the HTML Help Viewer control have been moved to a separate module.

/gustav

-----Oprindelig meddelelse-----
Fra: AccessD <accessd-bounces+gustav=cactus.dk at databaseadvisors.com> På vegne af Stuart McLachlan
Sendt: 29. juli 2022 00:42
Til: Access Developers discussion and problem solving <accessd at databaseadvisors.com>
Emne: Re: [AccessD] Viewing help file from application

I'v just posted a very simple demo: 

https://camcopng.com/download/BasicHelpDemo.zip

A basic .chm file and a .accdb with one form containing a few textboxes.
The form has the helpfile name and the context ID of the Intro page.
Two of the textboxes have contect IDs pointed to different help pages.
Two just have the Default ContextID of 0 and  consequently use the ContextID of the form.

--
Stuart

On 29 Jul 2022 at 8:21, Stuart McLachlan wrote:

> I haven't looked at Gustav's demo, but you certainly don't need any 
> code  to implement context sensitive help on Access forms and reports.
>  Just create a .chm file  and enter the Helpfile name and a default 
> context ID for each form that needs it and optionally specific context 
> IDs for selectable controls.
> 
> 
> On 28 Jul 2022 at 12:02, John Colby wrote:
> 
> > Gustav, is your article anywhere other than EE?  I am not a member 
> > and not likely to become one.  I skimmed through it and would 
> > bookmark it but... it is unlikely to be available to me later.  I am 
> > interested in the subject as I am working with a partner on a for 
> > profit application which could really use a context sensitive help 
> > file.
> > 
> > On Thu, Jul 28, 2022 at 11:36 AM Gustav Brock via AccessD < 
> > accessd at databaseadvisors.com> wrote:
> > 
> > > Hi all
> > >
> > > Some years ago, I wrote a small demo with full code.
> > > It is for download at GitHub:
> > >
> > > GustavBrock/VBA.HtmlHelp: VBA module for controlling the Microsoft 
> > > HTML Help Viewer control (github.com)< 
> > > https://github.com/GustavBrock/VBA.HtmlHelp>
> > >
> > > And an article here at EE:
> > >
> > > Control the HTML Help Viewer OCX control | Experts Exchange ( 
> > > experts-exchange.com)< 
> > > https://www.experts-exchange.com/articles/32054/Control-the-HTML-H
> > > el p-Viewer-OCX-control.html?preview=ZHlWNpC4ZaQ%3D
> > > >
> > >
> > > /gustav 


More information about the AccessD mailing list