Message 1 of 2
I made a iLogic Version Checker for my colleagues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
maybe you're in the same boat as I am. Make tools for at the office; everyone ends up using them.
I usually change some things in tools once every few weeks. Bug fixes, new features... you know.
Some colleagues tho... they don't check the Vault for new versions. EVER.
INTRODUCING NOW. THE iLOGIC VERSION CHECKERRRRR
Just make a folder somewhere on you companies' network disk and make a textfile with the current versionnumber!
Include the iLogic sippet in your custom rule and... voila! You colleagues will get the message and the tool won't run until they GET the new version from the vault.
🙂
VersionFolder = "G:\Folder\01 iLOGIC VERSIONS" 'Make Folder Somewhere with Textfiles iLogicName = "ExactNameOfYourTool" 'Name of the Current Dim ExpectedVersion As Integer = 1 oFile = VersionFolder & "\" & iLogicName & ".txt" 'read the file oRead = System.IO.File.OpenText(oFile) Dim FileVersion As Integer = oRead.ReadToEnd() oRead.Close() If FileVersion = ExpectedVersion Then Trace.WriteLine(FileVersion & " Version is correct.") Else MessageBox.Show("Expected Version: " & FileVersion & vbNewLine & " Current Version on your PC: " & ExpectedVersion, "OLD VERSION. DO GET FROM VAULT") exit Sub End If
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
___________________________