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

Home >Search > C-Sharp
What's New - What's Hot
Listings for Applications Applications (66)
Listings for Articles & Samples Articles & Samples (18146)
Listings for C-Sharp Sites C-Sharp Sites (12)
Listings for Errors and Bugs Errors and Bugs (25)
Listings for Introduction Introduction (72)
Listings for Knowledge Base Knowledge Base (234)
Listings for Sample Chapters Sample Chapters (79)
Listings for Support WebCasts Support WebCasts (2)
Listings for Training Training (19)

Text box to accept only number  Version: 0.00     Price: $0.00  
Total Hits: 288  |  Today: 0Author: Prasanta_Prince      Rating:  
Read Reviews | Write Review |  Your Rating: 

Just paste the Script Section in the Head section and in on key press call the function.
For C#, just paste the following code:...

Using the Raw Input API to Process Joystick Input  Version: 0.00     Price: $0.00  
Total Hits: 238  |  Today: 0Author: Alexander Böcken      Rating:  
Read Reviews | Write Review |  Your Rating: 

Microsoft discourages the use of DirectInput for keyboard and mouse input in games, but it is still recommended to process data from a legacy joystick, or other game controller. New applications should use the Raw Input API, i.e. to take advantage of computer mice generating data at 800 DPI or even more. Additionally, Microsoft introduced XInput to allow applications to receive input from the Xbox 360 Controller. Hence, game developers have to cope with up to three different APIs when designing ...

Generic Picker - A Modified Homage  Version: 0.00     Price: $0.00  
Total Hits: 108  |  Today: 0Author: SaoMaiNguyen      Rating:  
Read Reviews | Write Review |  Your Rating: 

I've downloaded Picker solution posted on Code Project website but I do not remember the author's name. I really liked that article. I modified it and used Editor attribute as a backdoor to EditValue and PaintValue object via built-in Property Grid so I do not to reinvent the wheel. The code/comments are still messy since I do not have time to clean it up yet but they are easy to understand except some variables I named after my kids. I like your comments and feel free to email me. Hope you enjo...

A Base Class to Allow Start/Stop Threading Safely  Version: 0.00     Price: $0.00  
Total Hits: 110  |  Today: 0Author: Gizz      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is a quick article on how to apply a nice easy base class to the age-old problem of getting your classes to support internal worker threads in a thread-safe manner. What I wanted was a base class that lets an internal thread start and stop sensibly, and have an abstract callback method that allows flexible 'units of work' to be executed....

SSL Peer Verification  Version: 0.00     Price: $0.00  
Total Hits: 110  |  Today: 0Author: All Time Programming      Rating:  
Read Reviews | Write Review |  Your Rating: 

When calling a web service using https and SSL, Host Verification and Peer Verification are to be handled for security. This article shows and explains how Peer Verification can be done successfully when calling a web service via HTTPS that is secured by SSL....

Tree Editor With Toolbar  Version: 0.00     Price: $0.00  
Total Hits: 63  |  Today: 0Author: skybirdcao      Rating:  
Read Reviews | Write Review |  Your Rating: 

Months ago, I needed a tree editor that could be used conveniently, and I couldn't find any in the Internet, so I did it by myself. I got some code from the article "Tree Editor" by Yossi Patt. Thanks very much!

I added a new class, used for the toolbar to operate the tree editor: CToolbarEx, which is not created originally by me. I'm sorry I forget who created it originally. And I just added some new functions which are used to respond to the toolbar's commands....

Directory and network browsing using a tree control  Version: 0.00     Price: $0.00  
Total Hits: 102  |  Today: 0Author: John McTainsh      Rating:  
Read Reviews | Write Review |  Your Rating: 

This dialog class displays a directory tree similar to the one found in the "Find in Files" Browse button as shown in the image above.

I have noticed several applications requiring a user to select a path that often use CFileDialog which does not fit the task very well. A better option is to use a Tree control but I have not found any that allow access to the network other than via mapped drives. Both methods lack the style that "Find in Files" provides. I have also spent some time trying...

Enhancements of Matthew R. Millers COptionTree  Version: 0.00     Price: $0.00  
Total Hits: 111  |  Today: 0Author: Cornelius Eichhorst      Rating:  
Read Reviews | Write Review |  Your Rating: 

To offer a nice setup in my private application, I was looking for a smart tree control which can embed some useful GUI controls like edit, font, colour control and more. That's exactly what's provided by Matthew Millers' COptionTree. First of all, thank you for that work Matthew. But nothing is free of charge except death (which costs your life) and so unfortunately, the version posted in September 2002 has two serious weak points. I want to ask the reader to examine the article linked above to...

A float tree control like the parameter list control in Visual Studio  Version: 0.00     Price: $0.00  
Total Hits: 101  |  Today: 0Author: Johnson Zhou      Rating:  
Read Reviews | Write Review |  Your Rating: 

When we are typing in Visual Studio, there is a auto-completion list for us to complete the parameter infomation for the function we typed or function names for a class. I encountered a requirement that the user should be able to select some words from a tree control to complete the current place in the an editor. So I created this control....

