Hello, friends,
In our c#.net 2005 project, I clicked on project property.
At application tab of property page, clicked on Assembly Information...
button,
All boxes were left blank, including Product text box,
Run the app, checked value of Application.Pro ductName, and there was a value
for this property!
I thought this value was defined in Product text box mentioned above, but,
obviously I was wrong.
Then, where to define Application.Pro ductName? Thanks a lot. 1 9203
Application.Pro ductName looks at (in order, until something non-empty
is found):
* The AssemblyProduct attribute against the entry assembly (i.e. the
exe), if defined; this is usually set in AssemblyInfo.cs as an
[assembly: AssemblyProduct ("Some string")] entry, which is what the
IDE is showing you
* The ProductName set in the the exe's file metadata
* The last portion of the namespace of the Type with the entry-point
in the entry-assembly (the Type with the Main() method, in other
words)
* The name of the Type with the entry-point in the entry-assembly
Does that help? First: check for an AssemblyProduct attribute in an
unusual location...
Marc This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Phil Galey |
last post by:
I created a VB.NET application, together with an associated installation
project, and in the installation project I specified the ProductName. But
when I run the application, if I try to retrieve the ProductName using
Application.ProductName, it always returns an empty string. I've looked
under Solution Properties, but haven't found anything.
How do I get Application.ProductName to return the application product name?
Thanks.
|
by: JP |
last post by:
Hi,
I did set the assembly attribute:
<Assembly: AssemblyProduct("Verzorgingsplaatsen")>
but when I call Application.Productname it returns an empty string. What's wrong?
JP
|
by: A.M |
last post by:
Hi,
In vb.bet we have Application object that gives us information about
application name and path (like Application.ProductName). How can i have
Application object functionality in C# ?
Thanks,
Ali
|
by: CJ |
last post by:
Hi
Could anyone advise how to set the ProductName attribute of the application object
Thanks
CJ
|
by: DemonIT |
last post by:
Hi,
I am trying to set the status bar of my form to include the product
name and product version.
Here is my code:
Private Sub initStatusBar()
Dim sSBText as String = Application.ProductName & Space(3) &
"v" & Application.ProductVersion
| |
by: Lal |
last post by:
dear all,
how can i defaine the application path to vb.net
please help me
--
|
by: BobRoyAce |
last post by:
I am using Visual Studio 2005 and I am publishing the Windows Forms
application that I'm developing to a web site from which clients
install it. When I do this, I specify that the application can be run
locally. The application contains a setting for the connection string
(contained in Settings.settings.vb) to use which I can change by
viewing the projects properties. This all works just fine.
My question is "Where do the application...
|
by: Austere |
last post by:
Hi,
Could anyone help? I need to use the directory path where the application is stored. In VB it can be done using My.Application.Info.DirectoryPath
What's the alternative in VC++??
Thanks in advance..
|
by: Water Cooler v2 |
last post by:
How do you set Application object properties in design mode? I am
doing a WinForms app using v1.1 of the framework and VS.NET 2003.
In VB6, there used to be an App object and you could easily set its
properties in Project->Properties menu in the VS 6.0 IDE.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |