473,852 Members | 1,788 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 programmaticall y in order to get context-sensitive help?

Any help much appreciated!

Thanks,
-Tom

Nov 13 '05 #1
5 2619
Br
TD <to*******@gmai l.com> wrote:
<>
Do I have to fill in HelpFile for
every form programmaticall y 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.

Programmaticall y? 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*******@gmai l.com> wrote in message
news:11******** **************@ g49g2000cwa.goo glegroups.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 programmaticall y 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 "programaticall y" 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*******@gmai l.com> wrote:
<>
Do I have to fill in HelpFile for
every form programmaticall y 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.

Programmaticall y? 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*******@gmai l.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 "programaticall y" 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
10302
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 to webapps/myApp. To access this I have to use a url like http://mydomain.com/myApp?someparam=1 What I want to do is use this: http://mydomain.com?someparam=1
2
2372
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 the XPath specification and am somewhat familiar with the different addressing mechanisms. What confuses me is the context when using templates and various (nested) <xsl:for-each>, <xsl:if> and <xsl:when> expressions. For example, say I have a...
0
339
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 Synhronised(lock,func): lock.acquire() try: func()
9
2997
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: protected static void execute(Connection con, (...)) Where we passed a Connection object for dynamic SQL (which we got using the getConnection() method of the DefaultContext). Static SQL was always executed on the DefaultContext.
5
3693
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 a context switch? What is the kernel object used for blocking EndRead calls? Event and mutex cause a context switch even when the object is signaled and no wait is needed, usage of critical section prevent this switch from happening... what is the...
5
5496
by: Dean L. Howen | last post by:
Dear friends, Could we determine when context menu should appear?
8
10106
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 a text box has 6 items, undo, cut, copy, paste, delete and select all. I would like to add one additional paste menu that opens a new sub menu with several optional text items that could be pasted. The items would be populated by my program but...
2
1715
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
6345
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 etc'). is there a way making this without writing my own context menu (meaning, popup form or something) ? Please don't post commercial products to this topic thanks.
4
4695
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 connection to database may remain open for all application run time. For such a long time, some routers close connection. This causes Connection is broken error in application. How to fix this ?
0
9898
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9748
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11020
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10356
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9506
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5736
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4143
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.