|
-
Jan 26th, 2009, 07:58 PM
#3
Thread Starter
Fanatic Member
Re: [2008] Associate windows with my application
Okay great, im gonna try that out tomorrow (, kinda late atm).
Thanks!
*EDIT*
Okay so i can't sleep so i tried it out:
'Try to see if myapp was opened from a file
Dim i As Integer, s As String
For i = 0 To My.Application.CommandLineArgs.Count - 1
s = My.Application.CommandLineArgs.Item(i)
MsgBox(s)
Next
and that works but my problem is that if i open more lets say 5 files, it just msgbox:es one of the files and i want to get all of the files, any idea?
Last edited by Zeelia; Jan 26th, 2009 at 08:25 PM.
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
|