![]() |
|
#1
|
|||
|
|||
|
hi
i want to know if there are one way to get file info without open the document (just like appears in Open window when file is only selected). My goal is recollect all those files with specific resolution into a collection, to process them later; if it exist the method, can get the resolution too? i don't want to spend ALL the time openning ALL my images only to get resolution value, i'll process 80,000 images! Thx! some of my code is: Sub Redimensiona(ByVal File_Collection As Collection, ByVal ress As Integer) ' Dim Img_Collection As New Collection Dim sw As Integer Dim sh As Integer Dim rw As Integer Dim i As Integer Dim ic as Variant For Each ic In File_Collection i = i + 1 OpenDocument (File_Collection(i)) ' ' I dont want to do the line before ' sw = ActiveDocument.SizeWidth sh = ActiveDocument.SizeHeight rw = ActiveDocument.DpiX If rw = ress Then Img_Collection.Add Coleccion_Arch(i) |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| delete vba project from cdr file | hotairballoon | CorelDRAW/Corel DESIGNER VBA | 1 | 18-05-2005 09:08 |
| File Convertor to do transpararent TIFFs | dan | CorelDRAW/Corel DESIGNER VBA | 8 | 22-12-2004 13:23 |
| Finding a File in Sub Folders | shelbym | CorelDRAW/Corel DESIGNER VBA | 10 | 10-05-2004 08:02 |
| New macros: Oberon Selection Manager & File Name inserte | Alex | Site News | 0 | 24-08-2003 12:28 |
| Open - Resize - Savefile in Photo Paint | greenee | Corel Photo-Paint VBA | 2 | 28-06-2003 03:54 |