|
-
Dec 2nd, 2011, 03:14 PM
#8
Re: Help with "Open with"
 Originally Posted by rosaage
after a couple of tries i got this:
Code:
If Environment.GetCommandLineArgs.Count > 1 Then
Dim filename As String = Environment.GetCommandLineArgs(1).ToString
TextBox1.Text = filename
End If
What I wrote was a proof of concept, it wasn't meant to work via copy and paste. That way you could adapt it to your needs. I'm glad it was of use.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|