I think this will be an easy one for you guys...I hope...

I'm just about to distribute an app to a whole bunch of users that automates orders through an Attachmate Extra! session. My concern is that there will undoubtedly be several enhancements in the future that I need to be 100% certain EVERY employee installs at the time they're built and doesn't use outdated versions. To ensure this'll happen, I included a code that will stop the app if its not the most current version according to my log:
VB Code:
  1. Dim ff As Long
  2. Dim row As String
  3.  
  4. THIS_VERSION = "1.5"                                        'DEFINES THIS VERSION
  5.  
  6. ff = FreeFile
  7. Open "G:\Borkat Team\AUTOMATION TOOLS\OE AUTOMATION\programming\version log\oe_version.txt" For Input As #ff    
  8. 'the text file just says 1.5 or 1.6 or whatever my most current version will be at the time.
  9. Line Input #ff, row
  10.             NEWEST_VERSION = Left$(row,3)           'DEFINES THE NEWEST VERSION  
  11.     If THIS_VERSION <> NEWEST_VERSION then
  12. Begin Dialog outdated 145, 86, 241, 60, "OE AUTOMATION v 1.5"
  13.    OkButton  96, 43, 50, 14
  14.    Text  4, 23, 227, 12, "Please install the newest version at this time."
  15.    Text  3, 7, 227, 10, "ERROR:  You are not using the most current version of this Utility!"
  16. End Dialog
  17.     Dim OUTDATED as outdated
  18.     Dialog OUTDATED
  19.     Goto END_OF_MACRO:                                        'I know, goto statements are ghetto...but in this situation, it works perfectly.
  20.     End If

In this example, 1.5 is the version of the tool that they're using. If I've written a 1.6, then I'll update that version text file to say 1.6 instead...and that will stop users from running an outdated version of the tool. But then they have to install the scripts for the new version. I just need a code that will take "G:\OE AUTOMATION v 1-6.ebm" and save it as C:\Program Files\Attachmate\Extra\E!E2K\Macros\OE AUTOMATION V 1-6.ebm". Does that exist?