OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > OberonPlace Discussion > Testing

Thread Tools Search this Thread Display Modes
Old 21-06-2011, 10:37
Posts: n/a
Question Photopaint x5 from draw x5

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....
    Sub Open PP
   Set CPP = photopaint.Application
    If CPP.Application.Visible = False Then MsgBox "please wait"
    With CPP.Application
        .OpenDocument (NFN)
     end with
Could someone clue me in pls?
Reply With Quote
Old 17-07-2011, 16:24
shelbym's Avatar
shelbym shelbym is offline
Senior Member
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,791
Blog Entries: 13
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Reference

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,

Reply With Quote

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 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

All times are GMT -5. The time now is 00:30.

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