|
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Emery Emerald
|
Rating:
|
|

In the previous article http://www.codeproject.com/KB/list/Emery-Emerald.aspx we showed the modified CListCtrl classes, displayed on the insets of CFormView’s descendants. However on different insets the contrls was displayed identically. Therefore it would be desirable to have different variants of descendants of CListCtrl on the forms of dialogs. For example, as showed on the Fig. 1....
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Salmanzz
|
Rating:
|
|

The Adapter pattern is a structural design pattern which enables a system to use classes whose interfaces don’t quite match its requirements or in other words is used to make a interface which client understands....
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: logicchild
|
Rating:
|
|

An MFC window is a hybrid of C++ and Windows API calls. In effect, an MFC window gives you a C++ wrapper to a lot (but not all) of the Windows API. An MFC window does not direct control over a Window Object than you do in the API world. That is, if you can’t something in the API world then you can’t do it in the MFC world. For example, the MFC library has the class CWnd for creating a window, but it is simply a wrapper around the API calls you would use in the API world. This is why certain MFC ...
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: Sarath.
|
Rating:
|
|

In this installement, let’s see how to handle the events of the ribbon control. I strongly reconmmend you to read the previous post on the basics of ribbon the way it’s being created. This is a continuation of the previous post To handle the events, the IUICommandHandler interface is implemented by the application and defines the Command handler methods for framework events. The following function has to be implemented in the derived class....
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Josh Fischer
|
Rating:
|
|

The Beta for Visual Studio 2010 is upon us and included is the CTP of C# 4.0. While C# 4.0 does not represent a radical departure from the previous version, there are some key features that should be understood thoroughly in order to take advantage of their true potential....
|
|
|
|
Total Hits: 2 | Today: 1
|
Author: Vitaliy Liptchinsky
|
Rating:
|
|

Article describes how to implement a delegate which performs much better during BeginInvoke/EndInvoke operations, than the delegates with default implementation of BeginInvoke/EndInvoke, injected by CLR. The idea is rather simple, no cheats with IL and function pointers....
|
|
|
|
Total Hits: 2 | Today: 1
|
Author: china_hhf
|
Rating:
|
|

A lot of applications require some sort of search. Sometimes, the information we are looking for is in many different locations. Most of the time, even when the resources are independently and physically separated from each other, we still have to perform the searches one by one in the order in which they are defined in the code. In this article,we look at the simple but sophisticated multithreading model provided by the System.Threading namespace in the .NET Framework, with which we can simply ...
|
|
|
|
Total Hits: 3 | Today: 2
|
Author: spotofleopard
|
Rating:
|
|

I was writing a small database application, which allows users to import records in plain text files to Access database. One of the problems is that different users will have different formats: some are tab delimited, some are comma delimited; some have fixed width fields, while others don't. You can use a switch statement to deal with them, but when the number of formats increases, so is the ugliness index of your code. To make it more difficult, more often than not, you don't know what the for...
|
|
|
|
Total Hits: 4 | Today: 2
|
Author: Resco Developer Tools
|
Rating:
|
|

When developing a mobile app you can decide on platforms such as Android, Windows Mobile, iPhone. We will pick Windows Mobile from the three ones mentioned above. The reasons are quite obvious — the development is done in Microsoft Visual Studio — the most popular development environment in developer community. Many companies have already developed their desktop solutions using Visual Studio and have relevant knowledge and experience that can be used for creating mobile solutions. The only aspec...
|
|
|
|
Total Hits: 2 | Today: 1
|
Author: matheszabi-RO
|
Rating:
|
|

My original task it was: Create a .net wrapper class for an existent native C++ code and expose to web page as like in Active X but in .Net and set up an environment in what are able to communicate the web page with native code and vice-verso.Isn't finished. After a lot of web search I have found a solution. In this article I will show how to place an C# user control on the IE web page (client side) and the user control how can communicate with web page and back...
|
|
|
|
Total Hits: 2 | Today: 1
|
Author: logicchild
|
Rating:
|
|

The purpose of this article is to help the developer to enhance the text building capabilities of a .NET Framework application via the System.Text namespace. Processing text is one of the most common programming tasks. User input is typically in text format, and it might need to be validated, sanitized, and reformatted. Also, as a developer, you might need to process text files generated from a legacy system to extract important data. These legacy systems often use nonstandard encoding technique...
|
|
|
|
Total Hits: 2 | Today: 1
|
Author: Virat Kothari
|
Rating:
|
|

We usually face problem in Stored Procedures and other database object when we need to implement some complicated logic within it. We found inefficient performance when we try to implement complex logic & business rules in database objects. In many cases we found C# or VB classes more powerful to implement such things. Microsoft has launched a new concept to resolve such issues with SQL server 2005 called "CLR Stored Procedure"....
|
|
|
|
|
|