Y
Y
YTGoodFox22021-03-03 15:31:37
Visual Basic
YTGoodFox2, 2021-03-03 15:31:37

How to open chm file from project's built-in resources?

Good afternoon/evening, I have a project, in the resources of which I added the Help.chm file, set the embedded resource in the properties, I want to open it when I click the help tab in the StripMenu, or the button. I wanted to do this:

Private Sub СправкаToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles СправкаToolStripMenuItem.Click
        My.Resources.Справка
    End Sub


But it gives me an error: Access to a property must be performed to assign or read its value.
And as I understand it, it is impossible to open it through My.Computer, because there is no such data type there?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BasiC2k, 2021-03-03
@BasiC2k

Save the resource file to disk and run it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question