S
Steve Hiemstra
Hi All,
I think I found a 'bug' in the Help and HelpProvider classes under .NET.
I recently tried to hook up the HelpProvider class under .NET. It works
fine for most of my needs (F1 context-sensitive help, Index, TOC, etc...)
but one of the features is failing. No, it's not a 'bad' Help file (I tried
one of MSFTs instead of my own to eliminate doubts).
Currently I'm working under .NET v1.1 w/ XP Pro, latest versions of Studio,
and HTML Help v1.4 (actually the Help Workshop says 'v4.74.8702.0').
Under C# I wrote the following:
// Bring up Help Viewer with 'Search' tab shown
Help.ShowHelp(this, helpProvider.HelpNamespace, HelpNavigator.Find);
where:
this = myForm
helpProvider.HelpNamespace = myURL // help file path w/ filename
HelpNavigator.Find // Navigate to the 'search' tab
<AND... It doesn't work!!! (nothing happens, Help Viewer is supposed to pop
up w/ Search tab shown)>
BUT...
Help.ShowHelp(this, helpProvider.HelpNamespace,
HelpNavigator.TableOfContents);
<WORKS!, shows Table of Contents tab>
Help.ShowHelp(this, helpProvider.HelpNamespace, HelpNavigator.Index);
<WORKS!, shows Index tab>
SO... the HelpNavigator.Find is 'broken'. Fails in 'HelpProvider' and
'Help' classes in .NET.
Anyone else have a similar experience please speak up!,
SteveH
I think I found a 'bug' in the Help and HelpProvider classes under .NET.
I recently tried to hook up the HelpProvider class under .NET. It works
fine for most of my needs (F1 context-sensitive help, Index, TOC, etc...)
but one of the features is failing. No, it's not a 'bad' Help file (I tried
one of MSFTs instead of my own to eliminate doubts).
Currently I'm working under .NET v1.1 w/ XP Pro, latest versions of Studio,
and HTML Help v1.4 (actually the Help Workshop says 'v4.74.8702.0').
Under C# I wrote the following:
// Bring up Help Viewer with 'Search' tab shown
Help.ShowHelp(this, helpProvider.HelpNamespace, HelpNavigator.Find);
where:
this = myForm
helpProvider.HelpNamespace = myURL // help file path w/ filename
HelpNavigator.Find // Navigate to the 'search' tab
<AND... It doesn't work!!! (nothing happens, Help Viewer is supposed to pop
up w/ Search tab shown)>
BUT...
Help.ShowHelp(this, helpProvider.HelpNamespace,
HelpNavigator.TableOfContents);
<WORKS!, shows Table of Contents tab>
Help.ShowHelp(this, helpProvider.HelpNamespace, HelpNavigator.Index);
<WORKS!, shows Index tab>
SO... the HelpNavigator.Find is 'broken'. Fails in 'HelpProvider' and
'Help' classes in .NET.
Anyone else have a similar experience please speak up!,
SteveH