Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home >Search > Articles & Samples > C-Sharp > Tips & Tricks


Search:
What's New - What's Hot
How to create a User Defined Collection  Version: 0.00     Price: $0.00  
Total Hits: 35  |  Today: 0Author: interface Mirror      Rating:  
Read Reviews | Write Review |  Your Rating: 

A collection is a set of similar objects that can be accessed using only one reference. In this article i assume that you know about usage and benefits of using collections but if you need to know more about them you may find this article useful....

How to make a sortable DataGrid for custom IBindable collections  Version: 0.00     Price: $0.00  
Total Hits: 24  |  Today: 0Author: Koen Vingerhoets      Rating:  
Read Reviews | Write Review |  Your Rating: 

It was a dark and stormy day... and my boss asked the option to sort a DataGrid. If bound to a DataTable, the easy solution is to sort the DataView. Alas. My application uses LLBLGen Pro to build a Data Access Layer on top of the database. Initially, we weren't to keen to use LLBLGen, basically because we didn't get the full power of that application. But now I was stuck with a bunch of custom collections, on which no sort was provided. My colleague that wrote those parts even commented: don't u...

RemoteInstall: Automated Testing of Windows Installers on VMWare Infrastructure  Version: 0.00     Price: $0.00  
Total Hits: 45  |  Today: 0Author: dB.      Rating:  
Read Reviews | Write Review |  Your Rating: 

RemoteInstall is a pragmatic approach to testing, and has been extremely successful at my day job. We went through several test framework iterations, and just couldn't get any automation going. We tried expensive systems and Open-Source stuff. We spent cash. We made automation a priority. It continued being a dead end. In the meantime, we were authoring MSI installers like crazy. We had to deal with a large distributed system that was having a high deployment failure rate, a system made of many ...

How to Configure Default Values in .NET Classes.  Version: 0.00     Price: $0.00  
Total Hits: 33  |  Today: 0Author: Roman Kiss      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes how to setup default values of the value type fields in the .NET class using the Custom Attribute from the Application Assembly or Config file. The concept is based on attributing the fields with a specified default value. These default values are persisted in the assembly metadata during the compiling time. Using the "generic loader" function during the run-time, the attributed fields can be initialized by these Default Values....

Using Collaboration Data Objects (CDO) to check for new Exchange email  Version: 0.00     Price: $0.00  
Total Hits: 32  |  Today: 0Author: Mark F Garrison      Rating:  
Read Reviews | Write Review |  Your Rating: 

This application connects to the Exchange server and checks for unread mail in your inbox. Outlook does this already, but this feature doesn't work well with SpamBayes. I decided I'd write my own in C# using the CDO Library...

E-mail sender with HTML editor & Quick Drawer  Version: 0.00     Price: $0.00  
Total Hits: 16  |  Today: 0Author: Antoun Gorgy      Rating:  
Read Reviews | Write Review |  Your Rating: 

Trying here to introduce something new with some funny features, while using the System.Net.Mail. Like;

1- Sending an e-mail with a built in html editor which can send special formatted e-mails

2- Draw your own paintings save and/or attach them immediately with one click....

Implementing MFC-Style Serialization in .NET - Part 2 - Reading MFC Serialized Objects into .NET     
Total Hits: 63  |  Today: 0Author: Robert Pittenger      Rating:  
Read Reviews | Write Review |  Your Rating: 

In Part 1, I showed how to implement MFC-style serialization in .NET using an Archive class similar to MFC's CArchive. In Part 2, I will show how Archive can serve as a base class for MfcArchive - a .NET class that allows reading MFC-serialized objects into .NET applications, with proper conversion of CString, COleDateTime, and COleCurrency....

How to create a wrapping and/or multiline label in AWT.     
Total Hits: 89  |  Today: 0Author: Kyle Morris      Rating:  
Read Reviews | Write Review |  Your Rating: 

VWrappingLabel is based on the Symantec WrappingLabel. Here is a brief blurb taken straight from Daniel Kirkdorffers Visual Cafe Tips, which was the place this code was found originally. Symantec's WrappingLabel is a very handy component. On top of the ability to automatically wrap label text to fit the width of the component, WrappingLabel can work as a good substitute for the basic Label component in cases where you want to modify foreground or background colors of your label....

How to send and receive SMS with the Orange SMS API     
Total Hits: 62  |  Today: 0Author: fr_marx      Rating:  
Read Reviews | Write Review |  Your Rating: 

Publishing one’s APIs to developers and geeks has gained momentum over the Internet as a way to foster innovation and drive use for services. All Web players, including icons such as Yahoo, Google, Microsoft, Amazon and eBay, now offer wide arrays of APIs. APIs have mushroomed in the last 4 years and telcos have eventually caught up. In May 2008, Orange will offer its own portfolio of alpha, beta and commercial API services aimed at the developer communities. It will stimulate collaborative inno...

How to build a chat server based on an IOCP framework     
Total Hits: 119  |  Today: 0Author: jgauffin      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is my first article ever and all feedback is appreciated.

A while ago I needed a server framework that used I/O completion ports and I did not find any solutions that fit my need. Those that I found where either too complex or not designed for reusability. Therefore I started to make my own, and this is the result. All classes are fully commented with doxygen comments....

Returning multiple ref cursors from oracle using DAAB     
Total Hits: 43  |  Today: 0Author: himanshu2561      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article explains that how to work with oracle strore procedure which return multiple ref cursors using Data Access Application Block (DAAB) of Enterprise Library....

How to Store and Retrieve a ConnectionString from a Web.Config or App.Settings File     
Total Hits: 110  |  Today: 0Author: Vuyiswa Maseko      Rating:  
Read Reviews | Write Review |  Your Rating: 

Every time in my career when I learn something new, I always wish to share it. Every time when someone is new to a subject, at least he has to Google before he can post in the Forum. Sometimes the answers that are found in threads are not complete. I would like to take this chance to increase the pages and results found when you Google the subject “How to Store a Connection string in an App.Config file or Web.Config File. Let’s hear my story first....

How To Change The Screen Resolution in C#     
Total Hits: 128  |  Today: 0Author: Joshy George      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is a sample program that will demonstrate how to change resolution at runtime. All programmers are facing common problem is how to change screen Resolution dynamically. In .Net 2005 it's very easy to change the screen resolution. Here I will explain you how can we get the Screen resolution and how we will change the resolution at dynamically and while unloading the page it will come as it was before. In dot net we can access the values of user's screen resolution through the Resolution clas...

How to: Use Transforms on a MediaElement     
Total Hits: 44  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This example shows how to use a RotateTransform on a MediaElement....

How to: Compare Claims     
Total Hits: 46  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The Identity Model infrastructure in Windows Communication Foundation (WCF) is used to perform authorization checking. As such, a common task is to compare claims in the authorization context to the claims needed to perform the requested action or access the requested resource. This topic describes how to compare claims, including built-in and custom claim types. For more information about the Identity Model infrastructure, see Managing Claims and Authorization with the Identity Model....

Convert aspx pages to pdf     
Total Hits: 144  |  Today: 0Author: Guido_d      Rating:  
Read Reviews | Write Review |  Your Rating: 

There have been some articles on converting local files to pdf on this site, but I was looking for a solution to serve dynamic pages directly as PDF. This should be done by using the user's session, eg rendering a user-specific report. This article shows a quick and dirty way to accomplish this using ghtmldoc. Ghtmldoc is a GPL licensed program that converts a html file on disk to pdf. I have included a binary version of the program, but feel free to create your own as I'm not sure that it's the...

ConfigManager.Net - App.config & Web.config helper utility.     
Total Hits: 46  |  Today: 0Author: fodonnel      Rating:  
Read Reviews | Write Review |  Your Rating: 

In developing ConfigManager.Net I set out to address the following problems:
* While many of the items in the app.config\web.config file are generic to all team members some settings especially in the appSettings and connectionStrings sections may need to be different.
* The configuration sections of referenced assemblies is not automatically merged into the configuration file of the main application....

SQL XML Documentation     
Total Hits: 45  |  Today: 0Author: EJocys      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article will help to choose proper SQL XML Documentation format for future and helps to convert these comments into Microsoft Help formats with minimal resources....

A C# central logging mechanism using the Observer and Singleton patterns     
Total Hits: 27  |  Today: 0Author: Muaddubby      Rating:  
Read Reviews | Write Review |  Your Rating: 

Logging is something any respectable application needs to do. Whether it's to keep track of what the application is doing under the hood (for possible trouble shooting), to show a list of events that we might need to inform the user of, or simply to keep a history of events, logging is as necessary to the programming world as note taking is to a class room. If you don't do it, you might be able to get by for the moment. Just hope you never need to refer back to something that happened a few minu...

Build Better Software Using Telerik RadControls, Visual Studio 2008, and .NET 3.5     
Total Hits: 144  |  Today: 0Author: Todd Anglin      Rating:  
Read Reviews | Write Review |  Your Rating: 

Visual Studio 2008 is here. So is .NET 3.5, the new major version of the .NET framework. In the two years that have passed since Visual Studio 2005 and .NET 2.0, Microsoft has been busy adding features to the new IDE and Framework. And as with previous .NET releases, Telerik has prepared industry leading UI components that leverage the latest from Microsoft so that you can begin building tomorrow’s solutions today....


1  2  3  4  5  6  7  8  9  10  Next >> 


Disclaimer - Privacy
© 2002-2012 DevASP.net