HtmlHelp 功能不起作用,无法打开 vb 按钮后面的帮助文件

发布于 2024-09-30 13:23:12 字数 227 浏览 2 评论 0原文

我在 vb6 中,在按钮后面我输入了以下代码: hwnd 已正确填充。但没有打开帮助文件。可能出了什么问题。当我从开始\运行执行此操作时,路径“D:\software\src\mysoft.chm”会打开帮助文件。

 abc = "D:\software\src\mysoft.chm"
        HtmlHelp hWnd, abc, HH_HELP_CONTEXT, topic

I am in vb6, behing a button i have put this code:
hwnd is populate correctly. but no help file opens. what could be wrong. the path "D:\software\src\mysoft.chm" opens the help file when i do it from start\run.

 abc = "D:\software\src\mysoft.chm"
        HtmlHelp hWnd, abc, HH_HELP_CONTEXT, topic

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

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

发布评论

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

评论(1

墨洒年华 2024-10-07 13:23:12

发现了,chm文件中的主题有错误。 chm文件需要更正,因为更改topid id会打开chm文件

found it, the topic in the chm file was erroneous. The chm file needed to be corrected because changing the topid id opened the chm file

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