|
-
Nov 21st, 2000, 03:43 PM
#1
Thread Starter
New Member
How can I make my app process (or just get the name of) a file that was double-clicked on to start my app? The extension is already linked to the app but when I double click the file it just starts the app, now I want to read the file that was clicked on.
Thanks,
Steve
-
Nov 21st, 2000, 03:53 PM
#2
It's represented by Command.
Code:
Private Sub Form_Load()
Open Command For Input As #1
Text1 = Input(LOF(1), 1)
Close #1
End Sub
Basically, you can treat Command as if it was a filename.
-
Nov 21st, 2000, 06:14 PM
#3
Thread Starter
New Member
Would Command contain a full path or just the name of the file, also would the file extension be in that?
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
|