Home > Domino Tips > Administrator > Server > Collecting Notes Versions of Users
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SERVER

Collecting Notes Versions of Users


Donald Bechtold
03.21.2001
Rating: -3.70- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Need to know the version of Notes/Domino running on every workstation in your company automatically? Make this small change to the mail template, set up a mail-in database, and you'll be collecting information the next day, after redesign occurs that night on the server. Handy when it's upgrade time.

1. Set up a mail-in database (e.g., Mail-in name = VersionControl)

2. Place the code into the code section into the PostOpen event of the Database script in the mail template

3. Modify the constant tversion$ so it contains your target release

When the user opens their mail file for the first time, it will search for $Version in their notes.ini file, and compare with the version they actually have. If they are different, which they will be the first time, it sends a message from the user to the mail in database with their actual release in the subject line. It then writes the information into the notes.ini file, so that the next time they open mail, it will not send another message. If they upgrade, however, they will send mail again with the new version.

Don is a Principal Consultant at Electronic Knowledge Interchange in Chicago, IL and can be reached at dbechtold@eki-consulting.



Code

Const tversion$ = "Release 5.0.6a" 'put your target release here
Dim vlength%
Dim version$
vlength% = Len(tversion$)

Dim s As New notessession
version$ = s.getenvironmentstring("Version")

' only send mail and update notes.ini if
' it has not been sent before, or if version of notes has changed
If Left$(version$, vlength%) <> Left$(s.NotesVersion, vlength%) Then
Call s.Setenvironmentvar("Version", s.NotesVersion)
Dim db As notesdatabase
Dim d As notesdocument
Set db = s.currentdatabase
Set d = New notesdocument(db)
d.form = "Memo"
d.Subject = s.Notesversion
d.SendTo = "VersionControl"
Call d.send(False)
End If


Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Server
How to move Notes databases off Domino 8 servers and save disk space
Move a Lotus Domino server to a new certifier without a reinstall
Securely connect Lotus Domino servers on different domains
Track and record Lotus Notes user logins to Domino Server
Use SMTP outbound authentication to relay hosts in Lotus Notes Domino 8
Log off idle Lotus Notes users for better Domino Server performance
Copy Lotus Notes databases from the Domino Server console command line
How to perform an in-place upgrade of Lotus Domino server hardware
Daylight Saving Time 2007 -- seven helpful tips for Lotus Notes administrators
FileZilla

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts