Use ClickOnce to Deploy Windows Applications2006
A.7. Displaying Text Files
The Display Help button displays the content of a file named Help.txt. Perform the following steps to add this text file to your current project:
Code the Display Help button as follows: '=================================================== ' Display Help '=================================================== Private Sub btnDisplayHelp_Click( _ ByVal sender As System.Object, _ ByVal e As System.EventArgs) _ Handles btnDisplayHelp.Click MsgBox(My.Computer.FileSystem.ReadAllText("Help.txt")) End Sub
|
Категории