Hello, I'm trying to write a vb script that saves the activedocument in version 7 format. When I try to use the structsaveasoptions I get a run-time error...
910
mooreshelby
Jul 23, 2002 3:11 pm
Here some sample code of the SaveAs. Maybe it will help you pin point the problem. This code workins in CorelDraw 10 and 11. Sub SaveOlderVersion() Dim opt...
911
cornmen
Jul 23, 2002 3:25 pm
I just read a previous post that says there were problems with some of the structs in the origional version of Draw10. So I installed the service packs and am...
912
RoZ
coolroz
Jul 23, 2002 7:12 pm
Hi all ! I'm absolutely new to cdr vba programming. I'd like to know if is there a ready made script to open a list of cdr files and insert their content in ...
913
Randall Richard
sylvylou
Jul 24, 2002 11:51 am
you da man....thanks a bunch!!----rick ... From: mooreshelby [mailto:shelbym@...] Sent: Tuesday, July 23, 2002 10:12 AM To: cdrvba@yahoogroups.com ...
914
mooreshelby
Jul 24, 2002 8:07 pm
Check out Alex's Thumbnailer script. at: http://www.vakcer.com/oberon/draw/drawscripts/thumbnailersh.htm It will import all files in a directory and you can...
915
skalamatrix
Jul 25, 2002 3:59 am
How can I add a shape or group to the current selection? I'm trying to duplicate a shape then select both the new one and the old one. I can duplicate it ok...
916
Nick Wilkinson
isocalc
Jul 25, 2002 7:46 am
Try this: Dim shOld As ShapeRange, shNew As ShapeRange Set shOld = ActiveSelectionRange Set shNew = shOld.Duplicate Call shOld.CreateSelection Call...
917
skalamatrix
Jul 26, 2002 2:20 am
Thanks alot! Worked like a charm...I appreciate it. Are there any good Corel VBA resources on the Web? It sure is a scarce subject. ... the ... the ... ...
918
Nick Wilkinson
isocalc
Jul 26, 2002 6:49 am
All the 'best' free code is at www.isocalc.com -- of course ;) But the real king of VBA in CorelDRAW is Alex Vakulenko, and his site is at...
919
JoeDentist
Jul 28, 2002 1:17 am
I am trying to start using CorelDraw VBA to automate making slide rule scales. I know this is a stupid thing to be doing but bear with me. I have looked all...
920
mooreshelby
Jul 29, 2002 12:35 pm
Joe, here are a couple of examples to get you started. These all work with CorelDraw 10: Sub BasicShapesRectangle() Dim s As Shape Set s =...
921
Joedentist@...
JoeDentist
Jul 30, 2002 1:13 am
Thank You very much for your example! I have this thing making logarithmic scales on a size A0 paper, but really want to create scales 25 cm long, which is a...
922
JoeDentist
Jul 31, 2002 12:59 am
OK, I'm getting there slowly but surely, but I have a question about dimensional accuracy. A corect slide rule scale is 250 mm, or 25cm or (9.84")long. This is...
923
Nick Wilkinson
isocalc
Jul 31, 2002 7:54 am
Joe, CorelDRAW does not "require" that you use points: there are something like 15 different unit sizes available to the SRDocument.Unit command, including...
924
Joedentist@...
JoeDentist
Jul 31, 2002 4:19 pm
Thank you very much for taking the time to look at my program. If you send me your address, I will send you one of my completed illustrations. I have, in the...
925
JoeDentist
Aug 1, 2002 12:36 am
My VBA project to create slide rule scales is zooming along, thanks to Nick Wilkinson,and I can now create an accurate C Scale with properly placed tic marks....
926
Nick Wilkinson
isocalc
Aug 1, 2002 1:00 am
Joe, From memory: SRShape.Outline.Type = cdrNoOutline You can, of course, also create each tick as a two-node straight line and use the Outline.Width property...
927
Joedentist@...
JoeDentist
Aug 1, 2002 2:15 am
In a message dated 7/31/2002 9:01:49 PM Eastern Daylight Time, ... Thanks Again! Joe levine...
928
JoeDentist
Aug 1, 2002 10:08 pm
I'm going great guns on my slide rule project - thanks to members of the Slide Rule group (and you thought this group was abstruse!) I now have the basic...
929
Nick Wilkinson
isocalc
Aug 2, 2002 7:43 am
Joe, The rounding errors are due to the fact that numbers are stored as a _hexadecimal_ value and then converted to decimal on the fly -- it's not possible...
930
Joedentist@...
JoeDentist
Aug 2, 2002 4:46 pm
Thanks again. I've started to semi-automate this process and am switching to a subroutine tic maker with passed variables. This way I can choose from among...
931
Josh Gladden
jgladden
Aug 2, 2002 6:46 pm
I recently purchased DRAW 10 ACADEMIC from my university only to find out that VBA is not included and (according to Corel techsupport) their is "no way" to...
932
Randall Richard
sylvylou
Aug 2, 2002 7:02 pm
when installing corel 10 you have to select "custom" install and check VBA otherwise you don't get it.--rick ... From: Josh Gladden [mailto:jgladden@...] ...
933
Nick Wilkinson
isocalc
Aug 2, 2002 7:24 pm
Not true: I think you don't get VBA with version 10 Academic. Sorry. -- Nick Wilkinson. www.isocalc.com - The site for technical illustrators....
934
JoeDentist
Aug 3, 2002 4:10 am
As I rework my program, I have used 4 different methods to create the scales that all work. I wish to create a "Universal Tickmaker" that I can feed variables...
935
Nick Wilkinson
isocalc
Aug 3, 2002 7:12 am
... NO! NO! NO! NO! NO! NO! NO! GET OUT OF THAT HABIT RIGHT NOW! Using public variables, which usually indicates that the variables are 'global39;, is almost...
936
Joedentist@...
JoeDentist
Aug 3, 2002 3:37 pm
Thanks again! I'm printing out C,Cl,DF,K and L scales now that look pretty good. I even am printing Pi where needed as a label. This is not bad considering it...
937
Jean-Marie Pierrard
jmpierrard
Aug 3, 2002 4:46 pm
Hi Josh, ... Nick is right, but there is a workaround : you can write and execute Corel (VBA) macros from your Visual Basic 6 program. With two drawbacks : 1)...
938
jgladden
Aug 6, 2002 12:10 pm
Thanks Jean-Marie! That worked fine. The Draw library was included with VB6 and your program worked fine. Although even with such a simple program I can ...