Click here to Skip to main content
15,892,537 members
Everything / .NET / .NET 2.0

.NET 2.0

.NET2.0

Great Reads

by Jeffrey Walton
Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
by Steve Krile
Fully AJAX-enabled user control used to select names from a database in a drop-down format.
by Waleed Elkot
Reading text from any image using Microsoft Office 2007 OCR
by dotnetdan
VS 2005 debug visualizers for DataSet, DataTable, DataView, DataRow and DataColumn objects.

Latest Articles

by Shivprasad koirala
6 steps to enable transactions in WCF
by Shivprasad koirala
This article explains plug and play architecture using policy application blocks.
by Claudio Nicora
An extended NumericUpDown control with better focus and mouse wheel management.
by Toby Patke
Clearcove.Logging is a very simple logging library designed to meet most logging needs with straight-forward licensing terms.

All Articles

Sort by Title

.NET 2.0 

26 May 2010 by Mike Corley
C# (.NET and Mono) library provider for RRDtool
2 Jan 2017 by ielsky
Hello Everybody.I have strange situation in my applicaion (MS Outlook Addin).I work with MailItem object in Item.Open event handler.I get Inspector object calling MailItem.GetInspector property.When I try to set handler for Inspector.Close event InvalidComObjectException with message...
1 Feb 2011 by Nish Nishant
One likely cause is that you are accessing a single threaded COM object from different threads. In your case, the event handler may not be running on the thread that created the COM object.
25 May 2016 by Sergey Aseev
You need have strong reference to event.Anything like thisMailItem mailItem;CloseEvent closeEvent;...InspectorEvents_10_Event inspectorEvents = mailItem.GetInspector;closeEvent = inspectorEvents.Close;closeEvent += delegate {.....};
2 Jan 2017 by Jason_Kiscy
hey,Hi, I am facing the same problem it is really difficult to debug it because the test case is not unique. did you find a solution? I really appreciate your help in advance.Here is my mailbox:1424870395@qq.com
3 Oct 2007 by User 2739121
25 Mar 2013 by theitmueller
Bit difficult to describe.A form with a panel (DOCK BOTTOM) and a TableLayoutPanel (DOCK FILL).TableLayoutPanel has 2 rows, 1 column each with a user-written control.Sizing the form in the development environment works fine.If I start the application, create an instance of the form...
25 Mar 2013 by OriginalGriff
I tried to do exactly the same, and I can't duplicate your problem.A form, with a panel, Dock bottom, and a TableLayoutPanal Dock fill and various ways to maximise teh form on startup - the panels appear as I expect. The TLP fills the screen, with a smaller panel overlaying in at the...
14 Apr 2010 by Nuno M. F. Gomes
Finding out whether an assembly was compiled in Debug or Release mode is a task we must do from time to time...
11 Oct 2007 by aSarafian
An article that tries to clear up the concept of serialization.
23 Nov 2009 by FJD.DEETLEFS
Hi Guys,I'm using the .net SMTP classes to send emails out to clients,I've been using it for over 2 years without any problems.We have now switced over to a new email host and for some reason I get the following error when trying to send an email.Failure sending mail.System.FormatExc
23 Nov 2009 by Electr()n
HiDoes this problem persist everytime or only from time to time?
23 Nov 2009 by FJD.DEETLEFS
Hey Guys, I found a solution on the following link http://blogs.msdn.com/knom/archive/2008/04/16/hacking-system-net-mail-smtpclient.aspx  Seems to be the underlaying authentication modules  in the smtpClient that would be default use NTLM,by using reflection you can "override" the values.   // Exa
27 Jun 2010 by sund7wells
We have set of applications developed in .Net Framework 2.0 (both Windows and Web Applications) running in Windows 2003 Server. Now management decided to upgrade it to Windows 2008 Server. Any changes required in Application side?. If not, those applications work with full potential of windows...
28 Jun 2010 by Syed Saqib Ali Tipu
Unless and until you're into using new technologies and you perfer choosing technologies on the basis of trends rather than the domain of the project, you need no change. There are many new changes that you will prefer adapting in the future, but just because they are there doesn't mean what...
27 Mar 2010 by Sergey Sorokin
Use .NET 2.0 configuration features for building a pluggable provider framework for your application.
6 Jan 2009 by carlos@takeapps
A working implementation of a REST service in .NET 2.0.
15 Aug 2010 by rajivpande86
I am using 2 Regular Expression Validators having two different validation groups over a textbox.When I run my code,if I don't enter the text in a correct format into the textbox,I get both the texts(which in my case are *) of the validators.I want that only one of those text should be viewed...
12 Sep 2010 by Sunasara Imdadhusen
HiRajiv,...
1 Jul 2015 by MacParekh
I have uploaded site on Sever. Two site one of them hosted with .NET 4.0 framework. and second in .NET 2.0 framework. 4.0 framework site working properly. But 2.0 framework site unable to load CSS, javascripts and images. It is giving 500 error. As well as reference error "WebForm_AutoFocus...
5 Sep 2007 by Boaz V
How to receive events from a COM object using the application message loop in a console application.
30 Dec 2007 by Amer Chaudhry
.NET and J2EE interoperability for .Net Developers
22 Jul 2007 by Yuriy Kyyan
An article on creation automated interface for .NET applications.
17 Dec 2010 by VikashGohil
Hello, this is Vikash Gohil.I have developed a VB.net application in VS2005.I also want to run this application(exe) in Linux.I have came across mono, but I have no information on how to use that.All i want is I copy my Application EXE to a folder in Linux and run it to start the...
17 Dec 2010 by OriginalGriff
Install Mono - You need either the .NET framework or Mono to execute .BET applications.See http://www.mono-project.com/[^] they have a "Getting started" section.
24 Jun 2011 by VikashGohil
Hello,This is Vikash Gohil.Could anyone help me please.My Issue :I have a hardware device which sends and recieves data using HTTP Protocoleg. it send request to web server as follows,GET /abc/cdata?SN=123456&options=allNow to this request my application should send its...
24 Jun 2011 by fjdiewornncalwe
If your python files have the .py extension, then you should try opening them in a text editor and you will likely have the source you are looking for.
2 Nov 2010 by Daniel Ranger
Native C++ implementation of the .NET Asynchronous Design Pattern using Windows I/O Completion Ports
6 Jan 2014 by Assil
This article describes asynchronous patterns in .NET and how to do them.
29 Aug 2007 by hayles
This article shows you how to customize individual cells in a DataGrid - and it works on the Compact Framework.
4 Sep 2012 by jonaschu
Hello all pro,i have a doubt to use the IDisposeable in the class. i try to use the following code for the dispose method.Public Overloads Sub Dispose() Implements IDisposable.Dispose Me.Dispose(True) GC.SuppressFinalize(Me) End SubProtected Overridable Overloads Sub...
4 Sep 2012 by Sergey Alexandrovich Kryukov
AI) If you just implement IDisposable, nothing happens. This method is needed to guarantee some action based on common interface. The main use of it is using the using statement:http://msdn.microsoft.com/en-us/library/yh598w02%28v=vs.110%29.aspx[^].AII) There is no such thing as disposing...
30 May 2008 by Ricky Wang
This article concisely introduces StringTemplate with a practical .NET code generation example. The scenario includes common issues when it comes to code generation such as conditionally generating codes, loop, and token replacement.
27 Jun 2010 by vivinkarthik
if the mentioned word is present in the document then that website has to be blocked.
28 Jun 2010 by dawmail333
This is no simple task: you are going to have to run a proxy, and a server style application. There is no universal hook you can just use.VB.Net may not be the best choice for this task.
18 Nov 2010 by tazmanianull
I have created a dll in vb.net with "vb6 InteropUserControl" but I can't register with "regasm /codebase" on some PCs. It tell me that "Types Registered successfully" but i can't instantiate component.What should I do.The problem appears on win xp and a user with administrator...
19 Nov 2010 by fjdiewornncalwe
Check out this article Check it out.My guess is that you aren't implementing the "Inherits ServicedComponent" properly.
25 Sep 2008 by tomcat1
Call a .NET COM+ Interop component with Classic ASP.
1 Mar 2007 by TheKarateKid
Various Command Line Tools Available under .NET Development Environment
9 May 2010 by avishekrc
Hi,Can any one tell me the number of .Net compliant Languages for framework 2.0,3.0 and 3.5 separately?Thanks in Advance.
9 May 2010 by Peace ON
Find following links useful...http://www.informit.com/guides/content.aspx?g=dotnet&seqNum=39[^]http://www.dotnetpowered.com/languages.aspx[^]http://en.wikipedia.org/wiki/CLI_Languages[^]Hope this will help!
28 Jun 2007 by ponnurajs
This article discusses how to access a .NET component from a COM client, with an example of how to merge two different word documents into one
13 Jul 2008 by Dazdarevic Edin
A .NET component that simplifies tracking of system's idle time.
26 Jul 2007 by Praveen Nair (NinethSense)
This article explains how to filter rows in a DataSet/DataTable. The example provided will help you get information faster.
8 Nov 2007 by Chris Kolkman
A .NET implementation of a Deque object.
12 Jan 2009 by Rabeeh Abla
Design patterns are recurring sequences, built-in .NET patterns are scattered over the framework.
28 Jan 2007 by wumpus1
A simple, string-oriented class for symmetric encryption, asymmetric encryption, and hashing.
27 Oct 2007 by carlos@takeapps
A basic .NET file browser fully based on the framework
4 Dec 2013 by sachinjadhav123
Why .net?Introduce .net Framework.vb.net Vs Java.How many Languages supported by .net.
4 Dec 2013 by CPallini
Just enter your questions into Google and something magic will happen!
27 Mar 2015 by Shaikh Rais
I had create application in .net framework 2.0, for windows 7 live, but the application not working in window 7 live cd, and when i trying install .net framework, it says this component as part of OS.Please Suggest me the proper way to develop application for live windows 7.Thanking...
27 Mar 2015 by OriginalGriff
If you want to create something like Hirens BootCD[^] then to be honest a .NET framework language is a bad place to start. They all requires the .NET framework running in order to work at all - and that requires the whole of Windows to be running first.A bootable diagnostic CD should not...
11 Mar 2010 by fabianse
Base practice code for those preparing the exam 70-536 or learning the .NET framework basis
27 Aug 2009 by logicchild
An article to help clarify delegates and how to use them asynchronously.
20 Jan 2011 by Debojyoti Majumder
How can I get the location of .Net framework installation files path from a .BAT file.Actually I have to use "Installutil" from a batch file.Any kind of help is welcome.
20 Jan 2011 by Prerak Patel
Here is a way to do it in .Net.Dim a As Reflection.Assembly = Reflection.Assembly.LoadFile(filename)Dim IUPath As String = "%SystemRoot%\Microsoft.net\framework\" & a.ImageRuntimeVersion & "\InstallUtil.exe"Sorry, I didn't notice batch file. Let me do a bit work and I'll be back to...
27 Jun 2014 by Abhinav S
In general, you will not face any issues in building a .Net 2.0 dll in .Net 4.0..Net is backward compatible.
27 Jun 2014 by Raul Iloc
You should target .NET 4.0 without problem; some small problem could occur in the process of converting the solution (and its projects) from an older version (VS2005 that use .NET 2.0) to a new Visual Studio version (VS2010 for .NET4.0).
27 Jun 2014 by Sergey Alexandrovich Kryukov
Just change the target and see what happens. Few types/members are made obsolete. Try to get away from non-generic collections (additionally).—SA
14 May 2008 by Daniel Pistelli
An article about .NET internals and code injection
30 May 2008 by Daniel Pistelli
An article about .NET internals and native compiling.
30 Jan 2007 by TylerBrinks
How to call absolutely any .NET code from your Vista Sidebar Gadget
14 Dec 2009 by TheCodeKing
An easy-to-use, zero configuration solution to .NET communication across application boundaries. A simple library to use as an alternative to .NET Remoting based on low-level Windows Messaging.
6 Aug 2008 by SHRIDHAR TL
Compose mail messages and send them through your mail account provider.
26 Apr 2010 by Izzet Kerem Kusmezer
With this tool you can download whole .NET Framework source code at once, and enjoy offline browsing. With it, you can have whole the source code without any Visual Studio product installed
11 Sep 2006 by Russell Aboobacker
For displaying Error,Warning or Information Messages in your ASP.NET WebSite
9 Apr 2009 by SprinterDave
A native .NET library and application to view the PNGs embedded in a MNG
17 Sep 2004 by Nick Parker
A free IE toolbar that pulls up namespace and class documentation on the new MSDN site.
5 Mar 2007 by bjarneds
A tool for browsing public and private members in any running .NET application (and a generic InvokeRemote method that wraps the code injection).
22 May 2010 by Vinayaka Krishna Shenoy
.Net Performance tip - 2
22 May 2010 by DaveAuld
Here is a better evaluation of performance in .Net of the If / Switch operations;http://www.blackwasp.co.uk/SpeedTestIfElseSwitch.aspx[^]
22 May 2010 by Vinayaka Krishna Shenoy
.Net Performance tip - 3
8 Feb 2008 by Wil Peck
This article provides an implementation of a POP3 MIME client using .NET 2.0 and C#.
29 May 2007 by Stefan Troschuetz
Presents a fully managed class library providing various random number generators and distributions
20 Oct 2006 by kurt.griffiths
Handy Regex test utility for .NET helps you get the right expression to use in your code
1 Jan 2008 by malikusman
DCOM component replacement in .NET is .NET remoting
27 Jul 2011 by Shameel
.NET requires that you make your apps STA to be able to use ActiveX controls. Mark your main method with the [STAThread] attribute.
27 Jul 2011 by Sergey Alexandrovich Kryukov
Shameel recommended you to use [STAThread]. This is not always possible, as your application might require [MTAThread]. In this case, here is what you can do: create a separate thread and set its apartment state to System.Threading.ApartmentState.STA using...
26 Jul 2011 by Nitin_Verma
Hi All,I have a winform app in VS - 2008, It is client server based application using .net remoting 2.0.On My server I have a Method which would be called from client.Now in this method, I want to update value of Datagrid in one of my winform. Here I am getting an error:"An error...
10 Apr 2006 by Wytek Szymanski
An article about how to marshal a remote client request from one AppDomain to another.
5 Jun 2012 by theitmueller
Dear all,I have an application (VB.Net 2.0) with a client and a remoteing server.Once the clients starts his work, he registers with the server and receives a session-ID. The session data is stored on the server and the client receives the session id. Once registered, the client stores...
3 Mar 2010 by Ron Beyer
Explains producing and consuming .NET remoting events, the drawbacks, and advantages.
25 Oct 2015 by Greg Nutt
This is a VB.NET Version for ".NET Remoting Events Explained"
5 Jul 2006 by Wytek Szymanski
An article about re-deploying remote services with the help of a relay server.
17 Oct 2007 by cool_manu07
This application reads a .NET resource file and writes its contents to a Microsoft Excel file.
19 May 2008 by Ralph in Boise
Edit web.config to Update the Data Provider for Shared Hosting with Role-Based Security: SQL Server, ODBC, Active Directory, ADAM, SQLite, MySQL, Access, XML
9 May 2011 by kishor bandi
Hi,Sir This is kishore i want to know about scope objects in .net
9 May 2011 by Rhuros
Take a look at...This
9 May 2011 by OriginalGriff
What do you want to know?It's a big subject!There is an (old, but relevant) overview on MSDN[^](It talks about VB, but C# is pretty much the same)[edit]Added VB comment - OriginalGriff[/edit]
9 May 2011 by Prerak Patel
It's scope of objecthttp://msdn.microsoft.com/en-us/library/ms973875.aspx[^]
9 May 2011 by Pong D. Panda
This is the Question and answer. Its better to google first this kind of question, apply it, practice it. And when you you encounter a problem, then you post here.
15 Nov 2004 by Hugo Wetterberg
A new(?) approach to scripting in .NET applications.
26 Aug 2011 by Jecho Jekov
How to use .NET settings files in class library projects.
19 Mar 2010 by Nejimon CR
Hi,Can somebody please tell me in which order the .net Setup copies files to the target machine?I have a COM dll to deploy, but it has a few other dependancy dlls, which needs to be there in the system32 dir of targe machine before the the COM dll registration is called.Another doubt...
19 Mar 2010 by Not Active
http://www.google.com/search?hl=en&q=.net+setup+custom+action&aq=7&aqi=g10&aql=&oq=.net+setup&gs_rfai=[^]
23 Oct 2008 by Anon1234567890
A splash screen which allows for dynamic creation and updates.
15 Dec 2008 by David Polomis
Loads a Targa image file into a Bitmap using nothing but .NET code.
13 Sep 2007 by P.Adityanand
Understand the internals of .Net types from a CLR perspective