473,508 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help.ShowHelp(Me, tempFileFullPath, "Shortcuts.htm") does not work

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, "Shortcuts.htm")

which does not work.

It shows the Context pane but the right pane has the typical image that
shows when the site can not be found.

If I click a topic in the context pane it shows correctly in the right hand
pane.

Can you suggest a way to make the topic show initially?

Thanks

I get thousands of hit in Google but can't find the one I need.

Or maybe, I just don't recognize it when I see it.
Dec 24 '07 #1
4 3268
I believe you need to change it to:

Help.ShowHelp(Me, Path.Combine(tempFileFullPath, "Shortcuts.htm"))
"Academia" wrote:
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, "Shortcuts.htm")

which does not work.

It shows the Context pane but the right pane has the typical image that
shows when the site can not be found.

If I click a topic in the context pane it shows correctly in the right hand
pane.

Can you suggest a way to make the topic show initially?

Thanks

I get thousands of hit in Google but can't find the one I need.

Or maybe, I just don't recognize it when I see it.
Dec 24 '07 #2
I know that won't work. I should have been clearer.
tempFileFullPath is the full path to the temp file that should be the
equivalent of the .chm file that I embedded.
Shortcuts.htm was one of the topic files I used to make the original .chm
file.

tempFileFullPath works OK if I use the 2 parameter overload but I want to
display something other than the default topic.
Thanks
"Family Tree Mike" <Fa************@discussions.microsoft.comwrote in
message news:F2**********************************@microsof t.com...
>I believe you need to change it to:

Help.ShowHelp(Me, Path.Combine(tempFileFullPath, "Shortcuts.htm"))
"Academia" wrote:
>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, "Shortcuts.htm")

which does not work.

It shows the Context pane but the right pane has the typical image that
shows when the site can not be found.

If I click a topic in the context pane it shows correctly in the right
hand
pane.

Can you suggest a way to make the topic show initially?

Thanks

I get thousands of hit in Google but can't find the one I need.

Or maybe, I just don't recognize it when I see it.

Dec 24 '07 #3
On Dec 24, 7:36 pm, "Academia" <academiaNOS...@a-znet.comwrote:
I know that won't work. I should have been clearer.
tempFileFullPath is the full path to the temp file that should be the
equivalent of the .chm file that I embedded.
Shortcuts.htm was one of the topic files I used to make the original .chm
file.

tempFileFullPath works OK if I use the 2 parameter overload but I want to
display something other than the default topic.

Thanks

"Family Tree Mike" <FamilyTreeM...@discussions.microsoft.comwrote in
messagenews:F2**********************************@m icrosoft.com...
I believe you need to change it to:
Help.ShowHelp(Me, Path.Combine(tempFileFullPath, "Shortcuts.htm"))
"Academia" wrote:
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, "Shortcuts.htm")
which does not work.
It shows the Context pane but the right pane has the typical image that
shows when the site can not be found.
If I click a topic in the context pane it shows correctly in the right
hand
pane.
Can you suggest a way to make the topic show initially?
Thanks
I get thousands of hit in Google but can't find the one I need.
Or maybe, I just don't recognize it when I see it.
Googled first return, maybe you can look at:

http://www.startvbdotnet.com/controls/helpprovider.aspx
Dec 24 '07 #4
I didn't see where he mentioned the 3 parameter overloaded ShowHelp.

Thanks
"kimiraikkonen" <ki*************@gmail.comwrote in message
news:a1**********************************@r60g2000 hsc.googlegroups.com...
On Dec 24, 7:36 pm, "Academia" <academiaNOS...@a-znet.comwrote:
>I know that won't work. I should have been clearer.
tempFileFullPath is the full path to the temp file that should be the
equivalent of the .chm file that I embedded.
Shortcuts.htm was one of the topic files I used to make the original .chm
file.

tempFileFullPath works OK if I use the 2 parameter overload but I want to
display something other than the default topic.

Thanks

"Family Tree Mike" <FamilyTreeM...@discussions.microsoft.comwrote in
messagenews:F2**********************************@ microsoft.com...
>I believe you need to change it to:
Help.ShowHelp(Me, Path.Combine(tempFileFullPath, "Shortcuts.htm"))
"Academia" wrote:
>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, "Shortcuts.htm")
>which does not work.
>It shows the Context pane but the right pane has the typical image
that
shows when the site can not be found.
>If I click a topic in the context pane it shows correctly in the right
hand
pane.
>Can you suggest a way to make the topic show initially?
>Thanks
>I get thousands of hit in Google but can't find the one I need.
>Or maybe, I just don't recognize it when I see it.

Googled first return, maybe you can look at:

http://www.startvbdotnet.com/controls/helpprovider.aspx

Dec 25 '07 #5

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

Similar topics

7
1858
by: Ken Fine | last post by:
My well-heeled clients would like a tool that I could build into a web application that would suck down the entire contents a remote webpage and store it on a local filesystem. I know how to...
2
9776
by: Chuck Martin | last post by:
I am having a most frustrating problem that references, web searches, and other resources are no help so far in solving. Basically, I'm trying to design a pop-up window to be called with a funciton...
24
3832
by: AES/newspost | last post by:
On many web sites or pages (including my own home page) clicking on certain links will start downloading a PDF file, sometimes without the author having provided any warning in the text of the page...
3
2438
by: Adam Toline | last post by:
In reference to the following: http://www.bellecose.com/form.htm At the top of each column there is a box for "All". When one is checked I need to check all of (and only) those boxes...
8
2998
by: David Thielen | last post by:
Hi; In our setup program how do I determine if I need to run "aspnet_regiis –i" and if so, is there an API I can calll rather than finding that program on the user's disk and calling it? --...
2
1651
by: Dmenace | last post by:
Microsoft blows my mind sometimes, what the hell were they thinking? Oh, wait they weren't, that's right. Anyway, I've got a Setup and Deployment added to my project, and it does everything I...
3
12288
by: Ronald S. Cook | last post by:
Stupid q for the day, but if the user enters 2 in a textbox, I want to display as 2.00. If they enter 2.129 I want it as 2.13. I'm guessing will code in the validated method of the textbox,...
24
8179
by: Jeremy J Starcher | last post by:
While reading c.l.j, I've noticed that some people prefer and indeed even recommend the use of "window.alert()" over "alert()". I can't find any technical reason to make this distinction, and...
0
1114
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
7226
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,...
0
7125
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
7328
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
7388
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...
0
7499
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...
0
5631
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,...
1
5055
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4709
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...
0
1561
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.