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...
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...
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...
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...
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...
To combat an influx of spam, I've changed my e-mail to lettuce@... Thanks Jill __________________________________________________ Do you Yahoo!? Faith Hill...
Hi Jean-Marie, Thank you very much. Best regards, Zoltan ... From: Jean-Marie Pierrard [mailto:jeanmarie.pierrard@...] Sent: Sunday, October 06, 2002...
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,...
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 ...
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...
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:\foo.cpt") You...
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. ...
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...
found it, in SCRIPT it is almost the same, thanks for your hint: FILEDATE function retval = FILEDATE("C:\myfiles\mytext.txt") ... my ... PhotoPaint9/10....
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...
Look at the following code: Dim cdr As CorelDRAW.Application Dim doc As CorelDRAW.Document Set cdr = CreateObject("CorelDRAW.Application.11") Set doc =...
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...
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...
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...
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? ...
You should define the oScript object as Object, not PHOTOPAINT.CorelScript: Dim oScript As Object Plus, the old commands like EffectRemoveNoise do not work...
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...
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"...
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...
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...
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...
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...
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: ...