|
|
|
|
|
|
| | Total Hits: 302 | Today: 0 | | Rating:  |
| |  The Builder pattern allows a client object to construct a complex object by specifying only its type and content. The client is shielded from the details of the object’s construction.... |
| | Total Hits: 993 | Today: 0 | Author: Michael Gold | Rating:  |
| |  Today I realized that I miss those Visual Basic/Visual C++ type operators. You know the ones: Left, Mid, Right. I'm so used to using them, that I decided to override the string class. Simple enough, right? I just inherit from the System.String and then I get all the nice string methods, plus my own: Left, Mid, and Right. The problem, though, is that the System.String class is sealed. You can't inherit from it. So now what? Must I give up the dream of using those fine old methods?... |
| | Total Hits: 536 | Today: 0 | | Rating:  |
| |  Arguably, the reason that Java has become so popular as a programming language is because of the way it has abstracted away the difficulties in performing input/output and networking operations. C# has taken the same approach and has provided libraries that hide these complications. The previous two articles in this series have focused around the different language structures that a Java programmer needs to know to build simple C# programs; this article is going to focus on a few C# namespaces d... |
| | Total Hits: 429 | Today: 1 | Author: Ben van Klinken | Rating:  |
| |  Have you ever wanted to turn a .ASCX file into a distributable control? This program generates the source code for an .ASCX file so that you can compile it without having to distribute the .ASCX file. It comes close to simulating how the Page.LoadControl ("asdf.ascx") works.... |
| | Total Hits: 1590 | Today: 0 | Author: Rodger Brennan | Rating:  |
| |  This article will take a look at different approaches to working with Outlook folders, and walk through creating items in Outlook with C#. Microsoft Office provides a powerful component model to automate from another program and using COM Interop you can automate Outlook from a .NET application.... |
| | Total Hits: 484 | Today: 0 | | Rating:  |
| |  The clipboard is where your data is stored when you copy or cut some text or an image or a file or a folder. The clipboard is common across processes, which means we can use the clipboard as a mechanism to transfer data between two processes. Win32 gave us a Clipboard API with functions like OpenClipboard and GetClipboardData which most of you might be familiar with. In .NET Microsoft has encapsulated the functionality of most of these functions into some classes. The most prominent of these cla... |
| | Total Hits: 1042 | Today: 0 | | Rating:  |
| |  There are many questions on discussion forums about creating a web browser or using existing web browser activeX control in C# or VB.NET. This article explains how to add and web browser activeX to your project to developer your own customized web browser.... |
| | Total Hits: 770 | Today: 0 | | Rating:  |
| |  The System.Security.Cryptography classes in the Microsoft .NET Framework make it easy to compute a hash value for your source data. This article shows how to obtain a hash value and how to compare two hash values to check whether they are identical.... |
| | Total Hits: 1433 | Today: 0 | | Rating:  |
| |  This article demonstrates how to use the .NET Framework Process class to start another application from your code and have the code wait for the other application to close before it continues.... |
| | Total Hits: 325 | Today: 0 | | Rating:  |
| |  Boxing and unboxing is a essential concept in C#'s type system. With Boxing and unboxing one can link between value-types and reference-types by allowing any value of a value-type to be converted to and from type object. Boxing and unboxing enables a unified view of the type system wherein a value of any type can ultimately be treated as an object.... |
| | Total Hits: 410 | Today: 0 | | Rating:  |
| |  The fundamental concept behind both COM and DCOM is the interface. An interface is an agreement between a client and an object about how they will communicate with each other. When we define interfaces in language s other than Visual Basic, we have to use Microsoft's Interface Definition Language (IDL), which we must compile within the Microsoft Interface Definition Language Compiler (MIDL).... |
| | Total Hits: 826 | Today: 0 | | Rating:  |
| |  Microsoft's .NET framework allows you to work with XML documents in a variety of ways. XML Magazine's Dan Wahlin talks about how, with the help of C#, you can leverage this asset to create a handy hierarchical menu.... |
| | Total Hits: 576 | Today: 0 | | Rating:  |
| |  Multiple language implementation has an inherited powerful advantages. The .Net unify class architecture model allows .Net languages to leverage class libraries implemented in other class libraries. This article shows you how to leverage the power of VB.Net Financial base class library using C#.... |
| | Total Hits: 436 | Today: 0 | | Rating:  |
| |  First thing a programmer looks for is what kind of data types a programming languages has and how to use them. In this part, you will cover C# data types and how to use them in a program.... |
| | Total Hits: 238 | Today: 0 | | Rating:  |
| |  If you want to write more portable code, using structured exception handling in a C++ program is not recommended. However, you may sometimes want to mix C and C++ source code, and need some facility for handling both kinds of exceptions. Because a structured exception handler has no concept of objects or typed exceptions, it cannot handle exceptions thrown by C++ code; however, C++ catch handlers can handle C exceptions. As such, C++ exception handling syntax (try, throw, catch) is not acce..... |
| | Total Hits: 1151 | Today: 0 | | Rating:  |
| |  Many developers wish there was a language that was easy to write, read, and maintain like Visual Basic, but that still provided the power and flexibility of C++. For those developers, the new C# language is here. Microsoft has built C# with type-safety, garbage collection, simplified type declarations, versioning and scalability support, and lots of other features that make developing solutions faster and easier, especially for COM+ and Web Services. This article gives you a first look at C..... |
| | Total Hits: 684 | Today: 0 | | Rating:  |
| |  According to Microsoft (MS) C# is, "C# is a simple, modern, object oriented, and type-safe programming language derived from C and C++. C# (pronounced “C sharp”) is firmly planted in the C and C++ family tree of languages, and will immediately be familiar to C and C++ programmers. C# aims to combine the high productivity of Visual Basic and the raw power of C++."... |
| | Total Hits: 439 | Today: 0 | | Rating:  |
| |  The following example shows the use of Regular Expresssions in C#.This program has basic validation scripts for validation easily useable in all programs.... |
| | Total Hits: 2872 | Today: 0 | | Rating:  |
| |  So you are interested in programming in C# (pronounced "C Sharp"). Getting started with a new programming language can normally take some effort and time. You need instructions, tools, and good examples to help you get started. In this article, I'll do just that, giving you tips and pointing you in the right direction.... |
| | Total Hits: 367 | Today: 0 | | Rating:  |
| |  This article will walk you through a contrived example of calling a VB6 COM object from a .NET console application written in C#.... |
|
|
|
|
|
|