Opening multiple files with my applicaton
- From: kimiraikkonen <kimiraikkonen85@xxxxxxxxx>
- Date: Tue, 25 Dec 2007 12:43:19 -0800 (PST)
Hi,
I have an app which has a listbox and when i double click an
associated fileS, i want their paths to be added into listbox in my
application.
This code works good when i try to open a "single" file with my app
which works to get commandline arguments to get file paths:
Dim cla As String() = Environment.GetCommandLineArgs()
If cla.Length > 1 Then
ListBox1.Items.Add(cla(1))
End if
But this doesn't work while opening more than one files at the same
time.
Assume i select 3 files with pressing CTRL + left mouse and then "open
with" my application, then i want these three files' paths must be
added as items into the listbox. (listbox will have 3 items, items are
the paths of files)
I hope you can help.
Regards.
.
- Follow-Ups:
- RE: Opening multiple files with my applicaton
- From: Family Tree Mike
- Re: Opening multiple files with my applicaton
- From: JR
- RE: Opening multiple files with my applicaton
- Prev by Date: Leading Zeros - CSV File
- Next by Date: Re: run programme
- Previous by thread: Leading Zeros - CSV File
- Next by thread: Re: Opening multiple files with my applicaton
- Index(es):
Relevant Pages
|