OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15-08-2006, 21:02
kchaze
Guest
 
Posts: n/a
Default Help finding version in Corel 9 or 10

I am trying without success to get the version in either Corel 9 or 10. I know their are functions in newer versions, but this seem to be a problem in 9 and 10.
Anyone who has some ideas, please let me know.

Thanks,

Kyle
Reply With Quote
  #2  
Old 15-08-2006, 21:57
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default

Kyle,

What kind of a problem are you running into? I believe VersionMajor, VersionMinor, VersionBuild properties were added in CorelDRAW 10, so for v10 and later you can use these functions to get the version/build number.

If they fail, you can assume you are under CorelDRAW 9... Something like that:

Code:
Dim nVer As Long
On Error Resume Next
nVer = Application.VersionMajor
If Err.Number <> 0 Then nVer = 9
On Error Goto 0
' Now use nVer variable to do your checks...
Reply With Quote
  #3  
Old 15-08-2006, 22:26
kchaze
Guest
 
Posts: n/a
Default

Alex,

Thanks as always. I thought those didn't appear until 11.

Thanks again,

Kyle
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
Corel 8.232 Help xsc General 3 31-07-2006 11:38
Corel MAC with Corel PC Dave Rowland General 9 24-04-2006 17:08
corel draw 11 and Corel Trace 11 BEAMA General 2 04-08-2005 19:39
Where can i found a version of CW for Corel 7 or 8 ? web-ster Calendar Wizard 1 04-03-2004 07:06
same instance of corel - version 2 bbolte CorelDRAW/Corel DESIGNER VBA 1 06-06-2003 09:44


All times are GMT -5. The time now is 14:26.


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