connecting users of the CorelDRAW family of products
We take every threat seriously. CorelDRAW.com has not been affected by the Heartbleed security bug.

Macro does not seem to work in X6

rated by 0 users
Not Answered This post has 0 verified answers | 5 Replies | 1 Follower

Share  
Page 1 of 1 (6 items) | RSS

Top 500 Contributor
Haderslev, Denmark
Male
Erik Vestergaard posted on Fri, Apr 6 2012 19:34

Dear Corel users

I have been upgrading to X6 from X5. I wanted to install a CorelDRAW macro called "Function Plotter", written by Alex Vakulenko, into X6. When  upgrading from X4 to X5 I just manually placed a certain file (Plotter14.gms) into the Draw\GMS folder in the program directory. Then back in CorelDRAW X5 I choose Tools > Options > Customization > Commands in order to place an icon in the toolbar, making access to the macro. It worked back then. However when I try the same procedure in X6 it doesn't work. I can see the file under "Commands" and place an icon, but nothing happens when I press the button. Can somebody explain why it doesn't work? Maybe it has something to do with 64 bit, which from what I can see in this Forum causes a lot of trouble (scanner drivers, plugins, etc)?

This macro is extremely important for me. I have tried contacting Alex, but with no success so far. In the meanwhile I need to install X5 again ...

All comments on this issue are appreciated! NB! I use Windows 7 Professional, 64 bit.

Regards,

Erik V.

All Replies

Top 50 Contributor
Wisconsin
Male

If it were me I'd install the 32-bit version of X6 and see if it works from there. 

You can actually have both versions installed (32 / 64 bit) at once, but with your 64-bit OS you have to browse the DVD and start the 32-bit installer manually.

Hope it helps

Art for a crowded planet - your window to my art and life online

Making images of balance and harmony for a chaotic world.

Top 10 Contributor
Uruguay
Male
CorelDRAWMaster

not all macros are automatically updaated, some macros works only for X3, for X4, etc, and other can work under X5 and X6 without problem

Ariel Garaza Díaz

  arielgaraza.com


Top 500 Contributor
Haderslev, Denmark
Male

Thanks Andrew. 64-bit is however the future, so I need to find out about this problem sooner or later. In the meantime I will keep my X5 installed, so if things doesn't work in X6 I will do it in X5. Also the most bugs have been eliminated there. I don't like to install X6 32 bit version as well. It could cause confusion and it will take up place.

Ariel: This macro (Oberon Function Plotter) has been working from version 10 to and including version X5:

http://oberonplace.com/vba/drawmacros/index.htm

I wonder what makes it work in X5 and not X6? The file I used was intended for X4, but worked in X5 too in the way I described. Is 64 bit really such a big gamestopper?

I hope Alex sees this and will update the macro!

Erik 

Top 25 Contributor
Murrieta, California, U.S.
Male

Erik Vestergaard:

Thanks Andrew. 64-bit is however the future, so I need to find out about this problem sooner or later. In the meantime I will keep my X5 installed, so if things doesn't work in X6 I will do it in X5. Also the most bugs have been eliminated there. I don't like to install X6 32 bit version as well. It could cause confusion and it will take up place.

Ariel: This macro (Oberon Function Plotter) has been working from version 10 to and including version X5:

http://oberonplace.com/vba/drawmacros/index.htm

I wonder what makes it work in X5 and not X6? The file I used was intended for X4, but worked in X5 too in the way I described. Is 64 bit really such a big gamestopper?

I hope Alex sees this and will update the macro!

Erik 

I hope Alex updates his macros, too.

With the release of VBA ver 7.x (included with CGS X6), Microsoft made some changes to VBA, so that both 32 bit and 64 bit functions can operate cohesively, unless it is your intent that the functions may operate only on 32 bit VBA and not 64 bit, if that is your intention.

Here is some background info on the new VBA methods that you may have to incorporate on those macros that you can edit:

Compatibility Between the 32-bit and 64-bit Versions of Office 2010

"Compile error: The code in this project must be updated for use on 64-bit systems" error message when you edit a VBA macro in the 64-bit version of an Office 2010 program

Excel: Declaring API functions in 64 bit Office

Download: Office 2010 Help Files: Win32API_PtrSafe with 64-bit Support - Microsoft Download Center - Download Details

I know that these talk mostly about Office 2010, but the items apply to the Corel Graphics Suite macros, as these points are common and both use the same application built-in VBA software.

 

HuMJohn aka Hugh Johnson

Top 500 Contributor
Haderslev, Denmark
Male

Thanks Hugh, for the links to explain the VBA 64-bit and 32-bit issues. Seem very interesting. I will look more into it tomorrow!

Erik

Page 1 of 1 (6 items) | RSS
© Corel Corporation. The content herein is in the form of a personal web log ("Blog") or forum posting. As such, the views expressed in this site are those of the participants and do not necessarily reflect the views of Corel Corporation, or its affiliates and their respective officers, directors, employees and agents. Terms and Conditions / User Guidelines.