E
Elmo Watson
I've got TextFiles associated with my application - however, when I double
click on the files, it just opens my application, and does not load the file
inside my application. Here's my sub:
Private Sub GetOutsideFile(ByVal FileArgs() As String)
Dim s As String
For Each s In FileArgs
If s.EndsWith("txt") Then
CreateNewDocument(s)
End If
Next
End Sub
Then, in the form load, I put this line:
GetOutsideFile(Environment.GetCommandLineArgs())
What am I missing here?
click on the files, it just opens my application, and does not load the file
inside my application. Here's my sub:
Private Sub GetOutsideFile(ByVal FileArgs() As String)
Dim s As String
For Each s In FileArgs
If s.EndsWith("txt") Then
CreateNewDocument(s)
End If
Next
End Sub
Then, in the form load, I put this line:
GetOutsideFile(Environment.GetCommandLineArgs())
What am I missing here?