Author Topic: [Question]Select Multi Files  (Read 2444 times)

0 Members and 1 Guest are viewing this topic.

kraz

  • Guest
[Question]Select Multi Files
« on: August 02, 2009, 09:24:19 PM »
I want to know how can i Select Files without dcl or dos_filem..

as it possible, I Want to use WMI method like " (setq ShlObj (vla-getInterfaceObject (vlax-get-acad-object) "Shell.Application")  Folder(vlax-invoke-method ShlObj 'BrowseForFolder 0 msg 0)) "

thanks all...

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: [Question]Select Multi Files
« Reply #1 on: August 02, 2009, 11:47:07 PM »
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

kraz

  • Guest
Re: [Question]Select Multi Files
« Reply #2 on: August 02, 2009, 11:51:52 PM »
Did you do a SEARCH?
This Search for BrowseForFolder

hmm...I don't want BrowseforFolder...this is for Select Folder. but I want multi select files...

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: [Question]Select Multi Files
« Reply #3 on: August 03, 2009, 12:03:04 AM »
Have you tried?
Code: [Select]
(setq file+path (getfiled "Select a File you want" "" "" 4))
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: [Question]Select Multi Files
« Reply #5 on: August 03, 2009, 12:19:16 AM »
I've been down this road & never found one that worked with Windows 2000.

Here is a DCL option.
http://www.theswamp.org/index.php?topic=14536.msg177095#msg177095
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

kraz

  • Guest
Re: [Question]Select Multi Files
« Reply #6 on: August 03, 2009, 02:07:52 AM »
thanks CAB..
most of all , I had Searched with many keyword like files, multi select files, wmi bla bla bla~...., but i Couldn't Found....anyway sorry.

filebox func, you found, is nice to me.. but i can't understand, wmi has browseforfolder method but have not files method....I want to know there is another method ...or any other good functions...

god bless you~~ :angel:

gile

  • Gator
  • Posts: 2507
  • Marseille, France
Re: [Question]Select Multi Files
« Reply #7 on: August 03, 2009, 02:35:21 AM »
Hi,

AFAIK, there're no way working fine without an external arx or dll.
"acet-ui-getfile" function from the express tools works the same as "userAccounts.CommonDialog" (IOW: as bad as).

I made a little .NET DLL to which implements 4  LISP functions to open Windows standard dialog boxes, you can found it here
Speaking English as a French Frog