OberonPlace.com Forums  

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

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 03-12-2002, 14:52
Posts: n/a
Default Detect if VBA is installed (an answer and a question)

Something to think about

I want to know if someone who installs a script of mine has VBA for CorelDRAW 10 or CorelDRAW 11 installed. If this is so I can install a VBA solution if not I install a CorelSCRIPT solution (second choice because VBA has lot’s more possibilities). What I do now is look for the file “DRAW10VBA.HLP” or “DRAW11VBA.HLP” in the CorelDRAW directory “Programs”. I found out that this is the only file (at least that I could find) that will never be installed when during setup the VBA option is not checked or when someone installs a Try/Buy or an education license.
This seems a little bit unprofessionally to me but I really can’t find where CorelDRAW 10 stores the information that VBA is installed. In CorelDRAW 11 is a setting that shows you that VBA is installed:

VBAProgramFiles = installed

But here is the problem the “EN” part, this stands for the English version of CorelDRAW 11 but what is the key for the Dutch, the French etc. version and how to detect which version is installed?
There is a key which looks to me to be the one:

Language = EN

But is this failsafe?

If anyone has a better way of detecting if VBA for CorelDRAW 10 or CorelDRAW 11 is installed during a setup then post it here!
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
newbie question but hopefully easy to answer. cutter CorelDRAW/Corel DESIGNER VBA 0 05-11-2003 11:30

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

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