OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > OberonPlace Discussion > Testing

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 21-06-2011, 09:37
xombie
Guest
 
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....
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
Could someone clue me in pls?
Thanks
Andy
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 01:46
PhotoPaint will not open from Draw fungel General 4 05-03-2009 13:43
PhotoPaint 12 vs 11 xombie Macros/Add-ons 0 25-07-2005 13:57
Starting PhotoPaint From Draw xombie Macros/Add-ons 2 23-07-2005 20:13
Photopaint VBA from 12 to 9 tonywong Corel Photo-Paint VBA 2 20-05-2005 11:22


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


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