|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
how do I get date and time of compilation> should I use property? class level variable and use pre-processor? I use the exe file's date:FileDateTime(Application.ExecutablePath) There may be something better in in fw 2.0. thank you. that is good enough
Show quoteHide quote "AMercer" <AMer***@discussions.microsoft.com> wrote in message news:90A50396-740A-4446-93F6-CDF068213B6A@microsoft.com... >> should I use property? class level variable and use pre-processor? > > I use the exe file's date: > FileDateTime(Application.ExecutablePath) > There may be something better in in fw 2.0. > oops. Application is not defined when I try to use
FileDateTime(Application.ExecutablePath) in new() what other context can I use it? Show quoteHide quote "AMercer" <AMer***@discussions.microsoft.com> wrote in message news:90A50396-740A-4446-93F6-CDF068213B6A@microsoft.com... >> should I use property? class level variable and use pre-processor? > > I use the exe file's date: > FileDateTime(Application.ExecutablePath) > There may be something better in in fw 2.0. > > oops. Application is not defined when I try to use It is probably your imports. The fully qualified names are:> FileDateTime(Application.ExecutablePath) > in new() > what other context can I use it? Microsoft.VisualBasic.FileDateTime System.Windows.Forms.Application.ExecutablePath thank you
However I still get trouble with Dim appPathFn As String appPathFn = System.Windows.Forms.Application.ExecutablePath Windows is not a member of System I am using visual basic .net express 2005. don't know if that make any difference. So far Google has not helped be yet Show quoteHide quote "AMercer" <AMer***@discussions.microsoft.com> wrote in message news:76D867B8-F8AC-47AB-ABE2-9EF217BA42F4@microsoft.com... >> oops. Application is not defined when I try to use >> FileDateTime(Application.ExecutablePath) >> in new() >> what other context can I use it? > > It is probably your imports. The fully qualified names are: > Microsoft.VisualBasic.FileDateTime > System.Windows.Forms.Application.ExecutablePath >
bring an already running app to the front
How do you get to this newsgroup quickly, AND STAY HERE? why is dataAdapter.UpdateCommand not updating? Label problem How can you convert an integer into a VB.NET color? Requesting advice: shared properties vs other class interactions. create csv file Upload a file in a web server with a WinForm Lost focus ChartFX Slowness |
|||||||||||||||||||||||