lblDate.text = Application.LastModifiedDate

Posted on 2006-03-24
Last Modified: 2012-08-14
hi, i want a label to display the current exe's last modified date
how can i do this?
Question by:jxharding
    LVL 5

    Accepted Solution

    does this work?

            Dim file As New IO.FileInfo(Application.ExecutablePath)
            If file.Exists Then
            End If
    LVL 1

    Assisted Solution


    Label1.Text = file.LastWriteTime.ToString

    Should do the trick also
    LVL 5

    Expert Comment

    oops :) yeah your right Reclusive, showing a messagebox won't set the text on a label :)

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now