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?

开发者 https://www.devze.com 2023-02-01 01:42 出处:网络
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.

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

精彩评论

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