OberonPlace.com Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28-03-2004, 13:30
clausm
Guest
 
Posts: n/a
Default Creating a menu automatically

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
Reply With Quote
  #2  
Old 30-03-2004, 09:07
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,941
Blog Entries: 4
Default Re: Creating a menu automatically

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).
Reply With Quote
Reply


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
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


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


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