Hi All,
Apologies..I pressed the Send button by mistake..
I'm having 2 buttons on my screen which calls Help.showHelp with 2 chm
files in different directories.
the code in C# is as follows..
private void button1_Click(object sender, EventArgs e)
{
Help.ShowHelp(this, @"F:\Help\1000\Test.chm");
}
private void button2_Click(object sender, EventArgs e)
{
Help.ShowHelp(this, @"F:\Help\2000\Test.chm");
}
Now test the following scenarios.
Scenario 1:
1. Run the application
2. Click on button1 - Help is displayed
3. Rename 1000 folder to 1000a
4. click button1 - help is not displayed (which is absolutely fine).
5. click button2 - help is not displayed (why?)
Scenario 2:
1. Run the application
2. Click on button1 - Help is displayed
3. Rename Test.chm in 1000 folder to xyzTest.chm
4. click button1 - help is not displayed (which is absolutely fine).
5. click button2 - help is not displayed (why?)
now the strangest scenario:
Scenario 3:
1. Run the application
2. Click on button1 - Help is displayed
3. Rename Test.chm in 1000 folder to Testxyz.chm
4. click button1 - help is not displayed (which is absolutely fine).
5. click button2 - help is displayed (now, that is strange!!)
Could you please provide some help on this as to why this happens.
I'm developing an application with multilingual support and needs to
open the help file based on the selected language. But if the folder
containing the help file is renamed (i.e for the help which is opened
the first time), it is not opening any of the other helpfiles,
eventhough I change the language and the file and directory exists for
that particular language.
..
Thanks in advance,
Mathew