OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > Corel Script > Corel Photo-Paint CS

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18-08-2003, 08:43
Allan Shearer
Guest
 
Posts: n/a
Default Photo-Paint 11 Automation error ...

Hi Folks

Has anyone else noticed that the ole automation object for Photo-Paint 11 cannot be created using Corel Script (ver 8) unless PP11 is already running? I can easily call PP8 even when it's not running, but I get an 'object cannot be created' error when I try the same with PP11 -- yet, if I first start PP11 and then try again, it works fine.

Is there a work-around for this, apart from having to launch the application ahead of time?!

Thanks

Allan Shearer
allan@shearer.ca
www.shearer.ca
Brockville, Ontario
CANADA
Reply With Quote
  #2  
Old 15-09-2003, 16:28
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default Re: Photo-Paint 11 Automation error ...

Hi Allan,

Sorry for the late response. It looks like a registration issue.

Ok, I just have looked into it and here is the problem:

In HKEY_CLASSES_ROOT\CLSID\{ADC6B001-88DF-4F68-9D4A-7187B16E86B8}\LocalServer32 which is the class ID for CorelPhotoPaint.Automation.11 the server name is set to "C:\PROGRA~1\Corel\CORELG~1\Programs\CORELP~1.DLL" which should be

"C:\PROGRA~1\Corel\CORELG~1\Programs\CORELPP.EXE"

If you fix the path (replace path to DLL with that to CorelPP.exe, it should work OK...

Let me know how it goes.
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
Corel Photo Paint 11 Document Events problem cyrilgupta Corel Photo-Paint VBA 1 07-11-2004 12:51
save filename without extension and prn automation error olympiatr CorelDRAW/Corel DESIGNER VBA 5 20-10-2004 07:17
Transfer shapes from Draw to Paint; Using CorelScript in VB6 DWGraphics Corel Photo-Paint VBA 1 18-08-2004 20:49
color profile problem in Photo Paint 9 flip Corel Photo-Paint VBA 2 11-07-2003 03:55
Open - Resize - Savefile in Photo Paint greenee Corel Photo-Paint VBA 2 28-06-2003 03:54


All times are GMT -5. The time now is 10:59.


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