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

ShowHelp doesn't always work

Hi,

I have a windows forms application. I've made a .chm help file and call that
help file from my windows app using the HelpProvider component. I use F1 to
show the context sensitive help for a specific form. You can also open the
help from a menu link. I do this using:

Help.ShowHelp(this, "myhelp.chm", HelpNavigator.TableOfContents);

Now, the app has been tested by different people on different versions of
Windows. Some users of Windows 98 and a user with Windows XP reported that
with F1 and from the menu link, the help file didn't show at all. When they
clicked the chm file from the start menu (where I also install a shortcut)
or in windows explorer, the help file opened fine.

Other users, including myself, have no problems at all opening the help file
from within the application.

What could be the problem here?

Thanks,
Jeffry
Nov 16 '05 #1
2 2088
Jeffry van de Vuurst wrote:
You can also open the
help from a menu link. I do this using:

Help.ShowHelp(this, "myhelp.chm", HelpNavigator.TableOfContents);


Try using a fully qualified path. This is what I use for the Help menu
item in my application:

exepath = Path.GetDirectoryName(thisExe.Location);
Help.ShowHelp(this, exepath + @"\RegexWorkbench.chm");

--
Take care,
Ken
(to reply directly, remove the cool car. <sigh>)
Nov 16 '05 #2
Ok Ken, I'll try that. See if it helps.

Thanks,
Jeffry

"Ken Arway" <ka****@jaguar.att.net> wrote in message
news:Oc*************@TK2MSFTNGP15.phx.gbl...
Jeffry van de Vuurst wrote:
You can also open the help from a menu link. I do this using:

Help.ShowHelp(this, "myhelp.chm", HelpNavigator.TableOfContents);


Try using a fully qualified path. This is what I use for the Help menu
item in my application:

exepath = Path.GetDirectoryName(thisExe.Location);
Help.ShowHelp(this, exepath + @"\RegexWorkbench.chm");

--
Take care,
Ken
(to reply directly, remove the cool car. <sigh>)

Nov 16 '05 #3

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

Similar topics

0
by: Prasanth U | last post by:
Hi All, We are facing a problem while integrating a HTML help file (chm version 1.x) to our windows .net application (C#). The help topic for the controls in the application are shown using the...
0
by: James Thurley | last post by:
I'm trying to dynamically compile assemblies and cache them to disk, which seems to work fine. When the data I'm compiling from changes, I want to re-generate the assembly and use the new version....
149
by: Christopher Benson-Manica | last post by:
(Followups set to comp.std.c. Apologies if the crosspost is unwelcome.) strchr() is to strrchr() as strstr() is to strrstr(), but strrstr() isn't part of the standard. Why not? --...
0
by: monosg | last post by:
Hi guys, how you doin'? i'm trying to use the ShowHelp method calling a web page anchor, and i couldn't succed. Does anyone know how to use html anchors with ShowHelp or a similar method? thanks...
0
by: cashdeskmac | last post by:
I have created a help file and placed it in a folder on my C drive. In my web application I have the following: <input type="button" value="Show Help"...
1
by: BrianTa | last post by:
I am trying to use the built-in Help class for displaying a very basic help file in an app that I have, but for the life of me I can't quite figure out how to accomplish what I think should be a...
2
by: =?Utf-8?B?VHJhY2tz?= | last post by:
I want to show a specific help page in a .chm file from vb.net. This code shows the .chm file but it just goes to the first page or shows an error on the page: Help.ShowHelp(Me, "myhelp.chm",...
4
by: Academia | last post by:
My .chm file is an embedded resource so when I use it GetManifestResourceStream returns a Stream which I convert into a temp file. Then I try Help.ShowHelp(Me, tempFileFullPath,...
0
by: nagar | last post by:
On some PCs I have my application completely crash (with the standard Windows message) when I make a call to the Help.ShowHelp method to display the help guide Here's the call I make. Form...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.