Hi--- I am trying to create a macro that can clean up line art from imported cad/3d files. The lines in the drawings are always broken apart instead of...
1029
Shelby L Moore
mooreshelby
Oct 2, 2002 2:30 pm
Rick, Alex has already written a script that does exactly this. Here is the code, I use this almost every day: Sub DoCloseShape() Dim s As Shape Dim e As...
1030
Antobal
szantoz
Oct 4, 2002 2:36 pm
Could somebody help me how to call Corel add-ins (made according to http://www.vakcer.com/oberon/vba/comaddins.htm) from external VB program? Zoltan...
1031
Jean-Marie Pierrard
jmpierrard
Oct 6, 2002 1:52 pm
Hi Zoltan, ... This should work (tested with Corel 10 & VB 6 under Win ME) : Private Const WM_COMMAND As Long = &H111 Private Declare Function SendMessage Lib...
1032
joannelyver
Oct 7, 2002 2:01 pm
I have a script that exports the CDR to PDF and AI when the user clicks on Save or Save As. I would like to know if there is a way in VBA Corel 10 that you can...
1033
Jill Tallman
lettuce_in_fl
Oct 10, 2002 6:31 pm
To combat an influx of spam, I've changed my e-mail to lettuce@... Thanks Jill __________________________________________________ Do you Yahoo!? Faith Hill...
1034
Antobal
szantoz
Oct 13, 2002 8:33 pm
Hi Jean-Marie, Thank you very much. Best regards, Zoltan ... From: Jean-Marie Pierrard [mailto:jeanmarie.pierrard@...] Sent: Sunday, October 06, 2002...
1035
Jean-Marie Pierrard
jmpierrard
Oct 14, 2002 1:30 am
Hi Zoltan, ... You're welcome! In the meantime, I have found a shortcut, thanks to Spy++ ... 'to launch the first add-in : SendMessage .Handle, WM_COMMAND,...
1036
Antobal
szantoz
Oct 14, 2002 12:51 pm
Hi Jean-Marie Yes, it's even better. Thank you again. To check the availability of the add-in I can use the following code: Function addin_exists as Boolean ...
1037
jspatzier
Oct 17, 2002 10:19 pm
Hello, my question is about file properties. I need to get date and time of an opened file in PhotoPaint9/10. I mean date and time when the file was last...
1038
Shelby L Moore
mooreshelby
Oct 17, 2002 10:49 pm
Here is a VBA example: Sub GetFileDate() MyStamp = FileDateTime("C:92;Garden 001.cpt") MsgBox MyStamp End Sub...
1039
Nick Wilkinson
isocalc
Oct 17, 2002 10:51 pm
VBA.FileSystem.FileDateTime No idea how to use it, though. Something like: Dim fs As New VBA.FileSystem Dim dt As Date dt = fs.FileDateTime("c:92;foo.cpt") You...
1040
Nick Wilkinson
isocalc
Oct 17, 2002 10:52 pm
Ah, I see Shelby has it and my version was overkill, since FileDateTime is implicit as you're running in the VBA environment. Silly me. -- Nick Wilkinson. ...
1041
jspatzier
Oct 18, 2002 11:13 pm
thanks a lot, this will work. But is also a Corel Script version available? Would be easier in my case. Again, thanks Jörg Spatzier ... I...
1042
shanerestin
Oct 19, 2002 3:52 pm
I have been trying to add items to a combobox in VBA/Excel and it is not working. I have tried the following and both give me a blank list but run without an...
1043
jspatzier
Oct 20, 2002 8:06 am
found it, in SCRIPT it is almost the same, thanks for your hint: FILEDATE function retval = FILEDATE("C:\myfiles92;mytext.txt") ... my ... PhotoPaint9/10....
1044
Jean-Marie Pierrard
jmpierrard
Oct 20, 2002 9:17 am
Hi Zoltan, ... vbMinimizedFocus) ... Yes, in order to register the addin, without the VB Add-In Designer, I think you have to use a specific reg file. At...
1045
sgutauckis
Oct 22, 2002 1:13 pm
Look at the following code: Dim cdr As CorelDRAW.Application Dim doc As CorelDRAW.Document Set cdr = CreateObject("CorelDRAW.Application.11") Set doc =...
1046
sgutauckis
Oct 23, 2002 12:58 pm
Well, I think I figured it out. I tried uninstalling CD10. This seemed to only add tot he problems as when I tried to now run my projects for CD11 I was...
1047
Dorogoj Dmitry
dorogoj_ru
Oct 24, 2002 2:35 am
cyc> Dim cdr As CorelDRAW.Application cyc> Dim doc As CorelDRAW.Document cyc> Set cdr = CreateObject("CorelDRAW.Application.11") May be you have to use Dim...
1048
thilot71
Oct 28, 2002 3:01 pm
Hi, Has anybody an idea why one can't obtain the Corelscript object in version 11 of PP? I keep getting error 13 type mismatch. I need to get the CorelScript...
1049
Shelby L Moore
mooreshelby
Oct 30, 2002 2:48 pm
Correct my if I am wrong, but since CorelScript is part of the Application Object it is not nessacary to Set the App if the script is used within VBA correct? ...
1050
Alex Vakulenko
alexv1n
Oct 30, 2002 3:21 pm
You should define the oScript object as Object, not PHOTOPAINT.CorelScript: Dim oScript As Object Plus, the old commands like EffectRemoveNoise do not work...
1051
Thilo Trautwein
thilot71
Oct 30, 2002 5:18 pm
Alex, you are kidding, aren't you? I can't imagine that Corel would degrade their COM interface into that #~!§$%& you described. Goodness - you are not...
1052
Thilo Trautwein
thilot71
Oct 30, 2002 5:18 pm
Hi Shelby, you are right with "if the script is used within VBA" being the key point. This works fine here as well. Unfortunately I have to use the "real"...
1053
Alex Vakulenko
alexv1n
Oct 30, 2002 6:01 pm
Thilo, ... The easiest way to figure out all the parameters is by recording a script. Open the Recorder docker, click the record button, then go to Effects...
1054
Thilo Trautwein
thilot71
Oct 31, 2002 9:58 am
Alex, On Wed, 30 Oct 2002 12:59:22 -0500, you wrote: ... I agree with you 100% here. Thanks for switching on the light in the dark. The really sick part is...
1055
Shelby L Moore
mooreshelby
Nov 1, 2002 3:56 am
OK Here is a dumb one for ya, but it doesn't hurt to ask. Anyone else notice that with a VBA UserForms under XP the command buttons are not the pretty XP...
1056
Thilo Trautwein
thilot71
Nov 1, 2002 11:47 pm
Hi, the header says it - I seem to be unable to specify the quality and smoothing in PhotoPaint when I want to save or export an image as JPG using VB(A). I...
1057
Allan Echavia
jedlan_m
Nov 4, 2002 6:36 am
Shanerestin: Use Initialize instead, form properties does not have a load proc., do not use the Form's name, like the sub you stated. Here is the proper code: ...