> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Mike yearwood
> Sent: Wednesday, July 11, 2007 11:45 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Date of executable
> 
> Hi Jeff
> 
> > Is there any way to get the date and version of the executable while
> running
> > in production?  FDATE() and AGETFILEVERSION() you have to pass the file
> > name.  This application is running on terminal servers and it would be
> > better if we could get those two bits of information programmatically.
> >
> 
> Does this help?
> 
> lcExe = UPPER(JUSTFNAME(SYS(16, 0)))
> IF ".EXE" $ m.lcExe
>   AGETFILEVERSION(laDetails, m.lcExe)
> ENDIF

Mike:  I was using something like this, but I am not only working with
terminal servers, but also virtual terminal servers.  We blew up a payroll
file due to load balancing picking up a terminal server that was supposed to
be offline that had an old version of the exe.  When we spot a problem it
would be better to know that the executable is out of date and then query
which virtual machine we are running on.

I would really like something like VERSION() for the exe coming from within
the program.

Jeff 

Jeff Johnson
[EMAIL PROTECTED]
623-582-0323
Fax 623-869-0675 


--- StripMime Report -- processed MIME parts ---
multipart/signed
  text/plain (text body -- kept)
  application/x-pkcs7-signature
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to