I have a VSTO add in for Outlook written in C# that has a button to display a chm help file that has been working fine for a couple of years, and suddenly stopped working. When I click the button that runs the following code, nothing happens,
try
{
string path = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().CodeBase), "ema.chm");
// Show the help.
Help.ShowHelp(null, path);
}
catch (System.Exception ex)
{
MessageBox.Show(ex.Message);
}
Does anyone have any ideas what may cause a problem like that?