473,569 Members | 2,791 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to determine the Office XP service pack level?

CR
We're writing an application in C# that needs to programmaticall y check if
Office XP is installed on the computer and, if so, what service pack level
is it at. Another application that we have requires a minimum of Office XP
SP3, so we need to check the service pack level and make sure it's at least
SP3.

Does anyone have any ideas on:

1. How to write C# code to check if Office XP exists on the computer?
2. How to write C# code to check the service pack level of Office XP?

Thanks in advance.
Nov 16 '05 #1
1 2994
Have a search through the settings in regedit, it'll be hidden in the
registry somewhere. You can search through the registry.

"CR" <cr@nospam.co m> wrote in message
news:en******** ******@TK2MSFTN GP12.phx.gbl...
We're writing an application in C# that needs to programmaticall y check if
Office XP is installed on the computer and, if so, what service pack level
is it at. Another application that we have requires a minimum of Office
XP
SP3, so we need to check the service pack level and make sure it's at
least
SP3.

Does anyone have any ideas on:

1. How to write C# code to check if Office XP exists on the computer?
2. How to write C# code to check the service pack level of Office XP?

Thanks in advance.

Nov 16 '05 #2

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

Similar topics

3
2678
by: blue | last post by:
I have a MS SQL Server 2000 database that a customer of ours has sent to us for testing purposes. Is there any way to tell what service pack this database is at? A stored procedure of some kind that I can run on it? Thank you, Frank
3
2397
by: Mike Pace | last post by:
When I package my Microsoft Access 2002 application with the Office XP Developer Packaging Wizard, and include the runtime, the resulting OSP1.CAB file that is created does not contain the latest msjet40.dll (SP8), but instead contains SP4. How can I upgrade the packaging wizard to include the latest component service packs, such as msjet40...
4
7155
by: Br | last post by:
We're using an Access2000 ADP with an SQL2000 back-end. Because SQL2000 was released after Access2000 you need to be running Access2000 SP1 (2 or 3) for it to work properly. Is there an easy way for the ADP to determine programatically wether the correct service pack is installed (or if they are using a newer version such as 2002/2003)? ...
1
8303
by: stanger | last post by:
Hello, I've been trying and searching for a way to detect if SQL Server exists on the computer, and, most importantly, detect SQL Server's version and service pack level, but no luck to this point. I need it to be C# code. Would anyone know how to use C# to detect if SQL Server is on the computer and its version and service pack level? ...
11
20189
by: Don | last post by:
QUESTIONS: 1. Has anyone figured out how to successfully install the Office 97 Pro Service Release 2 patch in Vista? 2. Has anyone successfully installed an Office 97 Pro CD (SR2 version) in Vista? DETAILS: My setup: Dell Inspiron notebook with Vista Business edition My CD: Office 97 Professional (Service Release 1) Upgrade
0
4853
by: =?Utf-8?B?S2FybCBQb3RoYXN0?= | last post by:
According to this page Crystal Reports for Visual Studio 2005 Service Pack 1 should be released soon. Does anyone know the exact release date for this? http://support.microsoft.com/default.aspx/kb/928957 ***from article**** Crystal Reports for Visual Studio 2005 Service Pack 1: Crystal Reports for Visual Studio 2005 Service Pack 1 will be...
33
11823
by: JamesB | last post by:
I am writing a service that monitors when a particular app is started. Works, but I need to get the user who is currently logged in, and of course Environment.UserName returns the service logon (NT_AUTHORITY\SYSTEM). I understand that when the service starts, no user may be logged in, but that's ok, as the app I am monitoring can only be run...
2
1861
by: =?Utf-8?B?RWxsZW4=?= | last post by:
Using XP (English). I left this huge update running to download as I am on dial up. When I got back to computer (said the download would take 68 hours) I recd an error message saying: System has recovered from a serious error. I didn't get the error number sorry. My microsoft update history showing 2007 Microsoft Office Suite Service Pack...
0
5450
by: ray007x | last post by:
I have a question for Beth Melton. Hello. This is Ray. I read an answer you graciously gave to another user about the constant popping up of "Windows Installer - Preparing to install". I cannot find anything to eliminate this headache and would be grateful for your insight and suggestions. Many people suggest running something like Windows...
0
7693
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7917
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7665
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6277
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5501
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
933
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.