Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Application.Productname returns empty string

Posted on 2004-10-28
4
Medium Priority
?
255 Views
Last Modified: 2010-04-23
Hi,

I set the assembly attribute <Assembly: AssemblyProduct("Verzorgingsplaatsen")>

But Application.Productname remains empty. What's wrong?

JosP
0
Comment
Question by:JosP
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 7

Expert Comment

by:J_Mak
ID: 12441854
Instead of looking in the AssemblyInfo.vb file, click on the project in the server explorer. Then look at the 'Properties' window. One of the property items should be 'Productname'. Set it there. Cheers.
0
 

Author Comment

by:JosP
ID: 12441982
There is no such property on the properties window.
The sample code below suggests there is a Productname property to the Me keyword. But I don't see it.

JosP

' Visual Basic
Imports System
Imports System.Windows.Forms
Imports System.Reflection

' Set the assembly attributes.
<Assembly: AssemblyCompany("Microsoft")>
<Assembly: AssemblyProduct("MyApplication")>
<Assembly: AssemblyVersion("1.0.1")>
Public Class AboutDialogBox
   Inherits Form
   
   Public Sub New()
      ' Display the assembly information in a Label.
      Dim label1 As New Label()
      label1.Text = _
        Me.CompanyName + " " + _
        Me.ProductName + " Version: " + _
        Me.ProductVersion
      label1.AutoSize = True
      Me.Controls.Add(label1)
   End Sub
End Class
0
 
LVL 18

Accepted Solution

by:
armoghan earned 500 total points
ID: 12442018
0
 

Expert Comment

by:koneill99
ID: 14730451
Solution worked great.  Keep up the great work!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question