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

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

Windows Forms: .NET Framework 1.1 Provides Expanded Namespace, Security, and Language Support for Yo

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

With the much-anticipated release of the .NET Framework 1.1, developers are eager to know what's been added to their programming bag of tricks. In this article, the author focuses on new developments in Windows Forms, such as namespace additions, support for hosting managed controls in unmanaged clients, and designer support for C++ and J#. Integrated access to the Compact Framework and new mobile code security settings also make this release noteworthy. Along with these features, the author reviews the best ways to handle multiple versions of the common language runtime and highlights some potential pitfalls.

Chris Sells

MSDN Magazine March 2003

View Complete Post

More Related Resource Links

.NET Framework 2.0: Craft a Rich UI for Your .NET App with Enhanced Windows Forms Support


The upcoming version of the .NET Framework offers a host of enhancements an order of magnitude over and above existing versions. In particular, developers writing Windows Forms benefit from a variety of new and improved features targeting development, deployment, increased productivity, and auto-generated code. This article covers some of the key new features including designer enhancements, new controls, data binding, and deployment to give you a taste of what's to come.

Michael Weinhardt and Chris Sells

MSDN Magazine May 2004

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

Smart Clients: Craft A Rich UI For Your .NET App With Enhanced Windows Forms Support


The System.Windows.Forms namespace has increased by approximately 134 percent over the .NET Framework 1.1. There are 446 new public types; 113 existing types have been updated with new members and values; 218 types have been carried over from the original namespace. Read about it here.

Chris Sells and Michael Weinhardt

MSDN Magazine Visual Studio 2005 Guided Tour 2006

Draft a Rich UI: Ground Rules for Building Enhanced Windows Forms Support into Your .NET App


In this article, the winning Windows Forms duo of Chris Sells and Michael Weinhardt team up again to explore lots of new features and additions to Windows Forms 2.0 that will let you build more flexible, feature-rich controls, get better resource management, more powerful data-binding abilities, and make your development life a whole lot more fun.

Michael Weinhardt and Chris Sells

MSDN Magazine May 2005

Security: Unify Windows Forms and ASP.NET Providers for Credentials Management


The .NET Framework 2.0 provides custom credentials management to ASP.NET apps out of the box. Using it, you can easily authenticate users without using Windows accounts. In this article the author presents a set of helper classes that let a Windows Forms application use the ASP.NET credentials management infrastructure as easily as if it were an ASP.NET application.

Juval Lowy

MSDN Magazine April 2005

Mobility: Add Keyboard Support to Compact Framework Apps by Trapping Windows Messages


The Compact Framework Control class doesn't provide direct access to Windows messages. However, with P/Invoke, a few lines of native code, and the Compact Framework MessageWindow class, it's still possible to access underlying Windows messages. This can be used to work around any .NET Framework features, including keyboard support, that are not included in the Compact Framework.

Alan Pulliam

MSDN Magazine April 2004

Windows Shell: Create Namespace Extensions for Windows Explorer with the .NET Framework


Extending the Windows shell with namespace extensions allows you to create some custom functionality for Windows Explorer. One common use is to enable Explorer to present a list of items that do not exist in one real folder, but actually reside in a number of places. The view on the folder makes it look like these items are in one place, so managing them becomes easier. This article illustrates the process of creating custom shell namespace extensions using C# and the .NET Framework. The author dispels some myths about the difficulty of writing such extensions, and shows that it is easier than it was before .NET. Along the way he outlines undocumented interfaces and describes advanced techniques for consuming them in .NET.

Dave Rensin

MSDN Magazine January 2004

Printing: Preview and Print from Your Windows Forms App with the .NET Printing Namespace


Printing is an integral part of every complete Windows-based application. Providing robust printing capabilities in these applications has often proved to be a tedious chore. Now, printing from Windows Forms with the .NET Framework means you must adopt a document-centric approach, resulting in cleaner and more manageable code. While the System.Windows.Forms namespace provides seamless integration with all the standard print dialogs (such as Print Preview, Page Setup, and Print), the System.Drawing.Printing namespace offers numerous classes for extensibility and customization. These classes, and how they provide access to printing capabilities, are covered here. Other useful techniques, such as printing in the background to allow the user to continue other tasks, is also explained.

Alex Calvo

MSDN Magazine February 2003

.NET Zero Deployment: Security and Versioning Models in the Windows Forms Engine Help You Create and


