473,659 Members | 2,651 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help.ShowHelp(M e, tempFileFullPat h, "Shortcuts.htm" ) does not work

My .chm file is an embedded resource so when I use it
GetManifestReso urceStream returns a Stream which I convert into a temp file.

Then I try

Help.ShowHelp(M e, tempFileFullPat h, "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 3278
I believe you need to change it to:

Help.ShowHelp(M e, Path.Combine(te mpFileFullPath, "Shortcuts.htm" ))
"Academia" wrote:
My .chm file is an embedded resource so when I use it
GetManifestReso urceStream returns a Stream which I convert into a temp file.

Then I try

Help.ShowHelp(M e, tempFileFullPat h, "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.
tempFileFullPat h 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.

tempFileFullPat h 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.mi crosoft.comwrot e in
message news:F2******** *************** ***********@mic rosoft.com...
>I believe you need to change it to:

Help.ShowHelp(M e, Path.Combine(te mpFileFullPath, "Shortcuts.htm" ))
"Academia" wrote:
>My .chm file is an embedded resource so when I use it
GetManifestRes ourceStream returns a Stream which I convert into a temp
file.

Then I try

Help.ShowHelp( Me, tempFileFullPat h, "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.
tempFileFullPat h 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.

tempFileFullPat h 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.mi crosoft.comwrot e in
messagenews:F2* *************** *************** ***@microsoft.c om...
I believe you need to change it to:
Help.ShowHelp(M e, Path.Combine(te mpFileFullPath, "Shortcuts.htm" ))
"Academia" wrote:
My .chm file is an embedded resource so when I use it
GetManifestReso urceStream returns a Stream which I convert into a temp
file.
Then I try
Help.ShowHelp(M e, tempFileFullPat h, "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
"kimiraikko nen" <ki************ *@gmail.comwrot e in message
news:a1******** *************** ***********@r60 g2000hsc.google groups.com...
On Dec 24, 7:36 pm, "Academia" <academiaNOS... @a-znet.comwrote:
>I know that won't work. I should have been clearer.
tempFileFullPa th is the full path to the temp file that should be the
equivalent of the .chm file that I embedded.
Shortcuts.ht m was one of the topic files I used to make the original .chm
file.

tempFileFullPa th 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.mi crosoft.comwrot e in
messagenews:F2 *************** *************** ****@microsoft. com...
>I believe you need to change it to:
Help.ShowHelp(M e, Path.Combine(te mpFileFullPath, "Shortcuts.htm" ))
"Academia" wrote:
>My .chm file is an embedded resource so when I use it
GetManifestRes ourceStream returns a Stream which I convert into a temp
file.
>Then I try
>Help.ShowHelp( Me, tempFileFullPat h, "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
1860
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 scrape textual content from places on the web using MSXML and assorted scracping widget. That doesn't help me for photos, nor does it answer how to encapsulate the photos in a form that I can see them. This would probably only find use in...
2
9793
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 in a link. that function can have parameters for URL and window name passed to it. This works peachy in Firefox (1.0). With IE 6 (6.0.29) on two separate computers, I get an "onject expected" error. Going to the MS-based debugger just tells me...
24
3857
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 that this is going to happen (although in some -- all? -- browsers the "next link" line at the bottom of the browser window may show that the next line is a ".pdf" file). I was recently on a page in which clicking on a link brought up a small...
3
2451
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 underneath. Now, the rub here is that every checkbox on the page (except the "All"s)
8
3006
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? -- thanks - dave david_at_windward_dot_net http://www.windwardreports.com
2
1668
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 want it to, with 1 exception. I have created the infamous fonts folder in order for it to install fonts, but it's only putting shortcuts to them in the fonts folder under the windows directory. Why is this? With only shortcuts to them, I can not use...
3
12314
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, but not sure how to convert the number. Thanks for the help.
24
8204
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 seems to have a (tiny) amount overhead since window itself points to the global object, hence, a circular reference. (From everything I am reading, window is just a REFERENCE back to the global object, as opposed to a separate object.)
0
1117
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 form = new Form(); form.CreateControl(); Help.ShowHelp(form, HelpFileName, HelpNavigator.Topic, pagename);
0
8428
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
8339
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
8851
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
8751
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8535
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5650
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
4338
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2757
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 we have to send another system
2
1739
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.