Nov 20, 2000 #1 Guest_imported New member Joined Jan 1, 1970 Messages 0 I need to allow users to be able to select multiple files from a dialog box for upload into an Access database. Can anyone shed some light.
I need to allow users to be able to select multiple files from a dialog box for upload into an Access database. Can anyone shed some light.
Nov 20, 2000 #2 swilliams Programmer Joined Aug 23, 2000 Messages 583 Location BM I do not know of a way to get the commondialog.showopen to accept multiple file selection. You can however write your own control (ActiveX control) to do this if it is not possible PS - do you work for datatrue?? Simon Upvote 0 Downvote
I do not know of a way to get the commondialog.showopen to accept multiple file selection. You can however write your own control (ActiveX control) to do this if it is not possible PS - do you work for datatrue?? Simon
Nov 22, 2000 #3 swilliams Programmer Joined Aug 23, 2000 Messages 583 Location BM I have just spotted this on another thread: You can set the Flags property of the common dialog control to do this: CommonDialog1.Flags = cdlOFNAllowMultiselect Then you can set the filter property to only allow selection of .txt and .dat files: CommonDialog1.Filter = "Text Files (*.txt)|*.txt|Dat Files (*.dat)|*.dat Then do the ShowOpen method: CommonDialog1.ShowOpen Simon Upvote 0 Downvote
I have just spotted this on another thread: You can set the Flags property of the common dialog control to do this: CommonDialog1.Flags = cdlOFNAllowMultiselect Then you can set the filter property to only allow selection of .txt and .dat files: CommonDialog1.Filter = "Text Files (*.txt)|*.txt|Dat Files (*.dat)|*.dat Then do the ShowOpen method: CommonDialog1.ShowOpen Simon
Nov 22, 2000 #4 swilliams Programmer Joined Aug 23, 2000 Messages 583 Location BM forgot to close the quotes on the .Filter line in last post!!! Simon Upvote 0 Downvote