473,396 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Application Name and version

Lou
Whats the eqivilent to:
App.EXEName
App.Magor
App.Minor
App.Revision

-Lou
Nov 21 '05 #1
7 973
"Lou" <lo********@comcast.net> schrieb:
Whats the eqivilent to:
App.EXEName
App.Magor
App.Minor
App.Revision


'Application.ProductName', 'Application.ProductVersion'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #2
Use the several properties of the object returned by this call:

System.Reflection.Assembly.GetExecutingAssembly.Ge tName

--
Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Lou" <lo********@comcast.net> escribió en el mensaje
news:%2****************@tk2msftngp13.phx.gbl...
Whats the eqivilent to:
App.EXEName
App.Magor
App.Minor
App.Revision

-Lou

Nov 21 '05 #3
Addendum:

.... and 'Application.ExecutablePath'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #4
Lou
I tried
Application.

i tried
System Application.

VB did not recognize this??

What namespace do I use?

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eW**************@TK2MSFTNGP14.phx.gbl...
Addendum:

... and 'Application.ExecutablePath'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #5
Lou,
The Application class is in the System.Windows.Forms namespace (and
assembly).

Hope this helps
Jay

"Lou" <lo********@comcast.net> wrote in message
news:ed**************@TK2MSFTNGP12.phx.gbl...
|I tried
| Application.
|
| i tried
| System Application.
|
| VB did not recognize this??
|
| What namespace do I use?
|
| "Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
| news:eW**************@TK2MSFTNGP14.phx.gbl...
| > Addendum:
| >
| > ... and 'Application.ExecutablePath'.
| >
| > --
| > M S Herfried K. Wagner
| > M V P <URL:http://dotnet.mvps.org/>
| > V B <URL:http://classicvb.org/petition/>
|
|
Nov 21 '05 #6
"Lou" <lo********@comcast.net> schrieb:
I tried
Application.

i tried
System Application.

VB did not recognize this??

What namespace do I use?


'Application' is implemented in "System.Windows.Forms.dll". Either add a
reference to this DLL and import the namespace 'System.Windows.Forms' or use
the methods mentioned by Carlos.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #7
add

Imports System.Windows.Forms

at the top of your code file or else you wont be able to access the
application class

"Lou" <lo********@comcast.net> wrote in message
news:ed**************@TK2MSFTNGP12.phx.gbl...
I tried
Application.

i tried
System Application.

VB did not recognize this??

What namespace do I use?

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eW**************@TK2MSFTNGP14.phx.gbl...
Addendum:

... and 'Application.ExecutablePath'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


Nov 21 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Guy | last post by:
I have extended the datetimepicker control to incorporate a ReadOnly property. I have used the new keyword to implement my own version of the value property, so that if readonly == true then it...
21
by: Chris | last post by:
I'm trying to get an existing VS.NET project up on my Win2003 server and I get the following error (on the actual website page): "It is an error to use a section registered as...
3
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following ...
20
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint' forms. Yet, they all seem somewhat 'active' in...
7
by: SparkPlug | last post by:
Does anyone know why I might be getting an XmlSchemaException in App.config configured as below to use the UIP Application Block? I get the following error for every element, sub-element and...
6
by: JeffDotNet | last post by:
Writing to a registered source in the Application event log I have an asp.net framework 2.0 app that I created on a winxp machine and now I am deploying it to IIS6 on a win server2003 machine. ...
0
by: BallCOMET | last post by:
I have an application that I built with Visual Studio 2005 and for which I enabled OpenMP. If I open the compiled binary in Visual Studio, this is the manifest that is embedded in the executable...
2
by: Learning.Net | last post by:
hi , I have a application which reads files, directory,and its version and version information is written to text file.Its working fine if files in directory are less but problem arises when no...
3
by: John | last post by:
Hi Is there an easy way to allow user to change application settings at run time short of editing the configuration file manually? Thanks Regards
1
by: John | last post by:
Hi I am looking for an editor that will allow a user to edit application configuration easily and I have found below; http://www.codeproject.com/KB/cs/configeditor.aspx Unfortunately it...
0
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.