|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Version.BuildWhy do My.Application.Info.Version.Build &
My.Application.Info.Version.Revision always return zeros? I ahve numbers in the Publish tab of the windows application, but I can't seem to report them on my spalsh screen. Thanks The binary file and the published version have both their own version. The
numbers you see in the publish tab are something like (from the top of my head) My.Application.Info.Deployment.Version. You may want also to test IsNetworkDeployed before as Deployment is not available if the application is not deployed by using ClickOnce (such as when working from the IDE). -- Patrice "Herb" <Junior1957@newsgroups.nospam> a écrit dans le message de news: 3C1C5988-7E83-41F1-AAC1-22FE3BB20***@microsoft.com...Show quote > Why do My.Application.Info.Version.Build & > My.Application.Info.Version.Revision always return zeros? I ahve numbers > in > the Publish tab of the windows application, but I can't seem to report > them > on my spalsh screen. > > Thanks If My.Application.IsNetworkDeployed Then
Version.Text = My.Application.Deployment.CurrentVersion.X.ToString WHERE X is Major, Minor, Build, or Revision -- Show quote-Will "Patrice" wrote: > The binary file and the published version have both their own version. The > numbers you see in the publish tab are something like (from the top of my > head) My.Application.Info.Deployment.Version. You may want also to test > IsNetworkDeployed before as Deployment is not available if the application > is not deployed by using ClickOnce (such as when working from the IDE). > > -- > Patrice > > > "Herb" <Junior1957@newsgroups.nospam> a écrit dans le message de news: > 3C1C5988-7E83-41F1-AAC1-22FE3BB20***@microsoft.com... > > Why do My.Application.Info.Version.Build & > > My.Application.Info.Version.Revision always return zeros? I ahve numbers > > in > > the Publish tab of the windows application, but I can't seem to report > > them > > on my spalsh screen. > > > > Thanks > > > |
|||||||||||||||||||||||