Re: Using AddItem to add multiple files

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Veign (NOSPAMinveign_at_veign.com)
Date: 12/01/04


Date: Wed, 1 Dec 2004 16:33:03 -0500

There is a flag called OFN_ALLOWMULTISELECT which must be set if using the
API version of the common dialog or cdlOFNAllowMultiselect flag is using the
Common Dialog control.

-- 
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
--
"Kou Vang" <KouVang@discussions.microsoft.com> wrote in message
news:B8E62CEB-EA6E-4C37-B8B4-8E3EF65E1803@microsoft.com...
> Basically your code works great Ken.  The only problem is I can only
> physically move one file at a time from the dialog box to my listbox.  My
> customer however, may at times want to select up to 50 files from the
dialog
> box to be moved into the listbox.  Now, from within the listboxes, I can
move
> as many files as I want from one to another and vice versa, but when I
select
> more than one file from the dialog box, nothing appears in the listbox.
It
> will be time consuming for my customer to select out 50 files everytime he
> wants to run the program.  Any ideas how to do this?  Thanks Ken!


Relevant Pages

  • help with common dialog for multiple file insert please
    ... I wrote some code to let me select multiple files, ... For the common dialog stuff I used the code kindly ... the first entry in the listbox is the ... entry and the second as the file name even when only selecting ...
    (microsoft.public.word.vba.general)
  • Re: get text from listbox
    ... >> commonly available unicode listbox?), but I wonder how this might ... > drawn listbox, and I don't know any (common valid) method to get the ...
    (microsoft.public.vb.winapi)
  • Re: get text from listbox
    ... > available unicode listbox?), but I wonder how this might work? ... listbox, and I don't know any (common valid) method to get the real text. ... Prev by Date: ...
    (microsoft.public.vb.winapi)
  • Moving Items in one listbox to another
    ... I have a common dialog box, in which I want to select multiple files and move ... in which a command button will be pressed to move the ... files into another listbox. ...
    (microsoft.public.vb.controls)