Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Aug 2002
    Thanked 0 Times in 0 Posts

    Versioning of templates (WinXP/ O2003 pro UK -SP2)

    Have a setup where I would like to check what verrsion of the templates the user is running.

    Got a "master" template containing code and a set of "content" templates.
    Master template is stored in "Startup folder" (on C...).
    Content templates either on Corporate network or for "out-of-office" use - locally in C:Temp[subfolder]

    When Master template launches and is on Corporate network, it should check whether it is the most recent version or a never one exists.

    Does anyone have any experience in this area or good suggestions that can get me started without having to reinvent the wheel? <img src=/S/groovin.gif border=0 alt=groovin width=21 height=21>
    - hope so, otherwise I think I'll just start from scratch... <img src=/S/yikes.gif border=0 alt=yikes width=15 height=15>


    PS: Wish there were a knob on the TV to turn up the intelligence. There's a knob called "brightness," but that doesn't work

  2. #2
    Platinum Lounger
    Join Date
    Feb 2001
    Yilgarn region of Toronto, Ontario
    Thanked 0 Times in 0 Posts

    Re: Versioning of templates (WinXP/ O2003 pro UK -

    My "" compares versions and installs the latest. Could be modified to check versions and MsgBox or Email or whatever.
    D/L a copy with almost any application from my web site
    Also I make use of a "?" toolbar button on each application's command bar that invokes<pre>Public Function strWhoAmI(doc As Document) As String
    strMsg = strMsg & vbCrLf & "Time stamp: " & FileDateTime(doc.FullName)
    strMsg = strMsg & vbCrLf & "File name: " & doc.FullName
    strMsg = strMsg & vbCrLf & "Project name: " & doc.VBProject.Name
    strMsg = strMsg & vbCrLf & "Project version: " & UW.WD_DocVar.varChannelGetFrom(doc, "Version")</pre>

    "varChannelGetFrom" is a utility function that handles Custom Document Variables.

Posting Permissions

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