Click here to Skip to main content
15,893,381 members
Everything / .NET / .NET 3.0

.NET 3.0

.NET3.0

Great Reads

by Jeffrey Walton
Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
by Sacha Barber
It would probably be like Cinch, an MVVM framework for WPF.
by Nish Nishant
This articles explains how to implement a TypeDescriptionProvider for a class to support multiple object types using a single class type
by Waleed Elkot
Reading text from any image using Microsoft Office 2007 OCR

Latest Articles

by Christ Kennedy
A fully functional Irish Language Word Processor written in C#
by Rahman Masudur
Few tricks about using a Resource Dictionary in WPF
by Richard Atkins
Create a fluid, multi-column, vertically ordered list using nested, floating divs
by pdoxtader
A multithreaded server class that accepts multiple connections from a provided client class. Each client can send and receive files and text (byte data) simultaneously along 250 available channels.

All Articles

Sort by Updated

.NET 3.0 

17 May 2008 by #realJSOP
One method for loading common and object-specific data from your app.config file.
1 Oct 2008 by #realJSOP
Implement repetitive tasks at consistent intervals
27 Jan 2010 by #realJSOP
Use the LiquidNitrogen object.
1 Feb 2010 by #realJSOP
The "update option" can be implemented via the "Click Once" feature in the IDE, and creating a shortcut is part of the installation of the app, but the rest requires coding or 3rd-party components. There is no one link you can be pointed to. Use google to find the specific components that...
26 Apr 2010 by #realJSOP
If you don't post the questions here, you won't get an answer. Your links STILL don't work.
4 May 2010 by #realJSOP
This is - well - impossible. The only way you can resolve the issue is to force the machine to start in safe mode, and you can only really do that as it's booting up.At that point, you can manually examine the various system logs and try to find the issue.In short, writing an app to...
27 May 2010 by #realJSOP
What do you mean by "hidden data"? Do you mean a hiden file attachment, or hidden data in the email text? Either way, I have to ask why you want to do this because to be honest, your request doesn't pass the smell test.
21 Sep 2010 by #realJSOP
You can't do anything on the client side file system of a web connection.
27 Sep 2010 by #realJSOP
The event handler's e parameter should contain the values you want. As far as clicking on the label, I think you actually have to click on the datapoint - not the label. If you can figure out the name of the label and then add a click handler to that object, you might be able to get what...
3 Nov 2010 by #realJSOP
You can't do that from a web application. Browsers won't permit it because it's a security violation.
5 Dec 2010 by #realJSOP
It doesn't seem to know that it's getting the focus. To see if this is the case, add an event handler for the main form's Focus event, and have it display a dialog, or make a system log entry.
10 Dec 2010 by #realJSOP
You could make the arraylist a static globally public item, and just let each thread access it's own index in that array.EDIT ================Once again, I don't understand why this was voted a 1. It was an honest attempt at getting you pointed in the right direction. I'm not going to...
29 Dec 2010 by #realJSOP
Use goole to find some code that's already written, and then modify it to your own requirements. If, AFTER trying to make it work, you have problems with the code, come back and ask a SPECIFIC question about the part you're having a problem with.
19 Jan 2011 by #realJSOP
I think you mean to say you want the portion of the string (or what is commonly called a "substring").string x = "this is good";string y = x.Substring(1,4);The variable y should contain "his ".
9 Feb 2011 by #realJSOP
I wrote an article about how to render text onto a bitmap. You should be able to use the same general technique to draw lines/shapes on an image as well.Render Text On A Bitmap (and other stuff)[^]
11 Feb 2011 by #realJSOP
You might want to try the technique described here:Resolving Paths in a Multi-Folder WebSite[^]
17 Feb 2011 by #realJSOP
.Net manages CPU use on its own, and you don't have to do anything. Just write your code, and move along.
8 Apr 2011 by #realJSOP
A service runs even when there's no user logged in, so running a WinForms app generally isn't possible from a service. You *can* run console apps with no problem, which can check to see if a user is logged on, and then itself spawns a WinForms app, or can run an app with a UI (i.e., your...
14 Aug 2011 by #realJSOP
You're missing some files. Go here [^]
17 Aug 2011 by #realJSOP
Try removing "All" from the dataset BEFORE binding it to the combobox.
17 Aug 2011 by #realJSOP
You're not doing it right.I know that answer seems vague, but the quality of the answer is dictated by the quality of the question.If you're using onclientlick, that's supposed to point to a javascript method. OnClick points to the server-side handler.
26 Aug 2011 by #realJSOP
Store it as a single string. The linefeeds will remain as part of the data. You shouldn't need sample code.
29 Aug 2011 by #realJSOP
The general ruil is that if the data is only doing one-way (as in you're passing the data into the method but not expecting it to change), use a string object. If it's serving as an out parameter, use a StringBuilder object.
19 Dec 2011 by #realJSOP
If possible, the TryParse method populates the specified out variable. Before using the out variable, you need to check the retur n value of TryParse which indicates whether or not the conversion was succsessful. The reason TryParse exists is so that you don't have to rely on exceptions to...
8 Mar 2012 by #realJSOP
string query = string.Format("select * from {0} where {1}='{2}'", "tblMyTable", "myColumn", 0);Is that what you meant?
31 Jan 2009 by -- Abhi --
An article on how to utilize session variables
26 May 2007 by .Suchit
Tinkering with SilverLight to get a 3D scene rendered in the Browser.
20 May 2009 by 0x3c0
You can use boolean operators, like the && operator instead of the two 'where' clauses, and the | operator for an OR operation. For example, your first example would be:var results = from items in collection where...
27 Dec 2015 by 0xC0000054
A C# library to host Photoshop-compatible filters in .NET 2.0 and later
15 Nov 2010 by 10Tec, Sergey Gorbenko
Tool for creating MS Visual Studio documentation files - XML Summaries, HxS/MSHC help solutions and manuals.
27 Oct 2011 by 2011999
Dear All Experts,I Need Example of Base class library.how to use in Base Class Library ExampleRegardsSubrahmanyam
29 Jul 2009 by 333mmm
At the bottom I have pasted in an XML file I am working with.   My goal is to query this file using LINQ to XML and have the response formatted as follows:reportDate            alias24         alias392009-05-27         138,385.11     ...
8 Dec 2009 by 59godgodgod
friends tell me the method to dynamically create controls
11 Jan 2009 by 6opuc
Fast and easy to use data access class library.
23 Sep 2007 by [ICR]
How to create an application that consists primarily of a tasktray icon
9 Sep 2012 by __TR__
Refer string format in asp:label[^]
13 Dec 2012 by __TR__
Take a look at these CP articlesUsing ADO.NET for beginners[^]Database Manipulation with ADO.NET for beginners[^]
11 Sep 2012 by _Amy
Hi,Why you want to typecast that? You can directly fetch the value. Try this:foreach (DataGridViewRow dataGridRow in dataGridView1.Rows){ if (dataGridRow.Cells["YourCheckboxColumn"].Value != null && (bool)dataGridRow.Cells["YourCheckboxColumn"].Value) { // Checked ...
23 Sep 2012 by _Amy
You can use this on button click event://Changes the form sizeForm1.Size = new System.Drawing.Size(100, 100);Hope it helps.!--Amit
16 Jun 2007 by _Dals_
A cache that uses the power of static fields and generic class.
13 May 2012 by _Dhull
if (document.getElementById('TextBox1').focus()== true) // want to check focus fo text box here ..??// not checking if condition.
27 May 2009 by _Khallaf
Use IMAP to auto-reply to unread GMail messages while on vacation
29 Aug 2009 by _Khallaf
How To Do Precise 2-Way Rijndael CryptoStream Communication
26 Feb 2007 by _oti
A gadget that helps you control your breathing and water consumption
7 Jun 2011 by A Mahesh
New features available in the C# 3.0
17 Sep 2008 by A$TRAL Moristar
Using this FastDataTable you can serialize your data with fast and good compressing.
15 Sep 2009 by A. Bhandari a.k.a Amit Bhandari
Creating task list using MVC
8 Jun 2007 by A. Bioli
With this small library, it's simple to add calls to time-profile your .NET application
7 Jun 2014 by A. Najafzadeh
Saving zip files in access database with encrypting bytes when file saved in access database and decrypting bytes when extracting files from database . . .
8 Nov 2009 by a_pess
Image transition and visual effects in VB.NET using GDI+.
12 May 2011 by a_raja9
hi to allin my form nearly 10 buttons.all the 10 buttons can click dialy morning @10:30 pm.all the 10 buttons will do same work(eg;Download)i want to use the timer control.how i will do? can any one suggest the code.can i use more than one timer control in same page?
27 Nov 2012 by Aadhar Joshi
Creating job in sql server which automates taking backup of all stored procedures and functions in physical drive.
30 Sep 2010 by Aamir Butt
Here is how to do it. Link[^]
13 Feb 2007 by Aaron Sulwer
Code and example showing how to update the Assembly Version.
23 Aug 2012 by Aarti Meswania
double var1 = 113976.84375;double var2 = Math.Round(var1,2) ;or double var1 = 113976.84375;double var2 = Convert.ToDouble(var1.ToString("0.00"));Happy Coding!:)
23 Aug 2012 by Aarti Meswania
select label & set property 'Autosize' = false,and give static width to labelthen set it's property 'TextAlign' = MiddleRightHappy Coding!:)
10 Sep 2012 by Aarti Meswania
string Ans = (122629).ToString("N0", CultureInfo.CreateSpecificCulture("Hi-In"));Happy Coding!:)
1 Jan 2013 by Aarti Meswania
panel is control it self so, use this commandPrintDialog myPrintDialog = new PrintDialog();System.Drawing.Bitmap memoryImage = new System.Drawing.Bitmap(panel1.Width, panel1.Height);panel1.DrawToBitmap(memoryImage, panel1.ClientRectangle);if (myPrintDialog.ShowDialog() ==...
28 Sep 2010 by aayu
.NET Framework 2.0• A new hosting API for native applications wishing to host an instance of the .NET runtime• Full 64-bit support for both the x64 and the IA64 hardware platforms.• Language support for Generics built directly into the .NET CLR.• Many additional and improved ASP.NET...
23 Jul 2009 by abcdefghijklasdsad
Covariance, contravariance and invariance in C# language
29 Oct 2008 by Abd Allah Diab
A library that lets you easily manipulate your drawings
28 Nov 2007 by Abdallah Fayez
It an easy and secure way for begginer ASP.NET developer to create secure login WebForms using Sessions
21 Jun 2013 by Abdi tombang
Dear Friends,I want to measure the quality of my web application based Service Oriented Architecture.There are a standard for webservice quality factor from OASIS :Web Services Quality Factors Version...
25 Jan 2012 by Abdul Aziz1234556
How to Split Xml into Multiple Files(Dynamic) if the file size exceeds 10 MB .THe Xml should be split with proper nodes and it should be welformed xml.it should not split from the middle of the xml without any proper nodes.the below one is my xml structure. ...
9 Apr 2010 by Abdul Quader Mamun
ASP.NET provide features to develop appllication for mobile devices. System.Web.Mobile namespace is devoted specifically to mobile Web development.
14 Aug 2012 by Abdul Quader Mamun
Custom TreeView web user control for parent child relatioinal data upto infinity
16 Nov 2010 by Abdul Quader Mamun
Paging must be effective for large scaleable applications. Without smart and effective paging and sorting for huge amount of data, user request takes more time and uses more resources.
8 May 2012 by AbdulMuheet
What you have to do is create an interface (using asp.,net controls) where you can get the product data store it on xml/database and in product page retieve that data from source and display it.
2 Oct 2008 by Abey Thomas
This is an article about adding footnotes to a Word document (MS Office 2007) programmatically.
6 Oct 2008 by Abey Thomas
This article is about the details of adding an image to a Word document programmatically.
5 Nov 2008 by Abhay Mhatre
A solution to handle session variable problems between classic ASP and ASP.NET web applications.
31 Mar 2009 by Abhay Mhatre
PDF file creation using the ItextSharp library with ASP.NET and C#, and deleting the file from the server after displaying it.
9 May 2013 by Abhay@Accenture
23 Jun 2008 by abhigad
Using LinqDataSource with ASP.NET data controls like gridview and dropdown list
23 Jun 2014 by abhigad
Journey of C# up to LINQ in less than 10/15 minutes
26 Jul 2014 by Abhijit Ghosh (Subho)
.net is a framework, i.e. a lot of functionalities coded for you and supplied as a apart of the framework. You can use many supported languages like C#, VB etc.java in itself (just Java) is a programming langauage.
10 Jan 2010 by Abhijit Jana
This article describes the use of Caching Application Block - Enterprise Library 4.1.
24 Apr 2008 by Abhilash Nedumpurath
An introduction to using the DataGrid control in Silverlight 2.0.
27 Sep 2010 by Abhinav S
If you wanted just a list of differences, see here[^].
21 Oct 2010 by Abhinav S
See here[^].Everything should come on one cd unless the size of your database is too huge.
30 Oct 2010 by Abhinav S
Will Entity claases be the solution you are looking for[^]?
27 Nov 2010 by Abhinav S
What exactly do you mean by 'stretchable'? By default, the column should resize / stretch to the width of the contents.
15 Dec 2010 by Abhinav S
Start with this[^] as a guide.
19 Dec 2010 by Abhinav S
Check this[^] out.Another third party that might help[^].
24 Dec 2010 by Abhinav S
Using Javascript - here[^].Here[^] is another way.
24 Dec 2010 by Abhinav S
This[^] might help.
12 Jan 2011 by Abhinav S
See http://msdn.microsoft.com/en-us/library/aa719775(v=vs.71).aspx[^]. You will find some other links if you do a search on the internet.
17 Jan 2011 by Abhinav S
Have a look at this[^] interesting article. It might help.
27 Jan 2011 by Abhinav S
See here[^].
31 Jan 2011 by Abhinav S
Try http://www.developerfusion.com/tools/convert/vb-to-csharp/[^].
15 Feb 2011 by Abhinav S
In addition to the first answer, this[^] discussion should also help you go to the right links.
15 Feb 2011 by Abhinav S
Include the .Net framework in your installer.See here[^] for an example on how to do this in .Net 3.0.
19 Feb 2011 by Abhinav S
Maybe you could try reflector.
20 Feb 2011 by Abhinav S
You can also look at Remote Desktop using C#.NET[^].
31 May 2011 by Abhinav S
There are a number of ways to do this. Have a look at WCF on msdn - there are a number of protocols you could use based on your convenience.You could also setup socket communication between the two.There are other ways as well - but those two approaches should be sufficient to get you...
31 May 2011 by Abhinav S
Read more about NHibernate here[^].For some best practices on using it with ASP.Net, see NHibernate Best Practices with ASP.NET, 1.2nd Ed.[^].
22 Jun 2011 by Abhinav S
public interface A{ void DoFOO();}public class B: A{ public void DoFoo() { //implrementation }}
24 Jun 2011 by Abhinav S
This discussion could help you as well - http://forums.asp.net/p/1202997/2098610.aspx[^].