I am using this code to open a text file. is there a way to make it open read only so the users cannot modify it.
VB Code:
Private Sub InfoMen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles InfoMen.Click Try 'Opens Readme file using ms notepad Shell("notepad.exe " & "readme.txt") Catch ereadme As SystemException System.Windows.Forms.MessageBox.Show(ereadme.Message) End Try End Sub




Reply With Quote