Windows Forms applications solve many of the problems inherent in building Web applications the old fashioned way?with HTML. To demonstrate the use of Windows Forms over the Web, the author takes his existing app, Wahoo!, and ports it to Windows Forms. In doing so, he discusses versioning, linked files, security, storage isolation, the deployment model, and everything else you need to get started building your own Windows Forms apps for the Web.

Chris Sells

MSDN Magazine July 2002

Windows Forms: Developing Compelling User Controls that Target Forms in the .NET Framework


In the beginning, writing controls meant dealing with Windows messages. Then came Visual Basic controls, which introduced methods, properties, and events. Later, ActiveX controls, which ran atop COM, became popular. While each innovation in control writing brought more flexibility, nothing has matched the versatility of the new .NET Windows Forms controls and Web Forms controls. This article, the first of a two-part series, introduces the reader to Windows Forms, beginning with their inheritance from one of the .NET CLR base classes, which makes control creation much faster than before. Control programming is illustrated through the development of a login control. The equally flexible Web Forms controls will be covered in Part 2.

David S. Platt

MSDN Magazine April 2002

Cant uninstall Framework Language Pack on Windows 7 Professional

Hi,I have Microsoft .NET Framework 3.5 SP1 installed on a Windows 7 Professional that has been upgraded from a Windows Vista business. I have a Danish Language Pack installed (Microsoft .NET Framework 3.5 Language Pack SP1 - Danish). This was installed under Vista. Now I have upgraded to Windows 7 Professional where that language pack is unsupported apparantly. I'm trying to get help in a Windows 7 forum to change the OS language but it seems to fail because multiple MUI's is unsupported in Windows 7 Professional. So I hope someone here can help me remove the Language Pack or something like that...When I try to uninstall or reinstall the Language Pack I get an error saying that the OS isn't supported. What I want is to have my exceptions in English - not Danish. I cannot remove the Framework Language Pack using "Windows Installer Clean Up" because it isn't listed. How can I remove this language pack? Or alternatively instruct the Framework to give me Exceptions in the "en-US" localization?--

Windows 7 Security and .Net Framework




I'm developing an application using .Net Framework 2.0...

In my application, I require to create a file to in C:\Windows folder and need to store some settings in registry (Read/Write Registry Both Operations)


I'm an administrator user but still I don't have rights to create folder from the application. Application throws "Access Denied" exception while creating a file/write data in registry. I only have rights to read file/read registry data.

My application works perfectly when I run that application as an administrator.


But every time end user can't run my application as an administrator.

So my problem is : 

Is there a problem with windows 7 or .net framework has feature to bypass this security check and allow my application to create file/write data to registry.


I surf an internet a lot... but I didn't get proper solution...


This my permission dialog of HKEY_LOCALMACHINE Folder

Free Image Hosting at www.ImageShack.us


You can see administrator has full permission..But I don't have...


Does windows XP support English-Singapore language ?


Does windows XP support English-Singapore language ?

On windowns 7 I can see this language on the regional settings, but on windows XP it is missing


error CS0570: 'System.Windows.Forms.MessageBoxButtons.OK' is not supported by the language


Hi all,

I have a following code in C#:








Security Update for .Net Framework 3.5.1 on Windows 7x86(KB244709) Failed


A security update was pushed out on our network a couple of weeks ago, but one user is getting this error.

I checked that the user is running Windows 7 32 bit.

I attempted to manually install the download from the microsoft page: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=157aa425-953c-4fc9-ab76-4e65d4be8baa&displaylang=en (making sure that I chose the Windows6.1-KB2446709-x86.msu version

I tried running the .msu download, still failed

I tried saving the .msu download to C:\224709 and running the installation from the command line with the following commands

  • expand -f:* "C:\224709\Windows6.1-KB224709-x86.msu" %TEMP%
  • pkgmgr.exe /n:%TEMP%\Windows6.1-KB244709-X86.xml

When I ran the above pkrmgr.exe command an error message popped up saying "Operation Failed: The Component Store has been corrupted"

Just to see if it would still install from the command line anyway I tried the following on the command line

  • wusa.exe C:\224709\Windows6.1-KB224709-x86.msu

Windows installer windows pops up and it begins the installation, but fails part way through and comes up with the same error "Security Update for .N

Multiple database support with Entity Framework

One of the features introduced in Entity Framework is being database independent. Which mean each database provider can support Entity Framework by implementing its provider.

This feature allows you build applications independent from the underplaying database provider. In this post I'm going to show how to build an application that support multiple databases using same conceptual model made by Entity Framework.
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