![]() |
#1
|
|||
|
|||
![]()
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 |
#2
|
||||
|
||||
![]()
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. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Corel Photo Paint 11 Document Events problem | cyrilgupta | Corel Photo-Paint VBA | 1 | 07-11-2004 13:51 |
save filename without extension and prn automation error | olympiatr | CorelDRAW/Corel DESIGNER VBA | 5 | 20-10-2004 08:17 |
Transfer shapes from Draw to Paint; Using CorelScript in VB6 | DWGraphics | Corel Photo-Paint VBA | 1 | 18-08-2004 21:49 |
color profile problem in Photo Paint 9 | flip | Corel Photo-Paint VBA | 2 | 11-07-2003 04:55 |
Open - Resize - Savefile in Photo Paint | greenee | Corel Photo-Paint VBA | 2 | 28-06-2003 04:54 |