Reputation: 265
I added a "Help.mht" file into my app Properties->Resource.
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.
Upvotes: 0
Views: 318
Reputation: 104692
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
Upvotes: 1