By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,617 Members | 1,751 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,617 IT Pros & Developers. It's quick & easy.

Problems with displaying HTML Help files (*.chm)

P: n/a
Hello there,

I have a strange problem (possible bug?) to display two HTML Help
files at the same time.

To reproduce this problem. Create a new VB.Net solution. Place two
buttons on the form. Create two button_click events with the following
code in it
For button1
Help.ShowHelpIndex(Me, "C:\Temp\File1 mspaint.chm")

For button2
Help.ShowHelpIndex(Me, "C:\Temp\File2 mspaint.chm")

You can pick another HTML Help file if you like, but the space in the
name is essential.

Compile and run the application.
Hit the first button, the help file displays. Close this help file.
Hit the second button, the help file displays. Close this help file.
OK, so the buttons work fine.

Hit the first button, the help file displays, go back to the
application (do not close the help file) and hit the second button.
You will receive (after a while) the message "there is not enough
memory to complete this task. Quit one or more etc...".

This behaviour only occurs if you have two HTML help files with a
space in the filename. If only one of the filename, has a space there
is no problem.

Am I doing something wrong?? Can someone explain this to me??

Thanks in advance,

Rogier
Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.