Click here to Skip to main content
15,880,608 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more: , +
Hello,

How to check my installed copy of MS office 2007 is of 32-Bit OR 64-Bit.


Thanks,
Pravin
Posted
Comments
Maciej Los 9-Jul-13 2:34am    
Do you want to do it manually or via code?

Simply run it and find the process in Process Explorer, it will tell you.

—SA
 
Share this answer
 
Comments
Maciej Los 9-Jul-13 2:38am    
A 5!
Sergey Alexandrovich Kryukov 9-Jul-13 2:47am    
Thank you, Maciej.
I did not think anyone would pay attention for this little advice... :-)
—SA
Maciej Los 9-Jul-13 2:49am    
So... you were wrong ;)
I added my solution to this post with link to an example code.
Sergey Alexandrovich Kryukov 9-Jul-13 2:53am    
Thank you for the note. Please see my comments to it.
—SA
As Sergey has mentioned, the simplest way is to determine if process is 64-bit.

Here is an example: How to know a process is 32-bit or 64-bit programmatically[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 9-Jul-13 2:52am    
Well, second advice can help, but not the first one. Unfortunately, it does not help much, because one needs to tell x86-64 from IE64 (Itanium) and I don't see the pure .NET way multiplatform way. On Windows, it's done ether using P/Invoke (using Windows-specific API) or looking at "bitness" in combination with reading the PROCESSOR_ARCHITECTURE environment variable, which is also Windows-specific. Too bad...
(Anyway, voted 5.)
—SA
Maciej Los 9-Jul-13 3:28am    
Thank you, Sergey.
I didn't realize that there is no simply way to determine if process is 32/64-bit for all platforms... Good to know it ;)
Sergey Alexandrovich Kryukov 9-Jul-13 10:16am    
No, it's easy to determine 32/64 for all platform, the problem is to tell specific 64-bit architecture, which is important because they are incompatible. And this is easy, too, only for each specific OS.
—SA
Maciej Los 9-Jul-13 14:56pm    
OK, i see the difference now ;)
To determine if office 2010 is 32 bit or 64 bit, we could check a registry key named Bitness. For more information, please refer to this article: http://technet.microsoft.com/en-us/library/ee681792.aspx[^].

Also here is a resource with a same question you could refer to: Detect whether Office 2010 is 32bit or 64bit via the registry.
 
Share this answer
 
v2
Comments
Pravinkarne.31 9-Jul-13 2:23am    
Thanks,
But I want to know for office 2007
Microsoft Office 2007 only came in 32-bit. To confirm this, first open a microsoft office product.
Open the task manager by pressing Cntl+ Shift + Esc.
Then make sure you are in the Processes tab.
Find the office 2007 program you are running...it should have ".exe" after it.
After ".exe" ff it has "*32", that's 32-bit.
If it has nothing after ".exe", that's 64-bit.
 
Share this answer
 
Comments
Richard Deeming 8-Jun-21 4:20am    
Checking task manager / process explorer was already explained in Solution 3, posted eight years ago.

Stick to answering new questions unless you have something significant to add to the discussion.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900