Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 25th, 2004, 04:27 AM
Authorized User
 
Join Date: Nov 2003
Location: , , .
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default Project Version...

Hi,

How do i determine the Project Version from VB; meaning I would like to programatically determine the Version Number => Major / Minor / Revision of an VB Project. These are the one's i enter when i create a project. Also it would be nice if I get a code that is compatible for a DLL project too.

Please Advice,
Babloo
  #2 (permalink)  
Old April 26th, 2004, 02:59 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Within your own DLL you can use the App.Major, App.Minor and App.Revision properties. For other DLLs you'll need API calls, like GetFileVersionInfo.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passwords from version 1 to version 2 Maxxim BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 February 6th, 2007 06:49 PM
Website project vs Web Application Project... thenoseknows ASP.NET 2.0 Professional 0 January 14th, 2007 09:47 PM
Add report of one project into another project tejaswibv Crystal Reports 0 July 13th, 2005 04:40 AM
Upgrading project from earlier version of Spring? djmnyc BOOK: Expert One-on-One J2EE Design and Development 1 November 7th, 2003 12:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.