Is there a way to programmatically tell whether QuickBooks is installed on a PC?

Hi:

We have VB.Net application which needs to determine whether QuickBooks is installed and running on the current machine or not.
If QuickBooks is installed, then the application will work with QuickBooks.
If not, it will continue with other processing.

How would we determine this programmatically?

If it is installed, how do we determine the version?

Thanks,
JohnB
LVL 1
jxbmaSoftware ConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Fernando SotoRetiredCommented:
Hi xbma;

About the only way I know to do this is to get the information from the Windows Registry. Using Regedit there should be a registry hive called HKEY_LOCAL_MACHINE\SOFTWARE\Intuit and under the intuit node you will most likely find a node called QuickBooks. Click on it and in the panel on the right you will find values such as ExePath and CurrentVersion. If this is the location then you will need to write code to access these nodes for reading. If this node is not there or they contain no values and you have a 64 bit machine look at the hive node HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Intuit and follow the above steps to find the info. If the hives can not be found then QuickBooks is not installed.

PLEASE DO NOT WRITE TO THE REGISTRY ONLY DO READ OPERATIONS.

Accessing the Registry with Visual Basic .NET

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
QuickBooks

From novice to tech pro — start learning today.