I would like to display version and build in the Help>About menu for my
users during the beta-testing phase. When VisualStudio publishes the
application, it knows this information, even though I have not updated
the AssemblyInfo file; it still reads
<Assembly: AssemblyVersion("1.0,0,0")>
What object is the Publish wizard accessing to get this info?
Thanks
Tim 2 975
On Oct 24, 1:34 pm, Tim <a...@anon.comwrote:
I would like to display version and build in the Help>About menu for my
users during the beta-testing phase. When VisualStudio publishes the
application, it knows this information, even though I have not updated
the AssemblyInfo file; it still reads
<Assembly: AssemblyVersion("1.0,0,0")>
What object is the Publish wizard accessing to get this info?
Thanks
Tim
In your main executable you can do something like:
Dim v As Version = Assembly.GetExecutingAssembly().GetName().Version
HTH,
--
Tom Shelton
On Oct 24, 1:34 pm, Tim <a...@anon.comwrote:
I would like to display version and build in the Help>About menu for my
users during the beta-testing phase. When VisualStudio publishes the
application, it knows this information, even though I have not updated
the AssemblyInfo file; it still reads
<Assembly: AssemblyVersion("1.0,0,0")>
What object is the Publish wizard accessing to get this info?
Thanks
Tim
Oh... I should also mention the whole My thing. You can also use:
My.Application.Info.Version
--
Tom Shelton This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Svenn-Ivar Svendsen |
last post by:
I'm implementing a windows application with generic support for
scripting, and I'm using the microsoft script control (msscript).
For vbscript/jscript I'm happy, but with python I got problems...
|
by: wan2tri |
last post by:
hello, good day to all of you,
hi, im am new in .net , how can i access two or more
object remotely , because currently im only accessing one
object, windows services is the host, i have a...
|
by: Alfred B. Thordarson |
last post by:
I have a problem accessing a DLL using C#.
I'm using C/FRONT with Navision's CFRONT.DLL, which contains the
method:
DBL_S32* DBL_NextKey(DBL_HTABLE hTable, DBL_S32* Key);
typedef signed long...
|
by: AdamM |
last post by:
Hi all,
When I run my VbScript, I get the error: "ActiveX component can't create
object: 'getobject'. Error 800A01AD". Any ideas what I did wrong?
Here's my VBScript:
dim o
set...
|
by: Mike M |
last post by:
Hello,
I created a simple C# library assembly that exposes general facilities I
would like to use in my ASP.NET web applications. If I added the assembly
into the bin directory of my asp.net...
|
by: Jeff |
last post by:
Hey
asp.net 2.0
In the source I posted below, there is a GridView (look at the bottom of the
script):
<asp:GridView ID="gvwOnline" runat="server">
</asp:GridView>
I'm trying to assign a...
|
by: zumbo |
last post by:
I'm accessing MSOutlook via Microsoft.Office.Interop.Outlook. It works
fine if I add a reference to either version 11 (Outlook 2003) or
version 12 (Outlook 2007) of the interop assembly to my...
|
by: sachins5 |
last post by:
Hi everyone,
I am facing a problem here... my build was working fine till yesterday and then out of the blue every debug operation resulted in
An unhandled exception of type occured in the...
|
by: anujzcool |
last post by:
Is there any way of accessing and modifying configuration properties at runtime.
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |