|
|
|
Auto-File and URL Completion for Text Boxes and Combo Boxes
|
Total Hit (1615) |
Version 5 of the Shell, shipped with Windows 2000 and ME or above, provides the ability to add Auto-Complete to any Text Box. This sample provides two simple extensions to the TextBox and ComboBox classes to add AutoComplete to your application.
|
Rating
|
|
|
Calculating CRC32 (and MDA5 and SHA-1) From .NET
|
Total Hit (2440) |
The CRC (Cyclic Redundancy Checksum) algorithm is a highly optimised and powerful way of checking whether a large number of bytes have been modified or not. The algorithm scans through all the bytes and generates a 32 bit number to represent the contents - small changes in the file contents result i
....Read More |
Rating
|
|
|
Using Animated Cursors in .NET
|
Total Hit (1835) |
The Cursor class provided with System.Windows.Forms doesn't support animated cursors - but this tiny class lets you use them interchangably with the existing .NET Framework cursors. Also provided with the code is a technique for drawing cursors directly onto forms and animating on a background threa
....Read More |
Rating
|
|
|
A .NET Implementation of the ZoomIn Utility
|
Total Hit (2185) |
The ZoomIn Utility enables you to look at any area of the screen and capture the display. This can be an excellent way to snip graphics from other applications or to work out the exact details of how other controls are drawn. A copy of this is provided along with Visual Studio as a tool and also as
....Read More |
Rating
|
|
|
Painting in the MDI Client Area
|
Total Hit (2346) |
Although the .NET Framework Form allows you to set a background bitmap or color for the MDI Client area, there's no direct way to draw onto the area to customise it. This sample demonstrates how to create an object which derives from NativeWindow to intercept the messages from the MDI Client area an
....Read More |
Rating
|
|
|
Enumerating Windows
|
Total Hit (1894) |
This sample provides a class wrapper around the EnumWindows and EnumChildWindows API calls for use in .NET.
|
Rating
|
|
|
NetProjectZip
|
Total Hit (797) |
NetProjectZip is an update of the VBPZip utility for VS.NET Projects and Solutions. The idea of the project is to make it easier to copy the important parts of a project or solution without any of the unnecessary files created as part of the build or IDE's working.
In VB, zipping was a fairly dif
....Read More |
Rating
|
|
|
ConsoleAttributes
|
Total Hit (1779) |
The ConsoleAttributes allows you to change the default behaviour of the console class. You can modify several attributes (like ForeColor, BackColor, Echo Input etc), and you can move the cursor around.
|
Rating
|
|
|
An Introduction to Regular Expressions and Their Use in .NET II...
|
Total Hit (1547) |
In the first article in this series we introduced background information regarding regular expressions as well as starting to look at the support for regular expressions in .NET. In this article we'll look in more detail at this latter area.
|
Rating
|
|
|
An Introduction to Regular Expressions and Their Use in .NET I...
|
Total Hit (2549) |
Regular expressions pop up in several locations in .NET and its supporting technologies. A prime example would be in the RegularExpression server validation control but the power of regular expressions are also utilised elsewhere, for example within XSD schemas with the pattern facet. This gives a g
....Read More |
Rating
|
|
|
Updating with the SQLDataAdapter...
|
Total Hit (909) |
Using the SQLDataAdapter's Update method is a very valuable and timesaving approach when synching a DataSet with a database. The SQLDataAdapter updates the SQL Server data source through the DataSet object, which tracks changes at the row level, through the RowState property. There are several metho
....Read More |
Rating
|
|
|
DataSets in Microsoft .NET - 2
|
Total Hit (1309) |
In the previous part of this article we discussed different features and how to create a dataset in design time lets go further in detail. In this part I will discuss about sort, search and filtering support provided by dataset and data table object.
|
Rating
|
|
|
DataSets in Microsoft .NET - 1
|
Total Hit (1787) |
ADO.NET was designed to meet the needs of this new programming model: disconnected data architecture, tight integration with XML, common data representation with the ability to combine data from multiple and varied data sources, and optimized facilities for interacting with a database, all native to
....Read More |
Rating
|
|
|
Understanding and Working with Oracle Data Provider for .NET
|
Total Hit (1675) |
Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
|
Rating
|
|
|
Typed DataSets in .NET by Ramaprasad Upadhyaya.
|
Total Hit (684) |
As all of we know, we can specify the data type when we create a DataColumn for a DataTable. This is to enforce the runtime type-safety for the column so that only data of specified data type can be stored in the column.
|
Rating
|
|
|
Remoting Overview
|
Total Hit (1232) |
The common language runtime Remoting infrastructure provides a rich set of classes that allow developers to ignore most of the complexities of deploying and managing remote objects. Even though you are dealing with applications running against different run-time environments, calling methods on remo
....Read More |
Rating
|
|
|
How Remoting Works
|
Total Hit (1530) |
The .NET Remoting framework provides developers with a modern distributed object model that allows remote method invocation between different common language runtimes across the network or between different AppDomains in the same common language runtime. Any interaction with a remote object occurs t
....Read More |
Rating
|
|
|
How Do I...Create a Remote Server?
|
Total Hit (875) |
This sample demonstrates how to create the remoting version of a Hello World server. When a client calls the HelloMethod on the HelloServer class, the server object appends the string passed from the client to "Hi There" and returns the resulting string back to the client. The following code example
....Read More |
Rating
|
|
|
How Do I...Create a Client of a Remote Server?
|
Total Hit (760) |
If you haven't already read the section How Do I Create a Remote Server?, please read this first. The client references the server assembly for metadata, so you have to compile the server before the client. The code for the client is listed below.
....Read More |
Rating
|
|
|
How Do I...Create a Remote Object as a Singleton?
|
Total Hit (821) |
This example demonstrates how to modify the Client/Server example by deploying the remote object as a singleton. The client starts two threads and calls the CountMe method on the server on two different channels: TCP and HTTP. Although this example is very simple, it does illustrate a few important
....Read More |
Rating
|
|
|
How Do I...Pass An Object to a Server By Reference?
|
Total Hit (732) |
This example demonstrates how to create an object that derives from MarshalByRefObject on the client that is then passed as a parameter to the server. The server calls a method on the remote object it receives. The first step is to create the object you need to pass.
....Read More |
Rating
|
|
|
How Do I...Pass An Object to a Server By Value?
|
Total Hit (737) |
The Pass an Object to a Server by Reference section illustrated that local objects are always passed by value when you call a remote function. To demonstrate this concept, you need change the previous example.
|
Rating
|
|
|
|
How Do I...Make an Asynchronous Call to a Remote Object?
|
Total Hit (744) |
All the examples up to this point made synchronous calls to the remote object. This strategy might not always be desirable since the remote object might have to perform a number of time-consuming tasks and it is not advisable to block the client while a call is in progress. This example demonstrates
....Read More |
Rating
|
|
|
.NET Remoting - Part III/IV
|
Total Hit (2948) |
Remoting provides a very flexible environment for distributed applications in the .NET arena. In part one I introduced the background to distributed applications and the .NET remoting architecture that aims to support distributed applications. In part two we looked at some examples of the applicatio
....Read More |
Rating
|
|
|
Component Services for .NET, Part I of IV
|
Total Hit (2188) |
The topic of component services is about creating enterprise applications that need to be secure, reliable, available, efficient and scalable. Component Services, aka COM+ (previously MTS), is the part of the Windows Server OS that supports these goals. The idea is that integrating your application
....Read More |
Rating
|
|
|
.NET Remoting - Part II
|
Total Hit (3514) |
Remoting provides a very flexible environment for distributed applications in the .NET arena. In part one of this series of four articles (note that this is an extension of the initially planned three as indicated in article I) I introduced the background to distributed applications and the .NET rem
....Read More |
Rating
|
|
|
.NET Remoting - Part I
|
Total Hit (1214) |
Remoting provides a flexible architecture for distributed applications in .NET. This series of articles shall examine the topic of remoting.
|
Rating
|
|