<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Implimenting whats this help in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/implimenting-whats-this-help/m-p/1548659#M37093</link>
    <description>Hi,&lt;BR /&gt;
 Can any one explain me how to impliment whats this help, ie when user clicks on' ?' button in user form and clicks on a contol say  list box  a small dialogbox provides info abot this listbox.Plese help me .&lt;BR /&gt;
&lt;BR /&gt;
I have a compiled chm help file and i am able to call it by pressing F1 or by clicking commandbutton named as help.&lt;BR /&gt;
But this opens help file not the contol associated help, in the for of a dialog box.</description>
    <pubDate>Sat, 04 Feb 2006 07:11:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-02-04T07:11:36Z</dc:date>
    <item>
      <title>Implimenting whats this help</title>
      <link>https://forums.autodesk.com/t5/vba-forum/implimenting-whats-this-help/m-p/1548659#M37093</link>
      <description>Hi,&lt;BR /&gt;
 Can any one explain me how to impliment whats this help, ie when user clicks on' ?' button in user form and clicks on a contol say  list box  a small dialogbox provides info abot this listbox.Plese help me .&lt;BR /&gt;
&lt;BR /&gt;
I have a compiled chm help file and i am able to call it by pressing F1 or by clicking commandbutton named as help.&lt;BR /&gt;
But this opens help file not the contol associated help, in the for of a dialog box.</description>
      <pubDate>Sat, 04 Feb 2006 07:11:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/implimenting-whats-this-help/m-p/1548659#M37093</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-04T07:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Implimenting whats this help</title>
      <link>https://forums.autodesk.com/t5/vba-forum/implimenting-whats-this-help/m-p/1548660#M37094</link>
      <description>Benny ,&lt;BR /&gt;
&lt;BR /&gt;
You must do two things first, define the help file for the project which it sounds like you already did and have context ID's in your help file.&lt;BR /&gt;
&lt;BR /&gt;
1) HelpFile Property Example&lt;BR /&gt;
The following example uses the HelpFile property to assign a Help file to a project; the example verifies that the assignment was successful by printing the full path of the Help file.&lt;BR /&gt;
&lt;BR /&gt;
Application.VBE.VBProjects(1).HelpFile = "C:\HelpStuff\veenob3.hlp"&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
2) The help file must have ContextID, see topic below.  Then you just assingn the value  ContextID to the ContextID property of the control. see below                     &lt;BR /&gt;
&lt;BR /&gt;
The HelpContextID property associates a specific topic in a custom Microsoft Windows Help file with a specific control.&lt;BR /&gt;
&lt;BR /&gt;
Syntax&lt;BR /&gt;
&lt;BR /&gt;
object.HelpContextID [= Long]&lt;BR /&gt;
The HelpContextID property syntax has these parts:&lt;BR /&gt;
Part Description &lt;BR /&gt;
object Required. A valid object. &lt;BR /&gt;
Long Optional. A positive integer specifies the context ID of a topic in the Help file associated with the object. Zero indicates no Help topic is associated with the object (default). Must be a valid context ID in the specified Help file. &lt;BR /&gt;
The topic identified by the HelpContextID property is available to users when a form is running. To display the topic, the user must either select the control or set focus to the control, and then press F1.&lt;BR /&gt;
The HelpContextID property refers to a topic in a custom Help file you have created to describe your form or application. In Visual Basic, the custom Help file is a property of the project.&lt;BR /&gt;
&lt;BR /&gt;
Fred Castillo</description>
      <pubDate>Sat, 04 Feb 2006 14:11:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/implimenting-whats-this-help/m-p/1548660#M37094</guid>
      <dc:creator>fxcastil</dc:creator>
      <dc:date>2006-02-04T14:11:26Z</dc:date>
    </item>
  </channel>
</rss>

