Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / November 2003

Tip: Looking for answers? Try searching our database.

version of MS office in VB

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ram - 06 Nov 2003 14:51 GMT
In a VB program how can we find out the version of
Microsoft office ? i.e office10, office9 or office8 etc?

Using regread how can we find out the path of excel.exe in
registry
Please let me know
thanks in advance
ram
Cindy M  -WordMVP- - 12 Nov 2003 15:43 GMT
Hi Ram,

> In a VB program how can we find out the version of
> Microsoft office ? i.e office10, office9 or office8 etc?
>  
Generally, I'd say open an Office application that supports
VBA and check the .Version property. It's quite possible that
multiple versions are installed on the same machine...

> Using regread how can we find out the path of excel.exe in
> registry

Go into the Class_Root section of the Registry and search
Excel.Application, get the CLSID for this. Now search the
CSLID and under that the LocalServer/Default information.

(Note: under Excel.Application you can also pick up which
version number - Excel.Application.10, for example - is set
as the "default" on a particular machine)

   -- Cindy

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.