Here is a simple example:
Public Class OpenTextFile Private Sub OpenTextFile_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub OpenBUT_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenBUT.Click 'OpenBUT_Click the text file Process.Start("C:\File Name.txt") End Sub End Class
source share