大虾们,帮帮忙
怎样在vb.net中 调用 *.chm(帮助文件) 文件???
17 个解决方案
#1
Dim b As String
b = Application.StartupPath & "\help\help.chm" '用变量b记录与主程序同目录下的help.chm帮助文件
Help.ShowHelp(Me, b)
哈哈 ,如果可以解决问题请结贴吧
b = Application.StartupPath & "\help\help.chm" '用变量b记录与主程序同目录下的help.chm帮助文件
Help.ShowHelp(Me, b)
哈哈 ,如果可以解决问题请结贴吧
#2
我试试,行就马上结贴!
#3
System.Diagnostics.Process.Start((Environment.CurrentDirectory + @"\帮助文件.chm"))
#4
我一直用的是3楼的方法
#5
这样只能启动总帮助文件,并不能定位到索引。
#6
现在窗体上放一个 HelpProdiver
form-load事件中加上 HelpProvider1.HelpNamespace = Application.StartupPath & "\book_manage.chm"
在帮助按钮的单击事件中加上下面的
Dim hwndHelp As Integer
hwndHelp = HtmlHelp(Handle.ToInt32, Application.StartupPath & "\book_help.chm", HH_DISPLAY_TOPIC, 0)
肯定行的!
form-load事件中加上 HelpProvider1.HelpNamespace = Application.StartupPath & "\book_manage.chm"
在帮助按钮的单击事件中加上下面的
Dim hwndHelp As Integer
hwndHelp = HtmlHelp(Handle.ToInt32, Application.StartupPath & "\book_help.chm", HH_DISPLAY_TOPIC, 0)
肯定行的!
#7
mark
#8
一句话就可以啊
Process.Start("help.chm")
Process.Start("help.chm")
#9
System.Diagnostics.Process.Start(帮助文件)
#10
用Help.ShowHelp()可以定位到索引
它的重载函数很多,其中有带索引选项的,楼主查下。
它的重载函数很多,其中有带索引选项的,楼主查下。
#11
谢谢大家!
能否告诉我怎样定位到索引???
能否告诉我怎样定位到索引???
#12
System.Diagnostics.Process.Start("D:\工作\10.11\注册表\book.chm")
好像不能定位到索引.
好像不能定位到索引.
#13
三楼的那个@咋提示有错误啊!
#14
1.在窗体上放一个 HelpProdiver
2.在form-load事件:
HelpProvider1.HelpNamespace = Application.StartupPath & "\help.chm"
Me.HelpProvider1.SetHelpNavigator(Me, ystem.Windows.Forms.HelpNavigator.KeywordIndex)
Me.HelpProvider1.SetHelpKeyword(Me, keyword )
其中keyword 就是索引名
Dim hwndHelp As Integer
hwndHelp = HtmlHelp(Handle.ToInt32, Application.StartupPath & "\book_help.chm", HH_DISPLAY_TOPIC, 0)
肯定行的!
2.在form-load事件:
HelpProvider1.HelpNamespace = Application.StartupPath & "\help.chm"
Me.HelpProvider1.SetHelpNavigator(Me, ystem.Windows.Forms.HelpNavigator.KeywordIndex)
Me.HelpProvider1.SetHelpKeyword(Me, keyword )
其中keyword 就是索引名
Dim hwndHelp As Integer
hwndHelp = HtmlHelp(Handle.ToInt32, Application.StartupPath & "\book_help.chm", HH_DISPLAY_TOPIC, 0)
肯定行的!
#15
1.在窗体上放一个 HelpProdiver
2.在form-load事件:
HelpProvider1.HelpNamespace = Application.StartupPath & "\help.chm"
Me.HelpProvider1.SetHelpNavigator(Me, ystem.Windows.Forms.HelpNavigator.KeywordIndex)
Me.HelpProvider1.SetHelpKeyword(Me, keyword )
其中keyword 就是索引名
2.在form-load事件:
HelpProvider1.HelpNamespace = Application.StartupPath & "\help.chm"
Me.HelpProvider1.SetHelpNavigator(Me, ystem.Windows.Forms.HelpNavigator.KeywordIndex)
Me.HelpProvider1.SetHelpKeyword(Me, keyword )
其中keyword 就是索引名
#16
1.在窗体上放一个 HelpProdiver
2.在form-load事件:
HelpProvider1.HelpNamespace = Application.StartupPath & "\help.chm"
Me.HelpProvider1.SetHelpNavigator(Me, System.Windows.Forms.HelpNavigator.KeywordIndex)
Me.HelpProvider1.SetHelpKeyword(Me, keyword )
其中keyword 就是索引名
2.在form-load事件:
HelpProvider1.HelpNamespace = Application.StartupPath & "\help.chm"
Me.HelpProvider1.SetHelpNavigator(Me, System.Windows.Forms.HelpNavigator.KeywordIndex)
Me.HelpProvider1.SetHelpKeyword(Me, keyword )
其中keyword 就是索引名
#17
Process.Start("FLhelp.chm")
#1
Dim b As String
b = Application.StartupPath & "\help\help.chm" '用变量b记录与主程序同目录下的help.chm帮助文件
Help.ShowHelp(Me, b)
哈哈 ,如果可以解决问题请结贴吧
b = Application.StartupPath & "\help\help.chm" '用变量b记录与主程序同目录下的help.chm帮助文件
Help.ShowHelp(Me, b)
哈哈 ,如果可以解决问题请结贴吧
#2
我试试,行就马上结贴!
#3
System.Diagnostics.Process.Start((Environment.CurrentDirectory + @"\帮助文件.chm"))
#4
我一直用的是3楼的方法
#5
这样只能启动总帮助文件,并不能定位到索引。
#6
现在窗体上放一个 HelpProdiver
form-load事件中加上 HelpProvider1.HelpNamespace = Application.StartupPath & "\book_manage.chm"
在帮助按钮的单击事件中加上下面的
Dim hwndHelp As Integer
hwndHelp = HtmlHelp(Handle.ToInt32, Application.StartupPath & "\book_help.chm", HH_DISPLAY_TOPIC, 0)
肯定行的!
form-load事件中加上 HelpProvider1.HelpNamespace = Application.StartupPath & "\book_manage.chm"
在帮助按钮的单击事件中加上下面的
Dim hwndHelp As Integer
hwndHelp = HtmlHelp(Handle.ToInt32, Application.StartupPath & "\book_help.chm", HH_DISPLAY_TOPIC, 0)
肯定行的!
#7
mark
#8
一句话就可以啊
Process.Start("help.chm")
Process.Start("help.chm")
#9
System.Diagnostics.Process.Start(帮助文件)
#10
用Help.ShowHelp()可以定位到索引
它的重载函数很多,其中有带索引选项的,楼主查下。
它的重载函数很多,其中有带索引选项的,楼主查下。
#11
谢谢大家!
能否告诉我怎样定位到索引???
能否告诉我怎样定位到索引???
#12
System.Diagnostics.Process.Start("D:\工作\10.11\注册表\book.chm")
好像不能定位到索引.
好像不能定位到索引.
#13
三楼的那个@咋提示有错误啊!
#14
1.在窗体上放一个 HelpProdiver
2.在form-load事件:
HelpProvider1.HelpNamespace = Application.StartupPath & "\help.chm"
Me.HelpProvider1.SetHelpNavigator(Me, ystem.Windows.Forms.HelpNavigator.KeywordIndex)
Me.HelpProvider1.SetHelpKeyword(Me, keyword )
其中keyword 就是索引名
Dim hwndHelp As Integer
hwndHelp = HtmlHelp(Handle.ToInt32, Application.StartupPath & "\book_help.chm", HH_DISPLAY_TOPIC, 0)
肯定行的!
2.在form-load事件:
HelpProvider1.HelpNamespace = Application.StartupPath & "\help.chm"
Me.HelpProvider1.SetHelpNavigator(Me, ystem.Windows.Forms.HelpNavigator.KeywordIndex)
Me.HelpProvider1.SetHelpKeyword(Me, keyword )
其中keyword 就是索引名
Dim hwndHelp As Integer
hwndHelp = HtmlHelp(Handle.ToInt32, Application.StartupPath & "\book_help.chm", HH_DISPLAY_TOPIC, 0)
肯定行的!
#15
1.在窗体上放一个 HelpProdiver
2.在form-load事件:
HelpProvider1.HelpNamespace = Application.StartupPath & "\help.chm"
Me.HelpProvider1.SetHelpNavigator(Me, ystem.Windows.Forms.HelpNavigator.KeywordIndex)
Me.HelpProvider1.SetHelpKeyword(Me, keyword )
其中keyword 就是索引名
2.在form-load事件:
HelpProvider1.HelpNamespace = Application.StartupPath & "\help.chm"
Me.HelpProvider1.SetHelpNavigator(Me, ystem.Windows.Forms.HelpNavigator.KeywordIndex)
Me.HelpProvider1.SetHelpKeyword(Me, keyword )
其中keyword 就是索引名
#16
1.在窗体上放一个 HelpProdiver
2.在form-load事件:
HelpProvider1.HelpNamespace = Application.StartupPath & "\help.chm"
Me.HelpProvider1.SetHelpNavigator(Me, System.Windows.Forms.HelpNavigator.KeywordIndex)
Me.HelpProvider1.SetHelpKeyword(Me, keyword )
其中keyword 就是索引名
2.在form-load事件:
HelpProvider1.HelpNamespace = Application.StartupPath & "\help.chm"
Me.HelpProvider1.SetHelpNavigator(Me, System.Windows.Forms.HelpNavigator.KeywordIndex)
Me.HelpProvider1.SetHelpKeyword(Me, keyword )
其中keyword 就是索引名
#17
Process.Start("FLhelp.chm")