Resour开发者_Python百科ce. How to run the Help file when user press the Help button. Try using the following but not working." />
开发者

How to run Help File?

I added a "Help.mht" file into my app Properties->Resour开发者_Python百科ce.

How to run the Help file when user press the Help button. Try using the following but not working.

Process.Start(My.Resources.Help)

thanks.


Sub Main()
  Dim name As String = "Help.mht"
  Dim dir = Application.StartupPath
  Dim path = Path.Combine(dir, name)

  If Not File.Exists(path) Then
    File.WriteAllBytes(path, My.Resources.Help)
  End If

  Process.Start(path)
End Sub
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