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 13-04-2005, 09:27
mecanomaniaco
Guest
 
Posts: n/a
Default SP1/SP2 or SaveSettings and future patches...

How do I know if any of the actual patches for v11 is installed already? Is it in the registry? A Corel .INI file? May be in \Documents and Settings\User\whatever...?

I'm developing a 1 Click Check for an app which is CorelDRAW dependant and need to check for patches and recommend their installation but accurately, I mean knowing what the client have installed and what they need.

In the mean time I'll keep doing my research. Thanks in advance.
Reply With Quote
  #2  
Old 13-04-2005, 17:03
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,941
Blog Entries: 4
Default Re: SP1/SP2 or SaveSettings and future patches...

Do you want to get this info through automation while CorelDRAW is running or before you install your program, you want to see what CorelDRAW version is installed without actually running it?

If the former, then it's quite easy, but calling Application.VersionMajor to get 11 (for Draw11) and Application.VersionBuild which will give you 633 for the original version, 693 for SP1 and 755 for SP2.

But if you want the latter, then you need to fiddle with registry to get the path to the installed CorelDRAW location and then extract the version information from the resources of DLLs/EXEs... Sorry, no easy solution here as far as I know...
Reply With Quote
  #3  
Old 13-04-2005, 22:25
mecanomaniaco
Guest
 
Posts: n/a
Default

This is perfect Alex, one way or another is good 4 me. I didn't know the versionbuilt numbers difference.
But what about the Save Fix update patch? this is necessary after SP2 right? or Has Corel already fixed the problem with a SP2.1 version?
As you know SP2 leave Options settings unable to be saved so you must download and install the Save Fix Update.
Take a look:
http://www.corel.com/servlet/Satelli...e=CorelDRAW+11

:wink: Tnxs
Reply With Quote
  #4  
Old 14-04-2005, 00:42
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,941
Blog Entries: 4
Default

Frankly I don't know if the Save fix really change the application version. If it does, you'll know it
Reply With Quote
  #5  
Old 14-04-2005, 09:18
mecanomaniaco
Guest
 
Posts: n/a
Default

Didn't work Alex. Same version (633) when installing any of the patches. Any idea why?

:?
Reply With Quote
  #6  
Old 14-04-2005, 09:44
mecanomaniaco
Guest
 
Posts: n/a
Default

Hey look what I found:

Code:
    MsgBox "Version:      " & Application.Version & vbCr & _
           "VersionBuild: " & Application.VersionBuild & vbCr & _
           "VersionMajor: " & Application.VersionMajor & vbCr & _
           "VersionMinor: " & Application.VersionMinor, vbInformation, "Error"
try this or look at the attachments...
Attached Images
  
Reply With Quote
  #7  
Old 14-04-2005, 09:50
mecanomaniaco
Guest
 
Posts: n/a
Default

funny hah?!?!?

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


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


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