product version

G

Guy Cohen

Hi all

I use: me.caption =Application.ProductVersion() (vb 2005)
to present the version of the product.
It always show 1.0.0.0
I googled some and found that I have to edit assemblyinfo.vb
1. When I add it to the project - I have compilation errors.
2. When I did that - it did not help...
3. Do I really have to edit it and not use the gui to change the revision ?

TIA
Guy Cohen
 
K

kimiraikkonen

Hi all

I use: me.caption =Application.ProductVersion() (vb 2005)
to present the version of the product.
It always show 1.0.0.0
I googled some and found that I have to edit assemblyinfo.vb
1. When I add it to the project - I have compilation errors.
2. When I did that - it did not help...
3. Do I really have to edit it and not use the gui to change the revision ?

TIA
Guy Cohen

I think accessing version info under your app brings you straight
ahead to the version info which is located in assembly info:

Right click your app -> properties ->application -> assembly info ->
info.

You can access via:

My.Application.Info.Version.ToString


Hope this helps.
 
G

Guy Cohen

Exactly it...

Now other will be able to google your solution :)
Right click your app -> properties ->application -> assembly info -> info.

Thanks a lot
Guy Cohen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top