|
|
|
|
|
Total Hits: 10 | Today: 0
|
Author: John D. Cook
|
Rating:
|
|

Random number generation is tricky business. Good random number generation algorithms are tricky to invent. Code implementing the algorithms is tricky to test. And code using random number generators is tricky to test. This article will describe SimpleRNG, a very simple random number generator. The generator uses a well-tested algorithm and is quite efficient. Because it is so simple, it is easy to drop into projects and easy to debug into....
|
|
|
|
Total Hits: 13 | Today: 0
|
Author: David S. Platt
|
Rating:
|
|

When creating a distributed system you frequently need to provide for communication between two entities that are not in sync. Microsoft Message Queue Server (MSMQ) provides the kind of store-and-forward messaging in a pre-built infrastructure that can help you address these kinds of messaging needs. In the past, MSMQ was accessed using a COM wrapper. Now there's a .NET wrapper that lets you accomplish your messaging goals easily from your Framework-based code. To illustrate the use of the wrapp...
|
|
|
|
Total Hits: 15 | Today: 0
|
Author: r.stropek
|
Rating:
|
|

software architects invites you to prove your knowledge about certain subjects concerning Microsoft .NET technology by participating in a monthly quiz. This month the quiz is about SQL Server. In this article you can reread the questions. Additionally you get background information about the correct answers....
|
|
|
|
Total Hits: 71 | Today: 0
|
Author: StormySpike
|
Rating:
|
|

This article discusses a class that I wrote that wraps a global low level keyboard hook. The sample hooks the A and B keys, just for demonstration....
|
|
|
|
Total Hits: 56 | Today: 0
|
Author: Vitaly Zayko.
|
Rating:
|
|

It is very common situation when for some reason you should allow only one instance of an app could be active in on a PC. Unfortunately C# (just like many others languages) does not have such function, so you have to implement it by your self. I found few methods in the Internet how to do this in C#. Some of them are here - on CodeProject. But I would like to introduce one more, which is probably fastest and easiest but has some limitations described below....
|
|
|
|
Total Hits: 94 | Today: 0
|
Author: richnewman.
|
Rating:
|
|

The attached program is a line count utility written in C#. This:
* Counts the number of lines in a .NET solution, project or individual code file. * Works with C#, Visual Basic and C++ (.NET solutions and projects only). * Works with both Visual Studio 2003/.NET 1.1 and Visual Studio 2005/.NET 2.0 (but needs .NET 2.0 to run). * Provides a sortable grid of results so you can easily find your biggest projects or biggest code files. * Caches results at all le...
|
|
|
|
Total Hits: 65 | Today: 0
|
Author: Tom Dziedzic.
|
Rating:
|
|

I have been interested in making electronic components not just for the computer but for the everyday life and self entertainment. I wanted to make all the calculations from ohm's law into a simple program that will enable quick calculations while using the .net framework v.2.0 and in the process using a new language: C#, normally I use C++ but I wanted to switch to the newest technologies out so far. Anyways I have found alot about computer programming like an interesting fact is that the .net ...
|
|
|
|
Total Hits: 67 | Today: 0
|
Author: Piers Lawson
|
Rating:
|
|

This article is a major re-working of my earlier Getting started with the Logging Application Block article. Whereas that article used Microsoft's Enterprise Instrumentation Framework and the stand-alone Logging Application Block, this article deals with the Logging and Instrumentation Application Block supplied as part of the Enterprise Library.
Have you ever encountered a system where the logging is a twisted pile of spaghetti? One where it seems to save trace messages to five different...
|
|
|
|
Total Hits: 75 | Today: 0
|
Author: T Manjaly.
|
Rating:
|
|

Many programmers use the config file to keep the application configuration data. But one disadvantage with this is, it is a read only mechanism. You cannot update data in application config files, using the ConfigurationSettings classes in .NET. In earlier days, .ini files or registry was used to save application specific data....
|
|
|
|
Total Hits: 147 | Today: 0
|
Author: Salman Ahmed
|
Rating:
|
|

This method finds all the substrings in a string that are seperated by one or more characters, returning a string array. This method also has 1 overload where you can specifiy the maximum number of elements in an array to return from the string....
|
|
|
|
Total Hits: 110 | Today: 1
|
Author: Charles Carroll
|
Rating:
|
|

The code below calls "Utility Belt" functions. The Array Manipulation Code is one demo of Array "Utility Belt" functionality including tracing of arrays and datatables....
|
|
|
|
Total Hits: 299 | Today: 0
|
Author: Steven A. Smith and Rob Howard
|
Rating:
|
|

ASP.NET provides several Web controls that make displaying data on a Web page easier than ever before. This chapter shows you how to take advantage of a process called data-binding to easily display data in a variety of formats using very little code. This chapter covers many of the most commonly used features of the Repeater, DataList, and DataGrid, including some fairly advanced DataGrid features. Using these data-bound Web controls, it is very easy to write data-driven Web Forms by just dragg...
|
|
|
|
|
|