OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Corel User Forums > CorelDRAW > Macros/Add-ons

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-04-2010, 09:14
JFJ
Guest
 
Posts: n/a
Default Run a program VB.net with Corel X3 and X4 ?

Hello,

I developp with Visual basic 2008.net and Corel Draw X3. I declare a reference to Corel Draw X3 in my program. The program use Corel Draw and run correctly but when I try with Corel Draw X4, there is an error.

How is possible to run the same program with Corel X3 and X4 ?

Thank you

Jeff
Reply With Quote
  #2  
Old 08-04-2010, 09:35
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default

Hi.

Did you declare a reference to the x4 object model.

Also put a few breakpoints and use F8 to find exactly where the area occurs.

You may also be able to use something similar to this to make a small code change for the difference.

Code:
 If VersionMajor = 14 Then
  'do it like this
 End If
-John
Reply With Quote
  #3  
Old 08-04-2010, 10:25
JFJ
Guest
 
Posts: n/a
Default Run a program Visual Basic.net for X3 or X4

In fact,

Thank you for your response but when the problem isn't in the code but beetween the DDL for X3 and DDL for X4.

If I uninstall Corel X3 and I install X4 et I add référence to Corel X4. The program run correctly with X4 but not with X3.

There isn't compatibility beetween DDL X3 and X4.

I am looking for a solution to work this program with X3 or X4

Jeff
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
How to distribute the program? ricky0721 CorelDRAW/Corel DESIGNER VBA 3 26-03-2008 10:26
Urgent Help: Alex: with Corel VBA and Visual basic program amollondhe CorelDRAW/Corel DESIGNER VBA 1 23-11-2006 08:57
Interesting Program for ... Hernán Off-Topic 0 06-06-2005 00:34
Corel Technology Partner Program Survey Alex CorelDRAW/Corel DESIGNER VBA 4 05-05-2005 09:00
vba starting with vb exe program Anonymous Code Critique 0 16-05-2004 16:58


All times are GMT -5. The time now is 06:03.


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