473,322 Members | 1,417 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

AppHelpFile key and context-sensitive help

TD
Hey All,
I am hooking up our custom html (.chm) help file to our Access xp
application, and, despite reading several posts and manuals on this, I
still have a gap in my understanding...

OK, so I've setup the registry keys to have a profile and I specify
an AppHelpFile and TitleBar in that profile. This works swell: when I
startup my application in runtime with the /profile option and then I
press F1 on a form, our help file appears. Voila! Note that I did not
set the HelpFile or HelpContextID properties on this form.

Now, what I want is CONTEXT-SENSITIVE help, so I put in some (valid)
HelpContextIDs for the controls on the form. But, this appears to break
things. Pressing F1 then either (a) does nothing or (b) opens a help
window with nothing in it. The only way I can fix this is to fill in
the HelpFile property for the form with the fully-qualified path to the
help file (it can't be in the same folder as the app, for various
reasons).

Is this the intended behavior? Do I have to fill in HelpFile for
every form programmatically in order to get context-sensitive help?

Any help much appreciated!

Thanks,
-Tom

Nov 13 '05 #1
5 2569
Br
TD <to*******@gmail.com> wrote:
<>
Do I have to fill in HelpFile for
every form programmatically in order to get context-sensitive help?


Yes, I would have thought you'd need to enter the help file on each form
so Access knows where the context ID is coming from, else it assumes the
default Access help.

Programmatically? I assume you mean going into the property sheet for
each form and fillin gin the help file? :)
--
regards,

Bradley

A Christian Response
http://www.pastornet.net.au/response
Nov 13 '05 #2
You don't need to set the registry keys to get custom help in an MDB, even
with the runtime. You do need to declare the help file in each form/report
and control, as well as the helpID's to bookmark to specific topics of that
help file. See the Access Help file, and search for the topic "creating a
custom help file".

As a personal note, I've spent many hours creating good custom help files
(and user manuals) for customers that seldom if ever get looked at.
-Ed

"TD" <to*******@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Hey All,
I am hooking up our custom html (.chm) help file to our Access xp
application, and, despite reading several posts and manuals on this, I
still have a gap in my understanding...

OK, so I've setup the registry keys to have a profile and I specify
an AppHelpFile and TitleBar in that profile. This works swell: when I
startup my application in runtime with the /profile option and then I
press F1 on a form, our help file appears. Voila! Note that I did not
set the HelpFile or HelpContextID properties on this form.

Now, what I want is CONTEXT-SENSITIVE help, so I put in some (valid)
HelpContextIDs for the controls on the form. But, this appears to break
things. Pressing F1 then either (a) does nothing or (b) opens a help
window with nothing in it. The only way I can fix this is to fill in
the HelpFile property for the form with the fully-qualified path to the
help file (it can't be in the same folder as the app, for various
reasons).

Is this the intended behavior? Do I have to fill in HelpFile for
every form programmatically in order to get context-sensitive help?

Any help much appreciated!

Thanks,
-Tom

Nov 13 '05 #3
TD
Hey Bradley,

Thanks for the info... you would think since the application clearly
knows that my help file is the default help file (it comes up when I
press F1 on a form with no contextID's set) that it could assume my
contextIDs refer to that help file... but NOOO. Oh well.

I say "programatically" because we are going to have several
different front ends point to one central help file, so the help file
will not be residing alongside the front end. When the form opens, I
will set the helpFile property.

Thanks,
-Tom

Br@dley wrote:
TD <to*******@gmail.com> wrote:
<>
Do I have to fill in HelpFile for
every form programmatically in order to get context-sensitive help?


Yes, I would have thought you'd need to enter the help file on each form
so Access knows where the context ID is coming from, else it assumes the
default Access help.

Programmatically? I assume you mean going into the property sheet for
each form and fillin gin the help file? :)
--
regards,

Bradley

A Christian Response
http://www.pastornet.net.au/response


Nov 13 '05 #4
TD
Ed,

OK... I'm off to set a bunch of HelpFile properties. Thanks for the
info. Let's hope people DO find this help file useful... whatever the
case, it certainly will make the application appear a bit more
professional.

-Tom

Nov 13 '05 #5
Br
TD <to*******@gmail.com> wrote:
Hey Bradley,

Thanks for the info... you would think since the application clearly
knows that my help file is the default help file (it comes up when I
press F1 on a form with no contextID's set) that it could assume my
contextIDs refer to that help file... but NOOO. Oh well.

I say "programatically" because we are going to have several
different front ends point to one central help file,
so the help file
will not be residing alongside the front end. When the form opens, I
will set the helpFile property.


Ah, that does complicate things. I guess you could store the location of
the Help file in a table, test it actually exists and set the form
property at runtime when the form opens? If it doesn't prompt the user
to select it's location?
--
regards,

Bradley

A Christian Response
http://www.pastornet.net.au/response
Nov 13 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: SPG | last post by:
Hi, I am relatively new to TOMCAT, and am trying to deploy a web app using it. I have a domain name that I want to use to access my web app directly. By default, I deploy my WAR, and it deploys...
2
by: Eliza Zadura | last post by:
The following question is about XPath and context, as I am not sure I'm grasping the concept entirely and this is causing me some problems while working on my XSL transformation. I have checked...
0
by: falcon | last post by:
I know I came after the battle. And I have just another sight on context managment. Simple Context Managment may look in Python 2.4.1 like this: Synhronized example: def...
9
by: Janick | last post by:
With DB2 7.2 we used to call methods from other SQLJ Stored Procedures, as it was not possible to call SPs via the SQL Call-statement from within SPs. So we always had a method like this: ...
5
by: Nadav | last post by:
Hi, I am using FileStream's Async API: BeginRead/EndRead, upon completion callback execution I use the read data and call EndRead, Taking that in mind, I Wonder... does calling EndRead will cause...
5
by: Dean L. Howen | last post by:
Dear friends, Could we determine when context menu should appear?
8
by: Dennis C. Drumm | last post by:
Is there a way to modify the standard context menu shown when someone right clicks in a windows text box and that would work for all open windows applications? The standard context menu for...
2
by: dave | last post by:
This little problem is driving me nuts!! On my webform page I create 2 variables.. Protected p_dml As String = "I" Public Const mwv_id As Integer = 0 ' originally had mwv_id as Protected
1
by: goRide | last post by:
Hi, I'm looking of a way (preferred - a ready class or dll) to customize the context menu. many application has more controls inside the context menu (like textbox, sliders, checkbox, panel...
4
by: Andrus | last post by:
For winforms application with multiple related forms it is reasonable to create Linq database context object in start of application. Context object is released only when application exits. So...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.