Solved

Application.Productname returns empty string

Posted on 2004-10-28
231 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
Question by:JosP
    4 Comments
     
    LVL 7

    Expert Comment

    by:J_Mak
    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
    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:
    0
     

    Expert Comment

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Article by: Kraeven
    Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
    Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
    This video Micro Tutorial is the first in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles al…

    875 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

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now