在 VB.NET 中提供帮助文档?

发布于 2024-08-30 11:54:15 字数 213 浏览 2 评论 0原文

我已经为我的项目编写了故障排除文档,并希望将它们包含在我的程序中。我记得在 VB6 中,有一种非常简单的方法可以使用控件来实现此目的,它已经在左侧设置了帮助文档树,您只需将其设置为指向某些文件即可。

.NET 中是否存在类似的东西?我知道 HelpProvider 控件,但据我所知,这只是在按下按钮时放入工具提示并打开文档?

感谢您的任何帮助。 :)

I have written up troubleshooting documents for my project and would like them included in my program. I remember in VB6 there was a very easy way to do this with a control, where it already has the help document tree set up on the left and you just set it to point to certain files.

Does something like this exist for .NET? I am aware of the HelpProvider control but as far as I know this just puts in tooltips and opens documents on a button press?

Thanks for any help. :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

温柔嚣张 2024-09-06 11:54:15

据我所知,Visual Studio 中不存在这样的界面,至少在我在这里安装的 Express 版本中是这样。正如您的调查所示,提供帮助的唯一方法是将 HelpProvider 添加到表单,并将其 HelpNamespace 属性设置为您的 HTM/CHM 文件。然后,您可以在每个控件上手动设置 HelpKeywordHelpString 和/或 HelpNavigator 属性。设置最后一个选项可控制如何将 HelpKeywordHelpString 的值传递到外部帮助文件。

To the best of my knowledge no such interface exists in Visual Studio, at least in the express editions that I have installed here. As your investigations showed you, the only way to provide help is to add a HelpProvider to a form and set its HelpNamespace property to your HTM/CHM file. Then on each control you can manually set the HelpKeyword, HelpString and/or HelpNavigator properties. Setting the last option controls how the values of HelpKeyword or HelpString are passed to the external help file.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文