OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 26-07-2010, 21:13
ager ager is offline
Join Date: Jul 2010
Location: Russia
Posts: 44
Default Open file dialog

I’m trying to create Openfile dialog in VBA which allow to user select multifiles like in Excel VBA: .
It perform quite simple in Excel with function Application.GetOpenFilename(FileFilter:="All files (*.*), *.*", Title:="Get File", MultiSelect:=True). But in CorelDraw I know only one way to do this:
Set objDialog = CreateObject("UserAccounts.CommonDialog")
objDialog.Filter = "All Files|*.*"
objDialog.flags = &H200
objDialog.FilterIndex = 1
objDialog.InitialDir = "C:\My Documents\"
intFileCount = objDialog.ShowOpen
And old dialog window appears that do not support long file names:
The question is how to create normal Open-dialog window in CorelDraw VBA like in Excel?
Thank you!
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open File (that's in clipboard) ProofingGuy CorelDRAW/Corel DESIGNER VBA 5 12-07-2011 14:12
Open text edit dialog Albert CorelDRAW/Corel DESIGNER VBA 0 29-05-2009 08:40
Open & Save dialog of vista explorer by VBA aakkaarr CorelDRAW/Corel DESIGNER VBA 3 19-03-2009 05:23
open fill dialog diwin CorelDRAW/Corel DESIGNER VBA 2 21-05-2007 11:21
file will not open mudhen General 3 03-02-2006 04:51

All times are GMT -5. The time now is 11:51.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com