![]() |
#1
|
|||
|
|||
![]()
Hallo,
i wrote a nice application for draw11+12, everything is fine, also a Setup-File with Inno Setup (wich is really recommendable). But i don't reach it to get a personal menu entry. In Draw11 when i use the method Application.ImportWorkspace within then GlobalDocument_Start() event Draw breaks down and even i have to reinstall it. What is the best method to get a personal Menu-Entry, or a personal Toolbar automatically (this could be either during installation by copying Workspacefiles and setting registry keys or some code in the GlobalDocument_Start() event. Thanks for any help Claus |
#2
|
||||
|
||||
![]()
Claus,
I would say, go for the setup time installation. Copy the workspace files and set the current workspace into HKEY_CURRENT_USER\Software\Corel\CorelDRAW\12.0\CorelDRAW > LastWorkspaceUsed key. Also I think that in CorelDRAW 12 the Start event should work correctly (in previous versions it was invoked too early and not all engines were initialized at the time). In CorelDRAW 12 you can also go through CommandBars collection and create new toolbar, and add a VBA macro button to it programmatically (however you still cannot specify a custom icon for it). |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I add a new menu to the coreldraw by the VBA | levin | CorelDRAW/Corel DESIGNER VBA | 15 | 17-07-2011 14:35 |
Automatically generate colour index numbers from 8-bit palet | Jast | New product ideas | 3 | 07-07-2005 13:02 |
Menu that open a specific page in the WebConnector | vida | CorelDRAW/Corel DESIGNER VBA | 5 | 15-03-2005 12:48 |
CorelDraw 12 Menu items missing... | lasergraver | CorelDRAW/Corel DESIGNER VBA | 2 | 22-04-2004 10:51 |
Creating macros for CorelDraw 10 in CorelDraw 11 | Rick Randall | CorelDRAW/Corel DESIGNER VBA | 1 | 14-03-2003 08:00 |