.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

vb.net - change version information

Posted By:      Posted Date: September 07, 2010    Points: 0   Category :.NET Framework
I'm using .net 2005 I would like to edit the Version Information of File Version,Description,Copyright,Company, Product Version Can i able to do it? where and how to set up ?    

View Complete Post

More Related Resource Links

Show web applications build version information



I would like to make the build information for the running web application but I dont know where I set or configure this nor do I know how to retrieve this information.

In a project you may set the  build information in the file AssemblyInfo.cs under the projects Properties folder. Here is a snippet of the AssemblyInfo.cs file:

// Version information for an assembly consists of the following four values:
//      Major Version
//      Minor Version 
//      Build Number
//      Revision
// You can specify all the values or you can default the Revision and Build Numbers 
// by using the '*' as shown below:
[assembly: AssemblyVersion("6.3.0")]
[assembly: AssemblyFileVersion("6.3.0.*")]

But there is no such file for an web application project, so I have to get this information from one of the compiled DLLs that is in the same assembly as my web application then? Or how is this done?


The reason I want this information is because my customer would like to have a webpage within the web application where he could see the current version. This is also nice to have when testing and debugging etc.




EnumAvailableSqlServers() not returning version information

I am unable to consistently get full information from the smo call EnumAvailableSqlServers. If SQL Browser is running, it returns version info only for the local machine, never a remote machine. I've tested this from several different servers. It IS NOT a firewall issue, there is not firewall or any other restrictive apparatus/software between the servers. #load SMO assembly $v = [System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMO') # need version to load version specific SMO , makes code universal # credit to Allen White .. sqlblog.com $p = $v.FullName.Split(',') $p1 = $p[1].Split('=') $p2 = $p1[1].Split('.') if ($p2[0] -ne '9') { [System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMOExtended') | out-null [System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SQLWMIManagement') | out-null } ################ [Data.DataTable]$instances = [Microsoft.SqlServer.Management.Smo.SmoApplication]::EnumAvailableSqlServers() $instances

How do I get information that does not change?


How do I get information that does not change?

For security reasons I get rather than IP information, which does not change.

IP is changing, if the dynamic.

I need information that does not change.

Please Help

Web Service .Net version change V2 to 3.5 Generates CS0234 Error



I have just started work on a stable web service project that was written entirely in .Net V2.

Recent modifications have required that I change it to use LINQ Entity based business layer which required me to up the .Net version to 3.5 to match that of the dependancy. The project compiles fine but when I run the project it falls over at any reference to the actual service code.

It currently falls over when processing the web.config file on the line:

		<profile defaultProvider="AspNetSqlProfileProvider" enabled="true" inherits="MCM.MCMWebService.PurchaseOrderWS.Helper_Classes.UserProfile">

which declares where I have a code based override of the profile provider. If I comment this line out it then falls over when running Global.asax so the comm

Resetting Change Tracking Version


Hello, Is there a way in which we can reset the current version? When we disable Change Tracking at table and DB level current version function returns NULL, but on turning it back on it gives back the last number. Is there a way to reset it back to zero? Thanks in advance!!!

<br/> SELECT CHANGE_TRACKING_CURRENT_VERSION() is the function in context

Change document version number via database


Hi all,

I was blocked by an issue of document version number. The customer wants to move a document from one document library to another. After the document is moved, version number should be kept the same and metadata values of each version should also be kept.

File.MoveTo(string newUrl) method can move file and keep the same version number but lose the metadata in previous versions. Only the latest version has metadata values. Also this method cannot move file cross site collections.


Following is my solution:

1. Upload all the versions along with metadata to the new location and then delete the old file.

2. Update document version number in database directly.

Finally the solution works well, but I don't know if step2 will impact any other default logic in SharePoint system. Below is the logic to update version number.

            SqlConnection cn = new SqlConnection(connStr);
            SqlCommand cmd;
            string cmdTxt;


            cmd = cn.CreateCommand();

