resource conflict between OpenFileDialog and Help.ShowHelp?

D

Darren

Hi all,

I have got an application that is not really an MDI app, but that does
have multiple forms that run at different times. For instance, it
starts with a welcome screen asking the user what they want to do,
prompts them with an "Official Use Only" dialog, and has a primary
interview screen. There is also a "Wizard" that the user goes through
if they are starting a new file and a project editor dialog they can
trigger from within the main interview.

The problem is that if Help.ShowHelp() is not called before the user
opens an existing file, the help window will not open. Specifically, a
call to Help.ShowHelp() placed before the call to
this.openFileDialog.ShowDialog() works. A call to Help.ShowHelp()
placed after the OpenFileDialog call does not work.

Any ideas what could be going on here?

Thanks,
Darren
 
D

Darren

Follow up
---------

With more research, we have determined that results vary depening upon
the CHM file:

* Some open regardless (bug described above vanishes).
* Some behave just as above.
* Some open to a DIFFERENT page (topic), with a DIFFERENT table of
contents displayed (number of topics changed, different topics,
etc...) in the same CHM file dependent upon whether it is called
before or after a file dialog.

This is starting to make the CHM files look very suspicious.

Darren
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top