Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / June 2005

Tip: Looking for answers? Try searching our database.

Version checking

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
NICOLAS Julien - 07 Jun 2005 08:37 GMT
Hello,

I need to know if MS Word was installed in the computer and witch version is
it....

Is somebody can help me ?!

Thank you.

Julien.
Anand.V.V.N - 07 Jun 2005 09:21 GMT
Hi Nicolas,

Word has a application.version which would give the word version
You can user this in userforms or in vba and store in a variable.

Hope this is what you were looking for and foudn it useful

Anand
Signature

"Who will guard the guards?"

> Hello,
>
[quoted text clipped - 6 lines]
>
> Julien.
NICOLAS Julien - 07 Jun 2005 09:48 GMT
Hi Anand,

I can understand for the version but how can I know if Word was installed in
the computer ?
For instance I am using the registry
"HKLU\SOFTWARE\MICROSOFT\OFFICE\11.0\WORD" to know if the good version was
installed but I would like to use a better way...

I will use the property of my word application component to check the
version but I need something to be sure that the application was really
installed and is not only a key in the registry...

I hope you can understand what I am trying to explain....

Thank you very much !

JULIEN.

> Hi Nicolas,
>
[quoted text clipped - 16 lines]
>>
>> Julien.
Anand.V.V.N - 07 Jun 2005 10:02 GMT
Hi Nicolas,
I guess you want to check if the file is physically present? Since you good
at usign the registry you can obtain the path where ms office installed
right? Usign that path either you can use dir$(path) or chdir(path) and the
use the dir$(file name) to determine.

Is this what you wanted to do?

Anand
Signature

"Who will guard the guards?"

> Hi Anand,
>
[quoted text clipped - 34 lines]
> >>
> >> Julien.
NICOLAS Julien - 07 Jun 2005 10:21 GMT
Hi Anand,

So, I find the "HKLM\SOFTWARE\MICROSOFT\OFFICE\11.0\WORD\INSTALLROOT\Path"
key in the registry and I wil use it.

But I need the same thing for PROJECT application and there is no path key
to help me, I will write in the good newsgroup ;-)

Thank you for your help !!!!!

Julien is my name...

> Hi Nicolas,
> I guess you want to check if the file is physically present? Since you
[quoted text clipped - 49 lines]
>> >>
>> >> Julien.
Anand.V.V.N - 07 Jun 2005 11:12 GMT
Hi Julien,

Not sure if this would hlep though,
there is a project.applicaion.path, you might already know this, but any
just thoughtit might help.

Anand
Signature

"Who will guard the guards?"

NICOLAS Julien - 07 Jun 2005 17:07 GMT
Hi Anand,

Yes I have already see it but I need the path before launching my
application... I need the path to be sure that I can create an MS Project
application object without errors.

Thank you

Julien.

> Hi Julien,
>
[quoted text clipped - 3 lines]
>
> Anand
Jonathan West - 08 Jun 2005 11:04 GMT
> Hello,
>
> I need to know if MS Word was installed in the computer and witch version
> is it....
>
> Is somebody can help me ?!

Hi Julien,

This aticle may help you

Determine If Word is Installed
http://www.fawcette.com/vsm/2002_06/magazine/columns/qa/default_pf.aspx

It enables you to see if Word is installed, and if so, which version.

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org 

 
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.