Results 1 to 3 of 3
  1. #1
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Application.Version and the registry (Word (all))

    I am currently achieving success in migrating Word/VBA applications between Word 2000/2002/2003 by dexterous use of the Application.Version value.
    The Word VBA help files tell me that this is the version of the application, which I take to be MSWord; however the registry key in question seems to me to be the version of Office.
    I am correct in thinking that these (version identities) are one and the same?
    That is, everything is working fine now, but ought I to be cautious about the future?
    Is there a string better suited to my purpose than Application.Version?


    <pre>Public Const strcBasekey1 As String = "softwaremicrosoftoffice"
    Public Const strcBasekey2 As String = "commonopen findplaces"</pre>

    and
    <pre>Dim strBasekey As String
    strBasekey = strcBasekey1 & Application.Version & strcBasekey2 & "StandardPlaces"</pre>


  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Application.Version and the registry (Word (all))

    The version numbers for the Office applications and for Office as a whole have been the same since Office 95.
    7.0 = Office 95
    8.0 = Office 97
    9.0 = Office 2000
    10.0 = Office 2002/XP
    11.0 = Office 2003
    and the next version will be 12.0.

  3. #3
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Application.Version and the registry (Word (al

    > ought I to be cautious about the future?
    Hans, thanks for the response.
    I guess then, that since it's been consistent for the past 10+ years, I ought to be cautious (grin!)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •