473,789 Members | 2,860 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Application.Pro ductName Returns Empty String

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.Pro ductName, it always returns an empty string. I've looked
under Solution Properties, but haven't found anything.

How do I get Application.Pro ductName to return the application product name?
Thanks.
Jul 21 '05 #1
4 3290
The product name is set in the application's AssemblyInfo.vb file, in the
AssemblyProduct attribute.

HTH,
Tom Dacon
Dacon Software Consulting

"Phil Galey" <pa*****@starca lif.com.nospam> wrote in message
news:us******** ******@TK2MSFTN GP11.phx.gbl...
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.Pro ductName, it always returns an empty string. I've looked
under Solution Properties, but haven't found anything.

How do I get Application.Pro ductName to return the application product name? Thanks.

Jul 21 '05 #2
The product name is set in the application's AssemblyInfo.vb file, in the
AssemblyProduct attribute.

HTH,
Tom Dacon
Dacon Software Consulting

"Phil Galey" <pa*****@starca lif.com.nospam> wrote in message
news:us******** ******@TK2MSFTN GP11.phx.gbl...
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.Pro ductName, it always returns an empty string. I've looked
under Solution Properties, but haven't found anything.

How do I get Application.Pro ductName to return the application product name? Thanks.

Jul 21 '05 #3
Yes, look thru the AssemblyInfo.vb file, you can set all of the internal app
info within - including auto incrementing build version values. After you
set these values you can test by building the exe, then go to bin directory
and right click exe and select properties.
"Phil Galey" <pa*****@starca lif.com.nospam> wrote in message
news:us******** ******@TK2MSFTN GP11.phx.gbl...
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.Pro ductName, it always returns an empty string. I've looked
under Solution Properties, but haven't found anything.

How do I get Application.Pro ductName to return the application product name? Thanks.

Jul 21 '05 #4
Yes, look thru the AssemblyInfo.vb file, you can set all of the internal app
info within - including auto incrementing build version values. After you
set these values you can test by building the exe, then go to bin directory
and right click exe and select properties.
"Phil Galey" <pa*****@starca lif.com.nospam> wrote in message
news:us******** ******@TK2MSFTN GP11.phx.gbl...
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.Pro ductName, it always returns an empty string. I've looked
under Solution Properties, but haven't found anything.

How do I get Application.Pro ductName to return the application product name? Thanks.

Jul 21 '05 #5

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

Similar topics

3
8900
by: tornado | last post by:
Hi all, I am pretty new to PHP. I was reading PHP manual and trying out the example from 2nd chapter (A simple Tutorial). When i try to print the variable as given in the example it returns a empty value instead of returning the browser type. Here is the line which i am using in my code and from manual: <?php echo $_SERVER; ?>
2
312
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.
0
1198
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
9
3976
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 will not set the value of the control and will leave the checked status of the checkbox to false when a user selects a new date. this works fine when using the control on a win2k machine but if we use it on a win XP box and call
13
4949
by: David Rose | last post by:
Hi, I am trying to launch pdf files (in this case). The test application takes the path to the pdf from a TextBox when the user clicks a button. I have written code that works on my computer, but I have doubts that my method is universal. Basically, in HKEY_CLASSES_ROOT, I look up the .pdf extension and get the human readable class id. Then I look that up, recursing through the tree until I get to "command" and then return that...
2
13129
by: Chang | last post by:
how to get the name of a running application using C# e.g. if i have 20 dll files and my application name is MyGreatApplication then how to get the name "MyGreatApplication" at runtime? thx in adv. c
8
6048
by: mike2036 | last post by:
I have an application (that has unmanaged code) and when I launch it without 'FullTrust' permissions (LocalIntranet_Zone), it crashes. When I set 'FullTrust' permissions, it launches fine. Is there a way I can compile the application such that it won't even attempt to launch without correct permissions instead of just crashing? Thanks for any help. -Mike
2
3019
by: Chubbly Geezer | last post by:
Does anyone have any experience of this functionality. I have started to swap out my connection code for the std functionality within these dll's. The data connection is fine, I can also run commands and return datasets. However, the example they use to update a dataset is awful. It seems to reply on hard coded sql store procedures (3 for each table) in order to work. This is so much more unfriendly than the standard process of updating...
1
9203
by: =?Utf-8?B?QW5kcmV3?= | last post by:
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.ProductName, and there was a value for this property! I thought this value was defined in Product text box mentioned above, but,
1
1568
by: Cind | last post by:
I have to populate a listbox with details of a particular customer. For example, you may want to view a Customer with the current products for that Customer. List Box should display the current prouct name registered by that customer. Here goes my try, Form1.cs: private void ProductsRegistered(string UserName, string productID) { UserData.ProductsRegistered proreg = userdata.GetRegisteredProducts(UserName,...
0
9511
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,...
1
10139
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9984
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9020
agi2029
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...
1
7529
isladogs
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...
0
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5418
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...
1
4093
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
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.