can i change atrial version of SQL 2008 Srv to a licensed version if we have the keys.


now i have aSQL 2008 srv trial version i want to change it to a licensed version by using the command line tool or by other simle technique .i dont want to go for a fresh installation or upgrade.is it possible to do this.i have the license keys with me.

Problem when change to a new AjaxControlToolkit version.


Hello, I have a problem with a newer version of ajaxcontroltoolkit.dll. In my page I have the version 1.0.1119.0 and I change it for a newer version the 3.5 to add some new features to my page. I’m using visual studio 2010. Now the huge problem I have is that I can’t fire the server side code with a control (button, gridview, etc..). I click a button and nothing happen. In my page a have a 2 update panels with the update mode set as always. I added the buttons to the AsyncPostbackTriggers, change the asp:ScriptManager with the ToolKitScriptManager and I have the same problem. The entire problem begins when I add the new version of the ajaxcontroltoolkit.

How can I solve this?


Any idea if Information Rights Management (IRM) will support additional file types in future version


In Sharepoint 2007, IRM supports Excell, Word and PowerPoint out of box...

Any idea if there will be additional out of box support for filetypes such as PDF, TIFF, Outlook Emails (.msg)...?

I am hoping to avoid creating custom protectors to protect the files and building an add-ons to software such as Adobe Reader to understand the RMS licences...

Looking forward to additional suggestion as well...


Sharepoint version change




We started using MOSS 2007 version  but it now has upgraded to MOSS 2007 version This upgrade in the version could have happened three months ago.


Is there any way to check when this version changed by using any command or tool.Hoping for an answer from the experts at the earliest.




How to change .Net framework version without restarting W3SVC service in IIS?

In this short article I will explain how to change the .net framework version in the IIS for the specific application without restarting W3SC services.

ASP.NET 4.0: WebForm Routing (quick n dirty version)

One of the things we're adding in ASP.NET 4.0 is built-in support for using Routing together with WebForms. Now, I'm totally aware that this is possible to do already and that a number of people have posted ways of doing this with the Web Routing feature which shipped with ASP.NET 3.5 SP1. We're just adding some features to make it easier to do

How to get more information about the exceptions that can happen in SharePoint 2010 projects?

In case there is an exception anywhere in the SharePoint 2010 project (most common place an exception would happen is during deployment of your SharePoint project, custom deployment configuration or custom deployment steps), there's a registry key EnableDiagnostics available for you to use.

How to Localize Windows Forms and Change the Language at Runtime

Localization is the process of customizing your application to a particular language, culture or locale. Visual Studio provides support for localizing Windows Forms with much ease. In this article, we will see how to localize windows forms and give the user the ability to change to his preferred language at runtime.
When you run a localized application, the appearance is determined by two culture values. The UICulture property is used to specify which resource files will be loaded for the form. The Culture property, on the other hand, determines how strings such as dates, numerals, and currency amounts are formatted.
Let us see the steps required to create a localized form. You can then expand this example and adopt the same approach for the rest of the forms in your project

Selected to change the background color of the page



As this site, http://www.borfin.com.tr/genel/Default.aspx, How can I change the background color selected pages.

Bug: Does not change column type from nvarchar to ntext


Scenario: If you create a table with a column of type nvarchar, populate it with some content and try to modify it using the WebMatrix editor, from nvarchar to ntext, it does not display any error message or warning that this is not possible. It silently saves and reverts the change, back to nvarchar. Wasted some hours on this issue as I thought my column was ntext, but in fact was still nvarchar.

Expected behavior: It should change to ntext, or if SQL CE doesn't support that, it should notify the user that no change was applied.

How to change the default page base class?


I've tried setting the <pages pageBaseType="DynamicWebPage" /> value in web.config, but when I response.write out the page type, I'm still getting Microsoft.WebPages.WebPage.

I'm simply trying to sub-class WebPage and add some additional functionality such as a dynamic PageData dictionary similar to Phil Haack's dynamic ViewData dictionary.



ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend