CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2000
    Location
    Japan
    Posts
    134

    Determining Version of the app

    How do I Determining the Version of app before I download the app from the web.

    i.e Consider app is on www.aaa.con.
    Now before downloading I want to check the version of ccc.exe. How to do this

    Any help will be appreciated
    Thanks

    Webmaster of (Code Master)

  2. #2
    Join Date
    Oct 1999
    Location
    Seattle, Washington, USA
    Posts
    109

    Re: Determining Version of the app

    The only way I know to check the version of an executable other than the one currently running is to use the Windows API. GetFileTime() will provide the creation time and date.

    I have yet to find a function that obtains the actual version information. I know it's out there though...

    - Shawn
    [ Disclaimer: Unless explicitly stated otherwise, code examples provided have not been tested. ]
    Using Visual Sudio 6, Enterprise Ed.

  3. #3
    Join Date
    Mar 2000
    Location
    Japan
    Posts
    134

    Re: Determining Version of the app

    Is it possible to use this funtion to determine the version of the file of remote computer.

    Webmaster of (Code Master)

  4. #4
    Join Date
    Oct 1999
    Location
    Seattle, Washington, USA
    Posts
    109

    Re: Determining Version of the app

    What do you mean by "remote computer"? If it's on a Windows network, it should work like any other file. If you're talking about a file on an ftp server, you'll need to download it first.



    - Shawn
    [ Disclaimer: Unless explicitly stated otherwise, code examples provided have not been tested. ]
    Using Visual Sudio 6, Enterprise Ed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured