OberonPlace.com Forums  

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

Thread Tools Search this Thread Display Modes
Old 03-08-2004, 20:50
Alex's Avatar
Alex Alex is offline
Join Date: Nov 2002
Posts: 1,941
Blog Entries: 4
Default CorelDRAW 12 SP1 is available

Hi folks,

Just wanted to give you some heads-up on availability of service pack for CorelDRAW 12 and specific VBA issues it fixes. Be sure to update as it's worth it.

So, the following issues seem to be fixed now:

1. Application.Status object now works correctly when used in multi-session, such as:
Sub ShowProgress()
    Dim doc As Document
    Dim n As Long
    Set doc = CreateDocument
    Status.BeginProgress CanAbort:=True
    For n = 1 To 1000
        doc.ActiveLayer.CreateRectangle2 Rnd() * 8, Rnd() * 11, Rnd() * 5, Rnd() * 5
        If (n Mod 10) = 0 Then
            If Status.Aborted Then Exit For
        End If
    Next n
End Sub
The above code used to fail in the original Draw 12 but now works. You used to need to set the AppStatus to an object variable and then use the variable to manage the progress meter update...

2. Application.Quit method now works correctly even when used from VBA. It used to work only when called from out-of-process.

3. Outline.Size now reports correct outline style pattern length. It used to return the size of a single dot, not the whole pattern. Even though this method was created for Corel DESIGNER, you still can use it in CorelDRAW (there is no UI equivalent for this in Draw).

4. When running with Optimization turned on and in some other cases, the selection size used to be wrong sometimes, so methods such as ActiveSelection.SetBoundingBox, or .SetSize didn't work, as well as a lot of other methods of Shape and ShapeRange obejcts which rely on the size of the object(s).

5. DocumentOpen event is now fired even when document is open through drag-and-drop, by double-clicking in Windows Explorer or from using most-recent-file-list from the File Menu.

6. After using FountainColor object, CorelDRAW used to not shut down completely and stayed in memory (had to use Task Manager to kill the process).

7. When creating a new document or opening a document through VBA in CorelDRAW, the menu is updated properly. If the macro which creates a document was run when there were no document open already the main menu would stay in the short form (with only 4 items on them - as if there was still no document open).

8. SelectionInfo object now works again.

9. It used to be not possible to transform an imported object (when importing through VBA) if it was a group.

10. PatternFill didn't work. Now two color pattern fills can be applied/edited through VBA again.

If I find something else, I'll add it to the list. I hope this helps.

You can download the service pack from here
Reply With Quote
Old 04-08-2004, 01:43
Posts: n/a

hi all,

please backup your language-folder ("%Corel-Install%\languages") before you install SP1!

if there is an messagebox sayin´:
"Unable to load resource DLL: CrlCmnMappedRes.dll" after the SP1-Install, simply copy the backuped folder named "Languages" to your actual program-folder.

if your c12 lies in "c:\programs\corel graphics 12" so there is a folder named "Languages" ("c:\programs\corel graphics 12\languages").

for me here in germany, after the install of SP1, the folder was 800kb instead of 108MB..

for me it helped copying the backuped languages-folder to the install-folder.

so long, S.
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
Accesing CorelDraw 10 VBA Object Model without running it dolmos CorelDRAW/Corel DESIGNER VBA 5 19-12-2003 07:52
Preview from CorelDRAW file and/or worksheet reanan CorelDRAW/Corel DESIGNER VBA 5 15-05-2003 18:29
Link in CorelDraw 11 met CorelDRAW/Corel DESIGNER VBA 0 25-03-2003 08:17
Creating macros for CorelDraw 10 in CorelDraw 11 Rick Randall CorelDRAW/Corel DESIGNER VBA 1 14-03-2003 08:00
CorelDRAW 11 and AddIn’s reanan CorelDRAW/Corel DESIGNER VBA 2 03-12-2002 14:21

All times are GMT -5. The time now is 23:04.

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