473,226 Members | 1,664 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,226 software developers and data experts.

Help file for a DLL

I have written a help file (chm) for a DLL and referenced it using Help.ShowHelp

My expectation is that a developer using my DLL would be able to access this help file during his development time using "F1" help within the VB IDE. Is this expectation achievable

In trying to test my help file in the IDE, I have a solution with 2 projects: the DLL and a tester. VB does not look for my help file; instead, it looks for path to my source code within my namespace. I haven't yet compiled my DLL. Do I need to do that first

What's the process to make my help file accessible to the developer within the IDE
Nov 20 '05 #1
5 3217
Hi Steve,

You can access your .chm by making it a part of the ide's tools menu.
Here's how:

Go to tools/external tools; select 'add'; give it a title; in the command
box enter c:\windows\hh.exe; in the arguments box enter the name of your
chm: eg, c1truedbgridnet.chm; set the initial directory (full path without
the \filename)

It will then appear in your tools menu and will be available at the click of
a mouse.

I don't know a better way nor do I know if it's possible to do it in any
other manner, but your readme.txt to the developer can instruct him on
installing it in his ide as I do above.

HTH,

Bernie Yaeger

"Steve" <St****@nospam.nospam> wrote in message
news:C4**********************************@microsof t.com...
I have written a help file (chm) for a DLL and referenced it using Help.ShowHelp.
My expectation is that a developer using my DLL would be able to access this help file during his development time using "F1" help within the VB
IDE. Is this expectation achievable?
In trying to test my help file in the IDE, I have a solution with 2 projects: the DLL and a tester. VB does not look for my help file; instead,
it looks for path to my source code within my namespace. I haven't yet
compiled my DLL. Do I need to do that first?
What's the process to make my help file accessible to the developer within the IDE?

Nov 20 '05 #2
Hi Steve,

Based on my research, I can not find a official method which will help us
to integrate our personal help file into the VS.NET IDE.

Just an idea, I think you may try to write an VS.NET Addin, after you load
the addin, the addin will hook the keyboard, so that we can intercept the
F1 press. In the meantime, we can easily know if the current active project
is the dll project which we want to invoke the customized help file from in
the Addin.

Here is an article about hook keyboard.
Managing Low-Level Keyboard Hooks in VB .NET
http://www.developer.com/net/net/art...1087_2193301_3

Also here is an article about write VS.NET Addin for your reference.
http://msdn.microsoft.com/library/de...us/dv_vstechar
t/html/tchVSAddinEnablingHTMLTidy.asp

NOTE: This is an hack method, you will use it at your own risk.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 20 '05 #3
Hi Steve,

Thank you for your quick response.
Now I am researching the issue, and I will update you with new information
ASAP.

Thank you for your understanding.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 20 '05 #4
Hi Steve,

After I further research, I think you may try to use the Visual Studio .NET
Help Integration Kit to Integrate the help file into Visual Studio
development environment.

We may get the Visual Studio .NET Help Integration Kit at link below.
http://msdn.microsoft.com/library/de...us/htmlhelp/ht
ml/hwmscExtendingNETHelp.asp

You may look into the section below in the Visual Studio .NET Help
Integration Kit 2003 document.
Implementing Dynamic Help

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 20 '05 #5
Hi,

As we state in the EULA of the VSHIK in the installation directory.
SUPPORT SERVICES. No technical support will be provided for the Software.

And the whitepaper did not provide any more comment about the sample
shipped with VSHIK.

Based on my researching, the sample is listed as the below hierarchy.
CityPowerAndLight -------Control
TestCPandL-CS -------CS code using the control
TestCPandL-VB -------VB code using the control
XML -------implement the Dynamical Help XML Data Island
Help2 -------Help project

Here is the workthrough that works.
1. Copy the xml file under the XML directory to the directory.
<VS install path>\Common7\IDE\HTML\XMLLinks\<LCID>.
The value of <LCID> depends upon your language, such as English or French.
For example, the English LCID is 1033.

