![]() |
#1
|
|||
|
|||
![]()
Hello all.
Yesterday I ran into a problem when removing Bitstream Font manager 2006 from the x4 programs group via the add remove programs util. Upon doing so photopaint x4 was removed, also. My vba code referenced x4 and the interface was exposed. Obviously now x4 is gone, so is the object reference. I didnt realize this until I ran my macro and errored out. I checked to make sure that x5 photopaint was now referenced. and it seems to be. I suspect since version 12 the code to launch photopaint must have changed. Here's what I used after declaring CPP as photopaint.Application.... Code:
Sub Open PP Set CPP = photopaint.Application If CPP.Application.Visible = False Then MsgBox "please wait" With CPP.Application .AppWindow.Activate .OpenDocument (NFN) end with Thanks Andy |
#2
|
||||
|
||||
![]()
You need to make sure the version you want to use is Referenced and any other references are removed or it will error out. If you still have a problem do a "repair" on your newest version most likely X5, this should reset the references. Hope that helps,
-Shelby |
![]() |
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 Photopaint script available from Corel Draw? | fungel | Macros/Add-ons | 23 | 25-04-2012 02:46 |
PhotoPaint will not open from Draw | fungel | General | 4 | 05-03-2009 14:43 |
PhotoPaint 12 vs 11 | xombie | Macros/Add-ons | 0 | 25-07-2005 14:57 |
Starting PhotoPaint From Draw | xombie | Macros/Add-ons | 2 | 23-07-2005 21:13 |
Photopaint VBA from 12 to 9 | tonywong | Corel Photo-Paint VBA | 2 | 20-05-2005 12:22 |