Tree control with bitmap checkboxes supported  Version: 0.00     Price: $0.00  
Total Hits: 63  |  Today: 0Author: Johnson Zhou      Rating:  
Read Reviews | Write Review |  Your Rating: 

I had posted an article for float control several months ago. Some body gave me a suggestion that I should add a checkbox in my control. I spade for an hour, and I found it is easy to do that. Here is my result. I got up today, "__Stephane Rodriguez__" ( send me a mail. He suggested to change the title of this article to make it more accurate. Thank you. Anthony_Yio send me a mail suggesting full selection of children and full un-checking of the children in the tree control ...

Tree Circle Draw Control  Version: 0.00     Price: $0.00  
Total Hits: 105  |  Today: 0Author: eng. Plamen Kovandjiev      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is a custom control which gives the ability to easily draw circles and edges between them.
This control is very useful for drawing binary trees....

MultiSelect DragImage in CTreeCtrl  Version: 0.00     Price: $0.00  
Total Hits: 106  |  Today: 0Author: Sudheesh.P.S      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes how to create a multi select drag image in CTreeCtrl. I have created a custom tree control CDragDropTreeCtrl (derived from CTreeCtrl) for adding drag and drop support. CreateDragImageEx() is the core function, it creates the drag image list....

TreeView with Columns  Version: 0.00     Price: $0.00  
Total Hits: 63  |  Today: 0Author: jkristia      Rating:  
Read Reviews | Write Review |  Your Rating: 

I have written several custom controls over the last couple of years, some of the controls were written from scratch, and others were enhancements to existing (3rd party) controls. What was common for all of the controls was that I didn't pay any attention to how to implement design time support....

Full-Featured Tree Control  Version: 0.00     Price: $0.00  
Total Hits: 61  |  Today: 0Author: Jörg König      Rating:  
Read Reviews | Write Review |  Your Rating: 

Implementation of a reusable tree control with many features....

Tree Editor  Version: 0.00     Price: $0.00  
Total Hits: 105  |  Today: 0Author: Yossi Patt      Rating:  
Read Reviews | Write Review |  Your Rating: 

The Tree control is one of the most useful windows controls. Using a single control, it's possible to display any structured information. However, modifying a complex tree programmatically is not straightforward....

VividTree - A Colorful and Picturesque Owner Drawn CTreeCtrl Class  Version: 0.00     Price: $0.00  
Total Hits: 106  |  Today: 0Author: JimAlsup      Rating:  
Read Reviews | Write Review |  Your Rating: 

This owner draw tree control allows for the creation of a tree control loosely resembling the embedded tree in Skype's main window. It demonstrates the basics of creating an owner-drawn tree control, but more importantly, demonstrates gradient backgrounds fills, bitmap backgrounds, flicker free drawing, and how to deal with these in a scrollable and resizable dialog....

An Introduction to MOQ  Version: 0.00     Price: $0.00  
Total Hits: 48  |  Today: 0Author: imsauravroy      Rating:  
Read Reviews | Write Review |  Your Rating: 

This post introduces how we can mock our dependencies and carry on with an uninterrupted unit testing using MOQ....

Time Shift Utility  Version: 0.00     Price: $0.00  
Total Hits: 37  |  Today: 0Author: SwatiBatra      Rating:  
Read Reviews | Write Review |  Your Rating: 

Gone are the days of fiddling with the system clock to simulate the passing of time. The Time Shift Utility helps to alter the application time without affecting the System time. This document gives the complete description to use the Time Shift WCF Service to achieve this. It has a built-in mechanism which abstracts the system time away from the underlying real (database system) time. By default, the System time is the same as the database time which is being used by the application. The databa...

StatusStrip in C#  Version: 0.00     Price: $0.00  
Total Hits: 58  |  Today: 0Author: Mahesh Chand      Rating:  
Read Reviews | Write Review |  Your Rating: 

A typical status bar control, placed on the bottom of a Form is used to display some text that represents the status of the application and user actions. In the previous versions of the Windows Forms, the StatusBar control is used to provide the status bar functionality. In Windows Forms 4.0 that is a part of Visual Studio 2010, the StatusStrip control replaces the StatusBar control. The StatusStrip control not only provides status bar functionality but also provides features to add rich user in...

Registry Export File (.reg) Parser  Version: 0.00     Price: $0.00  
Total Hits: 49  |  Today: 0Author: Henryk Filipowicz      Rating:  
Read Reviews | Write Review |  Your Rating: 

You may already - like me some time ago - have needed a possibility to read and to analyze an exported .reg file, in order to compare the given registry values or to import only few of the exported registry values.

In my case, I had to read a reg file of ca. 30 MB size, then to compare all values with the existing registry values and change some of them - some kind of backup/restore solution for poor men ;-). I spent some time searching on the Internet for a ready-to-use solution, but all...

Disclaimer - Privacy
© 2002-2015