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