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

Re: Version.Build by Patrice

Patrice
Tue Nov 20 07:05:42 PST 2007

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-22FE3BB209E0@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



Re: Version.Build by Will

Will
Wed Nov 28 07:53:01 PST 2007

If My.Application.IsNetworkDeployed Then
Version.Text = My.Application.Deployment.CurrentVersion.X.ToString


WHERE X is Major, Minor, Build, or Revision
--
-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-22FE3BB209E0@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
>
>
>