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

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 > 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: 226  |  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: 180  |  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 ...

Study EVM (Earned Value Management) – Part 1  Version: 0.00     Price: $0.00  
Total Hits: 148  |  Today: 0Author: Wayne Ye      Rating:  
Read Reviews | Write Review |  Your Rating: 

During the past few days, I was studying Project Time Management in PMBOK, preparing for the upcoming PMP exam on 4th December 2010. While I spent a few hours on understanding/mastering EVM, I log my memory here....

Generic Picker - A Modified Homage  Version: 0.00     Price: $0.00  
Total Hits: 57  |  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: 58  |  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: 62  |  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....

Apply Search On the nodes of an Treeview ASP.NET control  Version: 0.00     Price: $0.00  
Total Hits: 61  |  Today: 0Author: Abhishek Banerjee (A Web Developer)      Rating:  
Read Reviews | Write Review |  Your Rating: 

Today I am showing an interesting block of code which will help you in applying user search on a tree view control of applications....

Directory and network browsing using a tree control  Version: 0.00     Price: $0.00  
Total Hits: 55  |  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: 60  |  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...

CRHTree - An Owner-drawn CTreeCtrl that has Open/Close and Checkboxes on the Right  Version: 0.00     Price: $0.00  
Total Hits: 55  |  Today: 0Author: Paul Roberts      Rating:  
Read Reviews | Write Review |  Your Rating: 

Recently I needed a tree-style presentation, but the standard CTreeCtrl just didn't cut it. I wanted the open/close controls and checkboxes to be vertically aligned down one side of the tree, not zigzagging in and out with each item's indentation. Why? Well if you're doing some kind of monitoring application, I feel it's better to have all the checkboxes in a straight line, so you can assess the current state in a single glance....

Move Tree Items  Version: 0.00     Price: $0.00  
Total Hits: 60  |  Today: 0Author: Paul Vickery      Rating:  
Read Reviews | Write Review |  Your Rating: 

I recently had a situation where I needed to be able to move a part of a tree control's hierarchy to live under a different tree item. As there is no way provided by the control itself I had to write it myself. I have presented it here as I feel it something which may be of use to others....

XHtmlTree - Tree control with support for HTML, XML, Smart Checkboxes, and Drag & Drop  Version: 0.00     Price: $0.00  
Total Hits: 57  |  Today: 0Author: Hans Dietrich      Rating:  
Read Reviews | Write Review |  Your Rating: 

Everyone is familiar with tree controls: every time you open Windows Explorer, you see file system hierarchy as a tree. Another kind of tree is used by some programs, such as installers, to allow you to select options to install. When all options of a particular subtree are selected, you will see checkbox with a check mark (screenshot); when no options in a subtree are selected, the checkbox next to the subtree root displays an unchecked checkbox (screenshot); and when only some of the options i...

A float tree control like the parameter list control in Visual Studio  Version: 0.00     Price: $0.00  
Total Hits: 53  |  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 Circle Draw Control  Version: 0.00     Price: $0.00  
Total Hits: 56  |  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: 55  |  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....

A Multi-selectable Tree Control Supports Transparent Selection Rectangle  Version: 0.00     Price: $0.00  
Total Hits: 57  |  Today: 0Author: yonken      Rating:  
Read Reviews | Write Review |  Your Rating: 

Sometimes, we need a tree control that allows the user to select multiple items at a time, but this feature is not provided by the standard common controls. Thanks to Richard Hazlewood's great article, this feature has been implemented nicely. However, Richard's implementation only supports the simple style rubber band selection. What I want to have is a tree control that implements an alpha-blended selection rectangle (just like explorer does)....

Tree Editor  Version: 0.00     Price: $0.00  
Total Hits: 57  |  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: 55  |  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....

Win32 Editable TreeView and ListView Merged as One  Version: 0.00     Price: $0.00  
Total Hits: 52  |  Today: 0Author: Eitan Michaelson      Rating:  
Read Reviews | Write Review |  Your Rating: 

There are times when there is a need for a combination of the TreeView control along with the ListView control. A control that can present data in an expanding tree along with grid lines and editable columns. Unfortunately, such a control is not part of the Win32 basic controls (including those found within comctl32.lib). This article will show how to extend the TreeView control to meet this need. The included source files hold a complete TreeList control source that can be easily used in many p...

Custom drawn vertical tree control  Version: 0.00     Price: $0.00  
Total Hits: 58  |  Today: 0Author: Doga Arinir      Rating:  
Read Reviews | Write Review |  Your Rating: 

While studying electronic engineering and computer science, I participated in a compiler workshop where we had to write our own programming language. To view and analyse the syntax tree for a given program, I wrote a custom drawn tree component those days. The original component was written in Java and I thought it might be useful to have it as a CTreeCtrl derivate. In contrast to some other custom drawn tree controls at CodeProject, this one does not has its own data structure for representing ...

Disclaimer - Privacy
© 2002-2015