The XML Help Provider and Dynamic Help
http://msdn.microsoft.com/library/de...us/vsintro7/ht
ml/vxgrfhowdynamichelpworks.asp

2. Compile the Help2 Project under the Help2 directory.

3 Use the Help Integration Wizard Beta to install the compiled help file.

Creating a Help Collection Using the Help Integration Wizard Beta
http://msdn.microsoft.com/library/de...us/dv_vstechar
t/html/integration_wizard.asp

We can download it at the link below.
Help Integration Wizard Beta
http://download.microsoft.com/downlo...c-8810-acd798c
e99d5/HelpIntWizardBeta.EXE

4. Restart the VS.NET IDE and load the TestCPandL-CS or TestCPandL-VB
project, move the mouse onto the LightSwitch in the line below.
private CityPowerAndLight.Controls.LightSwitch lightSwitch1;
We will find the Dynamical Help has changed.

5. Press F1 will invoke the predefined page in the xml file under the XML
directory, and now we have copy it under the directory below.
<VS install path>\Common7\IDE\HTML\XMLLinks\<LCID>

[NOTE: we may need to change the <LItem URL> tag in the xml file because
when we build into the vs.net help collection the path may changed.
But we can input the LightSwitch in the index to get the correct page and
retrieve the url something like
ms-help://MS.VSCC.2003/ms.wizard.namespace/CityPowerHelp2/LightSwitch.htm
And now we can change the <LItem URL> based on the
ms-help://MS.VSCC.2003/ms.wizard.namespace/CityPowerHelp2/ url base.
e.g.
<LItem
URL="ms-help://MS.VSCC.2003/ms.wizard.namespace/CityPowerHelp2/WinProjectsCS
..htm" LinkGroup="Help">Creating a CP&amp;L Windows Project (C#)</LItem>
<LItem
URL="ms-help://MS.VSCC.2003/ms.wizard.namespace/CityPowerHelp2/StartWinProje
cts.htm" LinkGroup="GettingStarted">CP&amp;L Windows Projects</LItem>
Here are some additional resource about Dynamic Help for your reference.

MS Help 2 - Dynamic Help
http://www.helpware.net/mshelp2/demo/DynamicHelp.htm

MS H2 Collection Tutorial
http://www.helpware.net/mshelp2/h2tutorial.htm
Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 20 '05 #6

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

Similar topics

21
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help...
2
by: fabien | last post by:
Hi, I am writing a POV-RAY editor with Python using either QT or GTK as GUI 'wrapper'. ( I am still trying both ) * * * * PYGTK * * * * I have downloaded PygtkScintilla-1.99.5. There is a...
6
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing...
4
by: dixie | last post by:
Help, I'm really out of my depth here (not unusual I hear you say :-). I have just installed HTML Help in an application. I told it in the Project Properties the path to the help file. I then...
1
by: Tim Marshall | last post by:
I'm putting together my first help file (using Easy Help, http://www.easyhelp.com/). So far, so good. I'm able to use the Help File and Help Context ID to have things from my help file pop up...
1
by: Rahul | last post by:
Hi Everybody I have some problem in my script. please help me. This is script file. I have one *.inq file. I want run this script in XML files. But this script errors shows . If u want i am...
22
by: KitKat | last post by:
I need to get this to go to each folders: Cam 1, Cam 2, Cam 4, Cam 6, Cam 7, and Cam 8. Well it does that but it also needs to change the file name to the same folder where the file is being...
3
by: lord.zoltar | last post by:
I've managed to get a nice little chm help system written. Now I need to display it! I added a HelpProvider to my MDIParent form and set the namespace of the HelpProvider to be the help file. So...
22
by: Amali | last post by:
I'm newdie in c programming. this is my first project in programming. I have to write a program for a airline reservation. this is what i have done yet. but when it runs it shows the number of...
6
by: priyajohal | last post by:
#include<fstream.h> #include<process.h> #include<stdlib.h> #include<conio.h> #include<string.h> #include<dos.h> #include<ctype.h> #include<stdio.h> void setup() void help();
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
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...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...

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.