index > Installing and Registering Visual Studio Express Editions > Auto Update Versioning Info

Auto Update Versioning Info

When publishing vbexpress application, you can specify that it increases the version number each time, and it does indeed create different published versions with the updated versioning in the name of the folders/files.

However, the splash screen displays the versioning info from the Application dialogs, that do NOT increment.

Any way to modify splash screen to reference the incrementing publish versioning info, or to get the Application versioning to auto increment?

   Ed Tenholder

Ed Tenholder
After much research, here are the muliple sources of versioning information that I was able to find:

Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

'' Get Version as it appears in "My Project/Application/Assembly Information/Assembly Version" Dialog

MsgBox("Assembly Version: " & My.Application.Info.Version.ToString)

'' Get Version as it appears in "My Project/Application/Assembly Information/File Version" Dialog

MsgBox("File Version: " & Application.ProductVersion)

'' Get Version as it appears in "My Project/Publish/Publish Version" Dialog

If My.Application.IsNetworkDeployed Then

' App is deployed by ClickOnce, so the following is valid

MsgBox("Publish Version: " & My.Application.Deployment.CurrentVersion.ToString)

Else

' App is NOT deployed by ClickOnce (running in VS development environment for instance)

MsgBox("Publish Version: " & "not deployed")

End If

End Sub

End Class



For Splash form, I am using the third version, with proper check to make sure I'm running an installed application

      Ed Tenholder

Ed Tenholder
reply 2

You can use google to search for other answers

 

More Articles

• Install order?
• Visual C++ 2005 documentation
• Record Locking
• uninstalling C#2005
• express editions
• Visual Web Dev. - Creating a database
• C++/SDK fails to link empty app
• MSDN Express Edition Download Location
• Problems uninstalling Visual Web Developer 2005 Express Edition
• Losing data
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• Read from port
• Problems installing VB 2005 Express
• Using ODE in 2005 Problems
• VB.NET express really different from VB.
• ToolStrip problem
• Registration process
• putting all the editions in one ide
• Crystal report
• Error Installing Visual Basic 2005 Express
• sql commands in visual basic express 2005
• Express Activation Website and Key
• Problem when installing .NET Framework
• why refactoring of beta2 almost vanished?
• How to INSERT into a Access DB with C# 2
• Visual C# Express 2005 Beta - Is there a

Hot Articles

• SQL Server Express Installation Problem
• Installing Microsoft SQL Server 2005 Ex
• Avalon
• Visual 2005 C++ Express installation
• VB 2005 Express installation hangs
• error 2098
• problem at the start..
• ER Diagrams
• Need Help with DLL error
• Which version of Visual C++?
• Will VS Express do the job?
• need help
• Can't start visual C++ Express
• Visual c# express forms editor not running
• Cant read from a database with vb 2005

Recommend Articles

• Lost Button tool
• Questions About Visual Studio 2005 Express
• No ASP.NET Selector IIS
• Dotfuscator in Express ?
• Is it possible to use MFC in Express
• C#.net
• WSS Web Parts
• Intellisense ())
• installing express editions on same comp
• Image Format Proliferation,Coupla Questi
• Re: .NET Framework 2.0 won't install 'ca
• Extracting and installing of IMG-Files
• Dataset
• install/uninstall problem resolved - tip
• datatable of SQL 2005 express can't be s