473,398 Members | 2,165 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Identifying if Office 2003 is installed

I am trying to write a routine to look at the registry and identify if
Office 2003 is installed, then, if it is to take certain actions. I have
used the excellent Dev Ashish code that can read a registry key and I can do
it that way. The problem with that is that there are fifty odd computers
running Office and I need to look at HKEY_CURRENT_USER, then drill down to
Software, Microsoft, Office, 11.0 and beyond before I can get a registry
entry with a value to read. I have found that the keys that I thought might
be the same for all users are not even there for some users, so I am having
difficulty getting a common key that everyone has set in that branch of the
registry.

But, I don't really need a value, I only need to see that
HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFFICE\11.0 exists.

This is turning out to be quite long winded, but what I need is a routine
that can simply look to see if that 11.0 is there. I don't need to read the
value of an actual registry entry. Any suggestions?

dixie
Nov 13 '05 #1
1 1343
Its alright, in my inimitable way, when I actually compose a message asking
for help, I am more likely to think of a solution - I don't need to look at
the registry to find the version of Access being used, there are better
functions than that already available on the Access Web.

dixie

"dixie" <di***@dogmail.com> wrote in message
news:41******@duster.adelaide.on.net...
I am trying to write a routine to look at the registry and identify if
Office 2003 is installed, then, if it is to take certain actions. I have
used the excellent Dev Ashish code that can read a registry key and I can
do it that way. The problem with that is that there are fifty odd
computers running Office and I need to look at HKEY_CURRENT_USER, then
drill down to Software, Microsoft, Office, 11.0 and beyond before I can get
a registry entry with a value to read. I have found that the keys that I
thought might be the same for all users are not even there for some users,
so I am having difficulty getting a common key that everyone has set in
that branch of the registry.

But, I don't really need a value, I only need to see that
HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFFICE\11.0 exists.

This is turning out to be quite long winded, but what I need is a routine
that can simply look to see if that 11.0 is there. I don't need to read
the value of an actual registry entry. Any suggestions?

dixie

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chuck Arney | last post by:
After installing Office 2003 PRO and attempting to run SETUP to install the Visual Studio Tools for Office version 2003, I get the error message "Your computer must have Microsoft Office...
1
by: zfeld | last post by:
1. Where do I get the Office 2003 PIAs? On the MSDN download site there are only downloads for XP office PIAs. Do they automatically get installed to the GAC with the installation of office 2003? ...
4
by: J-T | last post by:
I'm trying to read an excell file in my .Net application using Office XP Primary Interop Assemblies (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/odc_oxppias.asp)....
5
by: Zamolxe | last post by:
I have installed the Visual Studio 2003 FULL With MSDN (ORIGINAL NOT CRACKED :), Office 2003PRO FULL. After installing Office i have insatlled the MSDE form OFFICE CD, IIS is installed. Then:...
3
by: DC Gringo | last post by:
Allison (or others), thank you for the advice...a few more questions: - I have tested on my workstation on Excel XP and my application references the Excel 10.0 Object Library. I was told the...
2
by: William LaMartin | last post by:
I have created a program that allows for the automation of things in Word documents, like changing the values of DocVariables and the links to Excel Sheets. I did it using interoperoperatability,...
4
by: Lyle Fairfield | last post by:
I asked this question in Microsoft.Public.Word two days ago but I have not received an answer. I believe there are Office Experts here who may be able to help. --------- "A friend has Office...
5
by: Michael Russell | last post by:
Hi all, Using C#, I've created a simple wrapper class for using Excel. I have Office Pro 2003 installed on my devel machine. The wrapper class works great, reading and writing to/from Excel. ...
0
by: Bill Fallon | last post by:
I am developing a VB.Net application with VS 2005 that opens an Excel workbook and populates the worksheet with data. I started developing the application with Office 2007 installed on my Vista...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.