By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,353 Members | 1,555 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,353 IT Pros & Developers. It's quick & easy.

Default company name and copyright information in Assembly Informa

P: n/a
Hi everybody,

I'm trying to use the new VB 2008 right now and I want to know how to preset
the company name and copyright informtion in Assembly Information. In my
current VB 2005, company name and copyright information (the word "CopyRight"
with company name and year) is filled in automatically once a new project is
created. However, I have no idea where I can configurate it in my new VB
2008.

Thanks for your kindly advice!

Regards,
James Wong
Jun 30 '08 #1
Share this Question
Share on Google+
10 Replies


P: n/a
Hi James,

From your description, you're wondering how to configure the assembly
information such as "copy right", "company name".... in Visual Studio 2008
created VB.NET project, correct?

Based on my understanding, these info is configurable at design-time via
project's properties setting. You can find the setting via the following
approach:

** In Solution Explorer, right click project node and choose "Properites"
menu

** in the opened properties view, choose the first "Application" tab at
left side(it's the default one)

** on the "application" view panel, you can see a "Assembly information..."
button, click it and will find those assembly information properties

For VB.NET project, there is a quick way to go to Application properties,
here is a blog entry mentioned this:

#Looking at Assembly Information
http://blogs.msdn.com/trobbins/archi...ssembly-inform
ation.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>Thread-Topic: Default company name and copyright information in Assembly
Informa
>thread-index: AcjafYSD/agHeyY4ROmGzZOdr7/Sjg==
X-WBNR-Posting-Host: 65.55.21.8
From: =?Utf-8?B?SmFtZXMgV29uZw==?= <cp********@nospam.nospam>
Subject: Default company name and copyright information in Assembly Informa
Date: Sun, 29 Jun 2008 23:50:00 -0700
>
Hi everybody,

I'm trying to use the new VB 2008 right now and I want to know how to
preset
>the company name and copyright informtion in Assembly Information. In my
current VB 2005, company name and copyright information (the word
"CopyRight"
>with company name and year) is filled in automatically once a new project
is
>created. However, I have no idea where I can configurate it in my new VB
2008.

Thanks for your kindly advice!

Regards,
James Wong
Jun 30 '08 #2

P: n/a
Hi Steven,

Thanks again for your rapid response to my question! However, I may not
describe my question clearly. I know how to input the company name and
copyright information project by project everytime I create a new one. My
case is, in my existing VB 2005, whenever I create a new project, those
information is filled in automatically in Assembly. There is no need for me
to modify manually. But I forgot how I made it sincie it was configurated
several years ago.

Thanks again for your follow-up!

Regards,
James Wong

"Steven Cheng [MSFT]" wrote:
Hi James,

From your description, you're wondering how to configure the assembly
information such as "copy right", "company name".... in Visual Studio 2008
created VB.NET project, correct?

Based on my understanding, these info is configurable at design-time via
project's properties setting. You can find the setting via the following
approach:

** In Solution Explorer, right click project node and choose "Properites"
menu

** in the opened properties view, choose the first "Application" tab at
left side(it's the default one)

** on the "application" view panel, you can see a "Assembly information..."
button, click it and will find those assembly information properties

For VB.NET project, there is a quick way to go to Application properties,
here is a blog entry mentioned this:

#Looking at Assembly Information
http://blogs.msdn.com/trobbins/archi...ssembly-inform
ation.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Thread-Topic: Default company name and copyright information in Assembly
Informa
thread-index: AcjafYSD/agHeyY4ROmGzZOdr7/Sjg==
X-WBNR-Posting-Host: 65.55.21.8
From: =?Utf-8?B?SmFtZXMgV29uZw==?= <cp********@nospam.nospam>
Subject: Default company name and copyright information in Assembly Informa
Date: Sun, 29 Jun 2008 23:50:00 -0700

Hi everybody,

I'm trying to use the new VB 2008 right now and I want to know how to
preset
the company name and copyright informtion in Assembly Information. In my
current VB 2005, company name and copyright information (the word
"CopyRight"
with company name and year) is filled in automatically once a new project
is
created. However, I have no idea where I can configurate it in my new VB
2008.

Thanks for your kindly advice!

Regards,
James Wong

Jun 30 '08 #3

P: n/a
James Wong wrote:
I'm trying to use the new VB 2008 right now and I want to know how to preset
the company name and copyright informtion in Assembly Information. In my
current VB 2005, company name and copyright information (the word "CopyRight"
with company name and year) is filled in automatically once a new project is
created. However, I have no idea where I can configurate it in my new VB
2008.
(Somewhere within the Visual Basic installation) Locate and modify the
Project /Templates/ to set the Company Name and other, static text.

Modify the associated JScript code to dynamically insert the current
year - or hard-code the year as well and get ready to edit and
re-release all your templates every January 1st. :-)

HTH,
Phill W.
Jun 30 '08 #4

P: n/a
Hi James,

Thanks for your quick reply and the further clarify.

Now I've got your actual goal on this. For the default values for a new
created project, those default values(put in the precreated project files
such as AssemblyInfo.xx Form1.xx ...) are retrieved from the project
template. You can lookup all the existing built-in project templates in the
following project template folder of Visual Studio(9.0 for vs 2008):

#this is the path for VB.NET project:
C:\Program Files\Microsoft Visual Studio
9.0\Common7\IDE\ProjectTemplates\VisualBasic\

For example, you can look into the package of classlibrary project:

C:\Program Files\Microsoft Visual Studio
9.0\Common7\IDE\ProjectTemplates\VisualBasic\windo ws\1033\classlibrary.zip

in the the zip package, you can find the "AsseblyInfo.vb" template file.
Those properties(such as assembly company copyright ) use some global
constant from visual studio or OS's registry data. If you want them to
reflect your own custom values, you can open the package and customize
it(the assemblyInfo.vb or other template files).

Here are some further reference about project templates in Visual Studio:

#Default Project Templates in Visual Studio
http://msdn.microsoft.com/en-us/library/0fyc0azh.aspx

#Customizing Project and Item Templates
http://msdn.microsoft.com/en-us/library/ms247119.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: =?Utf-8?B?SmFtZXMgV29uZw==?= <cp********@nospam.nospam>
References: <68**********************************@microsoft.co m>
<Sa**************@TK2MSFTNGHUB02.phx.gbl>
>Subject: RE: Default company name and copyright information in Assembly Inf
Date: Mon, 30 Jun 2008 01:04:00 -0700
>
Hi Steven,

Thanks again for your rapid response to my question! However, I may not
describe my question clearly. I know how to input the company name and
copyright information project by project everytime I create a new one. My
case is, in my existing VB 2005, whenever I create a new project, those
information is filled in automatically in Assembly. There is no need for
me
>to modify manually. But I forgot how I made it sincie it was configurated
several years ago.

Thanks again for your follow-up!

Regards,
James Wong

"Steven Cheng [MSFT]" wrote:
>Hi James,

From your description, you're wondering how to configure the assembly
information such as "copy right", "company name".... in Visual Studio
2008
>created VB.NET project, correct?

Based on my understanding, these info is configurable at design-time via
project's properties setting. You can find the setting via the following
approach:

** In Solution Explorer, right click project node and choose
"Properites"
>menu

** in the opened properties view, choose the first "Application" tab at
left side(it's the default one)

** on the "application" view panel, you can see a "Assembly
information..."
>button, click it and will find those assembly information properties

For VB.NET project, there is a quick way to go to Application
properties,
>here is a blog entry mentioned this:

#Looking at Assembly Information
http://blogs.msdn.com/trobbins/archi...ssembly-inform
>ation.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
and
>suggestions about how we can improve the support we provide to you.
Please
>feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

================================================= =
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
>ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
>where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each
follow
>up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach
the
>most efficient resolution. The offering is not appropriate for
situations
>that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are
best
>handled working with a dedicated Microsoft Support Engineer by
contacting
>Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
================================================= =
This posting is provided "AS IS" with no warranties, and confers no
rights.
>>
--------------------
>Thread-Topic: Default company name and copyright information in
Assembly
>Informa
>thread-index: AcjafYSD/agHeyY4ROmGzZOdr7/Sjg==
X-WBNR-Posting-Host: 65.55.21.8
From: =?Utf-8?B?SmFtZXMgV29uZw==?= <cp********@nospam.nospam>
Subject: Default company name and copyright information in Assembly
Informa
>Date: Sun, 29 Jun 2008 23:50:00 -0700
>
Hi everybody,

I'm trying to use the new VB 2008 right now and I want to know how to
preset
>the company name and copyright informtion in Assembly Information. In
my
>current VB 2005, company name and copyright information (the word
"CopyRight"
>with company name and year) is filled in automatically once a new
project
>is
>created. However, I have no idea where I can configurate it in my new
VB
>2008.

Thanks for your kindly advice!

Regards,
James Wong

Jul 1 '08 #5

P: n/a
Hi Steven,

Thanks for your reply! Now I understand where the default values come from
in my existing VB2005. The value $registeredorganization$ from registry
should be the key in this case. However, the PC I use to evaluate VB2008 is
a new one and I installed Windows Vista from DVD. I think I may skip to
provide the value so VB2008 fails to retrieve it from registry. Now my
question is shifted to how I can fill value in $registeredorganization$.

Thanks again for your follow-up.

Regards,
James Wong

"Steven Cheng [MSFT]" wrote:
Hi James,

Thanks for your quick reply and the further clarify.

Now I've got your actual goal on this. For the default values for a new
created project, those default values(put in the precreated project files
such as AssemblyInfo.xx Form1.xx ...) are retrieved from the project
template. You can lookup all the existing built-in project templates in the
following project template folder of Visual Studio(9.0 for vs 2008):

#this is the path for VB.NET project:
C:\Program Files\Microsoft Visual Studio
9.0\Common7\IDE\ProjectTemplates\VisualBasic\

For example, you can look into the package of classlibrary project:

C:\Program Files\Microsoft Visual Studio
9.0\Common7\IDE\ProjectTemplates\VisualBasic\windo ws\1033\classlibrary.zip

in the the zip package, you can find the "AsseblyInfo.vb" template file.
Those properties(such as assembly company copyright ) use some global
constant from visual studio or OS's registry data. If you want them to
reflect your own custom values, you can open the package and customize
it(the assemblyInfo.vb or other template files).

Here are some further reference about project templates in Visual Studio:

#Default Project Templates in Visual Studio
http://msdn.microsoft.com/en-us/library/0fyc0azh.aspx

#Customizing Project and Item Templates
http://msdn.microsoft.com/en-us/library/ms247119.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?SmFtZXMgV29uZw==?= <cp********@nospam.nospam>
References: <68**********************************@microsoft.co m>
<Sa**************@TK2MSFTNGHUB02.phx.gbl>
Subject: RE: Default company name and copyright information in Assembly Inf
Date: Mon, 30 Jun 2008 01:04:00 -0700

Hi Steven,

Thanks again for your rapid response to my question! However, I may not
describe my question clearly. I know how to input the company name and
copyright information project by project everytime I create a new one. My
case is, in my existing VB 2005, whenever I create a new project, those
information is filled in automatically in Assembly. There is no need for
me
to modify manually. But I forgot how I made it sincie it was configurated
several years ago.

Thanks again for your follow-up!

Regards,
James Wong

"Steven Cheng [MSFT]" wrote:
Hi James,

From your description, you're wondering how to configure the assembly
information such as "copy right", "company name".... in Visual Studio
2008
created VB.NET project, correct?

Based on my understanding, these info is configurable at design-time via
project's properties setting. You can find the setting via the following
approach:

** In Solution Explorer, right click project node and choose
"Properites"
menu

** in the opened properties view, choose the first "Application" tab at
left side(it's the default one)

** on the "application" view panel, you can see a "Assembly
information..."
button, click it and will find those assembly information properties

For VB.NET project, there is a quick way to go to Application
properties,
here is a blog entry mentioned this:

#Looking at Assembly Information
http://blogs.msdn.com/trobbins/archi...ssembly-inform
ation.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
and
suggestions about how we can improve the support we provide to you.
Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each
follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach
the
most efficient resolution. The offering is not appropriate for
situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are
best
handled working with a dedicated Microsoft Support Engineer by
contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
>
--------------------
Thread-Topic: Default company name and copyright information in
Assembly
Informa
thread-index: AcjafYSD/agHeyY4ROmGzZOdr7/Sjg==
X-WBNR-Posting-Host: 65.55.21.8
From: =?Utf-8?B?SmFtZXMgV29uZw==?= <cp********@nospam.nospam>
Subject: Default company name and copyright information in Assembly
Informa
Date: Sun, 29 Jun 2008 23:50:00 -0700


Hi everybody,

I'm trying to use the new VB 2008 right now and I want to know how to
preset
the company name and copyright informtion in Assembly Information. In
my
current VB 2005, company name and copyright information (the word
"CopyRight"
with company name and year) is filled in automatically once a new
project
is
created. However, I have no idea where I can configurate it in my new
VB
2008.

Thanks for your kindly advice!

Regards,
James Wong



Jul 2 '08 #6

P: n/a
Thanks for your reply James,

Yes, I think those values should be maintained in registry, however, so far
I haven't found clear documentation on this. I'll consult some other VS IDE
engineers to see whether they have any furhter information on the settings.
I'll let you know if I get any update.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: =?Utf-8?B?SmFtZXMgV29uZw==?= <cp********@nospam.nospam>
References: <68**********************************@microsoft.co m>
<Sa**************@TK2MSFTNGHUB02.phx.gbl>
<1D**********************************@microsoft.co m>
<i$**************@TK2MSFTNGHUB02.phx.gbl>
>Subject: RE: Default company name and copyright information in Assembly Inf
Date: Tue, 1 Jul 2008 19:09:00 -0700
>
Hi Steven,

Thanks for your reply! Now I understand where the default values come
from
>in my existing VB2005. The value $registeredorganization$ from registry
should be the key in this case. However, the PC I use to evaluate VB2008
is
>a new one and I installed Windows Vista from DVD. I think I may skip to
provide the value so VB2008 fails to retrieve it from registry. Now my
question is shifted to how I can fill value in $registeredorganization$.

Thanks again for your follow-up.

Regards,
James Wong

"Steven Cheng [MSFT]" wrote:
>Hi James,

Thanks for your quick reply and the further clarify.

Now I've got your actual goal on this. For the default values for a new
created project, those default values(put in the precreated project
files
>such as AssemblyInfo.xx Form1.xx ...) are retrieved from the project
template. You can lookup all the existing built-in project templates in
the
>following project template folder of Visual Studio(9.0 for vs 2008):

#this is the path for VB.NET project:
C:\Program Files\Microsoft Visual Studio
9.0\Common7\IDE\ProjectTemplates\VisualBasic\

For example, you can look into the package of classlibrary project:

C:\Program Files\Microsoft Visual Studio
9.0\Common7\IDE\ProjectTemplates\VisualBasic\windo ws\1033\classlibrary.zip
>>
in the the zip package, you can find the "AsseblyInfo.vb" template file.
Those properties(such as assembly company copyright ) use some global
constant from visual studio or OS's registry data. If you want them to
reflect your own custom values, you can open the package and customize
it(the assemblyInfo.vb or other template files).

Here are some further reference about project templates in Visual Studio:

#Default Project Templates in Visual Studio
http://msdn.microsoft.com/en-us/library/0fyc0azh.aspx

#Customizing Project and Item Templates
http://msdn.microsoft.com/en-us/library/ms247119.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
and
>suggestions about how we can improve the support we provide to you.
Please
>feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

================================================= =
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
>ications.

================================================= =
This posting is provided "AS IS" with no warranties, and confers no
rights.
>--------------------
>From: =?Utf-8?B?SmFtZXMgV29uZw==?= <cp********@nospam.nospam>
References: <68**********************************@microsoft.co m>
<Sa**************@TK2MSFTNGHUB02.phx.gbl>
>Subject: RE: Default company name and copyright information in Assembly
Inf
>Date: Mon, 30 Jun 2008 01:04:00 -0700
>
Hi Steven,

Thanks again for your rapid response to my question! However, I may
not
>describe my question clearly. I know how to input the company name and
copyright information project by project everytime I create a new one.
My
>case is, in my existing VB 2005, whenever I create a new project, those
information is filled in automatically in Assembly. There is no need
for
>me
>to modify manually. But I forgot how I made it sincie it was
configurated
>several years ago.

Thanks again for your follow-up!

Regards,
James Wong

"Steven Cheng [MSFT]" wrote:

Hi James,

From your description, you're wondering how to configure the assembly
information such as "copy right", "company name".... in Visual
Studio
>2008
>created VB.NET project, correct?

Based on my understanding, these info is configurable at design-time
via
>project's properties setting. You can find the setting via the
following
>approach:

** In Solution Explorer, right click project node and choose
"Properites"
>menu

** in the opened properties view, choose the first "Application" tab
at
>left side(it's the default one)

** on the "application" view panel, you can see a "Assembly
information..."
>button, click it and will find those assembly information properties

For VB.NET project, there is a quick way to go to Application
properties,
>here is a blog entry mentioned this:

#Looking at Assembly Information
http://blogs.msdn.com/trobbins/archi...ssembly-inform
>ation.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
and
>suggestions about how we can improve the support we provide to you.
Please
>feel free to let my manager know what you think of the level of
service
>provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

================================================= =
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
>ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
>where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each
follow
>up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach
the
>most efficient resolution. The offering is not appropriate for
situations
>that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are
best
>handled working with a dedicated Microsoft Support Engineer by
contacting
>Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
================================================= =
This posting is provided "AS IS" with no warranties, and confers no
rights.
>>
--------------------
Thread-Topic: Default company name and copyright information in
Assembly
>Informa
thread-index: AcjafYSD/agHeyY4ROmGzZOdr7/Sjg==
X-WBNR-Posting-Host: 65.55.21.8
From: =?Utf-8?B?SmFtZXMgV29uZw==?= <cp********@nospam.nospam>
Subject: Default company name and copyright information in Assembly
Informa
>Date: Sun, 29 Jun 2008 23:50:00 -0700
Hi everybody,

I'm trying to use the new VB 2008 right now and I want to know how
to
>preset
the company name and copyright informtion in Assembly Information.
In
>my
>current VB 2005, company name and copyright information (the word
"CopyRight"
with company name and year) is filled in automatically once a new
project
>is
created. However, I have no idea where I can configurate it in my
new
>VB
>2008.

Thanks for your kindly advice!

Regards,
James Wong


Jul 2 '08 #7

P: n/a
Hi Steven,

From the Microsoft on-line document #310441, I found the way to modify
company information in registry. I tried to input value in
RegisteredOrganization under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion and it works fine. Now, the company name is filled in
assembly automatically when a new project is created.

Thanks for your kindly follow-up!

Regards,
James Wong

"Steven Cheng [MSFT]" wrote:
Thanks for your reply James,

Yes, I think those values should be maintained in registry, however, so far
I haven't found clear documentation on this. I'll consult some other VS IDE
engineers to see whether they have any furhter information on the settings.
I'll let you know if I get any update.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?SmFtZXMgV29uZw==?= <cp********@nospam.nospam>
References: <68**********************************@microsoft.co m>
<Sa**************@TK2MSFTNGHUB02.phx.gbl>
<1D**********************************@microsoft.co m>
<i$**************@TK2MSFTNGHUB02.phx.gbl>
Subject: RE: Default company name and copyright information in Assembly Inf
Date: Tue, 1 Jul 2008 19:09:00 -0700

Hi Steven,

Thanks for your reply! Now I understand where the default values come
from
in my existing VB2005. The value $registeredorganization$ from registry
should be the key in this case. However, the PC I use to evaluate VB2008
is
a new one and I installed Windows Vista from DVD. I think I may skip to
provide the value so VB2008 fails to retrieve it from registry. Now my
question is shifted to how I can fill value in $registeredorganization$.

Thanks again for your follow-up.

Regards,
James Wong

"Steven Cheng [MSFT]" wrote:
Hi James,

Thanks for your quick reply and the further clarify.

Now I've got your actual goal on this. For the default values for a new
created project, those default values(put in the precreated project
files
such as AssemblyInfo.xx Form1.xx ...) are retrieved from the project
template. You can lookup all the existing built-in project templates in
the
following project template folder of Visual Studio(9.0 for vs 2008):

#this is the path for VB.NET project:
C:\Program Files\Microsoft Visual Studio
9.0\Common7\IDE\ProjectTemplates\VisualBasic\

For example, you can look into the package of classlibrary project:

C:\Program Files\Microsoft Visual Studio
9.0\Common7\IDE\ProjectTemplates\VisualBasic\windo ws\1033\classlibrary.zip
>
in the the zip package, you can find the "AsseblyInfo.vb" template file.
Those properties(such as assembly company copyright ) use some global
constant from visual studio or OS's registry data. If you want them to
reflect your own custom values, you can open the package and customize
it(the assemblyInfo.vb or other template files).

Here are some further reference about project templates in Visual Studio:

#Default Project Templates in Visual Studio
http://msdn.microsoft.com/en-us/library/0fyc0azh.aspx

#Customizing Project and Item Templates
http://msdn.microsoft.com/en-us/library/ms247119.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
and
suggestions about how we can improve the support we provide to you.
Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
From: =?Utf-8?B?SmFtZXMgV29uZw==?= <cp********@nospam.nospam>
References: <68**********************************@microsoft.co m>
<Sa**************@TK2MSFTNGHUB02.phx.gbl>
Subject: RE: Default company name and copyright information in Assembly
Inf
Date: Mon, 30 Jun 2008 01:04:00 -0700


Hi Steven,

Thanks again for your rapid response to my question! However, I may
not
describe my question clearly. I know how to input the company name and
copyright information project by project everytime I create a new one.
My
case is, in my existing VB 2005, whenever I create a new project, those
information is filled in automatically in Assembly. There is no need
for
me
to modify manually. But I forgot how I made it sincie it was
configurated
several years ago.

Thanks again for your follow-up!

Regards,
James Wong

"Steven Cheng [MSFT]" wrote:

Hi James,

From your description, you're wondering how to configure the assembly
information such as "copy right", "company name".... in Visual
Studio
2008
created VB.NET project, correct?

Based on my understanding, these info is configurable at design-time
via
project's properties setting. You can find the setting via the
following
approach:

** In Solution Explorer, right click project node and choose
"Properites"
menu

** in the opened properties view, choose the first "Application" tab
at
left side(it's the default one)

** on the "application" view panel, you can see a "Assembly
information..."
button, click it and will find those assembly information properties

For VB.NET project, there is a quick way to go to Application
properties,
here is a blog entry mentioned this:

#Looking at Assembly Information

http://blogs.msdn.com/trobbins/archi...ssembly-inform
ation.aspx

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
and
suggestions about how we can improve the support we provide to you.
Please
feel free to let my manager know what you think of the level of
service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to

http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each
follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach
the
most efficient resolution. The offering is not appropriate for
situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are
best
handled working with a dedicated Microsoft Support Engineer by
contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

--------------------
Thread-Topic: Default company name and copyright information in
Assembly
Informa
thread-index: AcjafYSD/agHeyY4ROmGzZOdr7/Sjg==
X-WBNR-Posting-Host: 65.55.21.8
From: =?Utf-8?B?SmFtZXMgV29uZw==?= <cp********@nospam.nospam>
Subject: Default company name and copyright information in Assembly
Informa
Date: Sun, 29 Jun 2008 23:50:00 -0700


Hi everybody,

I'm trying to use the new VB 2008 right now and I want to know how
to
preset
the company name and copyright informtion in Assembly Information.
In
my
current VB 2005, company name and copyright information (the word
"CopyRight"
with company name and year) is filled in automatically once a new
project
is
created. However, I have no idea where I can configurate it in my
new
VB
2008.

Thanks for your kindly advice!

Regards,
James Wong




Jul 3 '08 #8

P: n/a
Thanks for your followup James.

That's great. Glad that you've found the registry entry and share the
information here. That'll also benifit other members who encounter the same
problem.

If you have anything else need help in the future, welcome to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Jul 3 '08 #9

P: n/a
I noticed that in Vista 64, that registry key alone is not enough. You also have to modify the WOW64 node, which is located here...

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\ Windows NT\CurrentVersion

Just modify the same RegisteredOrganization or RegisteredOwner values as in the other node.

It seems 32-bit apps (which VS2008 apparently is) look at that node, not the standard node.
Aug 30 '08 #10

P: n/a
This is the location that a 32 bit application would access in the registry.
The 32 bit app is redirected there, not that it directly goes to that node.
Regedit and other tools let you see the virtualization in the way you
describe. From your program code however, you still just refer to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion, no matter
what you are running.

This link and others cover the topic pretty well.
http://msdn.microsoft.com/en-us/libr...72(VS.85).aspx

"Timothy Carroll" wrote in message news:20************@webthat.com...
>I noticed that in Vista 64, that registry key alone is not enough. You
also have to modify the WOW64 node, which is located here...

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\ Windows
NT\CurrentVersion

Just modify the same RegisteredOrganization or RegisteredOwner values as
in the other node.

It seems 32-bit apps (which VS2008 apparently is) look at that node, not
the standard node.
Aug 31 '08 #11

This discussion thread is closed

Replies have been disabled for this discussion.