|Total Hits: 3 | Today: 0||Author: Ghanashyam Nayak|| Rating: |
This article shows you that how you can use of the Stopwatch class in your application....
|Total Hits: 3 | Today: 0||Author: Amund Gjersøe|| Rating: |
I had some problem getting connected to an Apache server. It returned a 401, not recognizing my credentials.
Hans Liss had a solution to this problem by manually adding credentials to the message header:...
|Total Hits: 10 | Today: 0||Author: trushant pachnekar|| Rating: |
Cryptarithm is a genre of mathematical puzzles in which the digits are replaced by letters of the alphabet or other symbols. (See the figure below.) If the same letter occurs more than once, it must be assigned the same digit each time. No two different letters may be assigned the same digit. So, the problem is to find the unique digit corresponding to a unique letter. Cryptarithmetic is the science and art of creating and solving cryptarithms. J. A. Hunter coined the word alphametic to designat...
|Total Hits: 1 | Today: 0||Author: Bert ONeill|| Rating: |
When it comes to 'Unit Testing' your code - you will want to test a small code base at a time (i.e. each method within your respective classes). This will led to greater stability within your overall project, if you know that each method does what it is expected. When testing the working of a method, you will want to exclude external calls to databases, third party dlls or your own services, so that you can better 'Black Box Test' your application. To exclude these external resources from your c...
|Total Hits: 5 | Today: 0||Author: Vulpes|| Rating: |
There has been a lot of hysteria about the 'goto' statement since the famous computer scientist, Edsger Dijkstra, said in 1968 that he considered it to be "harmful".
In those days, he had a point because the 'goto' statement produced a lot of spaghetti code particularly by those using early versions of the BASIC programming language....
|Total Hits: 2 | Today: 0||Author: Jani Giannoudis|| Rating: |
Sometime it's handy, to change the display value using a custom format. The FormattingConverter converts a value, by reflecting the String.Format method:...
|Total Hits: 3 | Today: 0||Author: andrewcates|| Rating: |
DotNetNuke is an open source web application framework ideal for creating, deploying and managing interactive web, intranet and extranet sites. It is very well supported; just take a look at Snow Covered. Unfortunately, VB and C# programmers don't cooperate as best they should, and take a mutually exclusive choice between the languages. This is unfortunate because DotNetNuke is a very well developed framework for ASP.NET that a lot of C# programmers do not want to look at....
|Total Hits: 0 | Today: 0||Author: Steppenwolfe|| Rating: |
Why write a tooltip class, when there is a perfectly good class built in to .NET? When I first looked at the tip class, my initial impression was, this will make things so much easier! So, I hooked up the draw event handler to custom draw my tips, then typed e. to look through the parameters, but wait a sec.. where's the handle property? I took a closer look at the tip properties and.. seems like they forgot a couple of little things when they wrote the class. Little stuff, that we will never ne...
|Total Hits: 35 | Today: 0||Author: Mark de Haan|| Rating: |
For a project I'm working on, I had to create transparent fuzzy drop shadows similar to those found in various Windows applications. Want to have them too? Then read on! Or just download the sources......
|Total Hits: 6 | Today: 0||Author: Matthew Cochran|| Rating: |
When trying to build maintainable, reusable, and flexible C# code, the object oriented nature of C# only gets us 50% of the way there. Programming to interfaces can provide us with the last 50%. Interfaced-based design provides loose coupling, true component-based programming, easier maintainability and it makes code reuse much more accessible because implementation is separated from the interface....
|Total Hits: 10 | Today: 0||Author: Dom Millar|| Rating: |
This tutorial is an short introduction to using Test Driven Development (TDD) in Visual Studio 2010 (VS2010) with C#. Like most of my examples it's based on a game.
By completing this tutorial you will:
* Get a taste of TDD through a series of small iterations;
* Learn how VS2010 provides TDD support through a number of new features; and
* Learn a number of C# 4.0 features....
|Total Hits: 8 | Today: 0||Author: Srihari Chinna|| Rating: |
We have good future in C# 4.0 interms of declaring parameters with default values, So that the consuming code may or may not consume them and also this gives option that the initializing code may or may not require to assign value to the parameters. This was not the case with till C#4.0....
|Total Hits: 14 | Today: 0||Author: Vagif Abilov|| Rating: |
One of the best areas to use a functional language is to apply it to symbolic calculations. Like transforming algebraic expressions or evaluating function derivatives. I remember how I was impressed many years ago when I looked at a program in Prolog that occupied not more than one computer screen but could tell me that derivative of sin(x) was cos(x). So I wanted to do the same in F#....
|Total Hits: 44 | Today: 0||Author: Taj|| Rating: |
This is a simple game written in C# in which user presses Up, Down, Left, Right arrow keys to play this game.
The objective of this game is to arrange 1 to 15 numbers in ascending order where the numbers in grid are in random.
User will have 10 minutes of time to complete this game....
|Total Hits: 21 | Today: 0||Author: Sushant Joshi|| Rating: |
Usually sending mails from Windows application is tedious tasks, also many times you may have to enable IIS on eaach machines. The article describes an alternate mechanism of sending mail from Windows application....
|Total Hits: 120 | Today: 0||Author: Arindam Sinha|| Rating: |
Just recently I have started working on Windows Mobile and was assigned with a task to install an existing application in one of the systems with out Visual Studio 2005 or 2008. This was required for a demo purpose. Before I start describing the process, I would mention few details on - how Windows Mobile Application is tested.
For people looking for some details on designing or developing Windows Mobile Application, this is not ment for that. This would help the people who wants to know ways...
|Total Hits: 95 | Today: 0||Author: Chris Hambleton.|| Rating: |
The DNN Module Packager is a utility that creates a DotNetNuke manifest file and packages module into a ZIP file for deployment to a DotNetNuke 3.x or DotNetNuke 4.x hosting site. You can edit the manifest file before packaging and also add any other files to the package that your module needs to function properly in a DotNetNuke environment. The DNN manifest file is simply an XML file that contains information about the Module, it's DNN-interface controls (like View, Edit, and Settings controls...
|Total Hits: 101 | Today: 0||Author: Lim Bio Liong.|| Rating: |
My colleague once asked me whether .NET provided any console password entry utility functions such that an application is able to receive and process characters typed in from the keyboard but not display them on the screen. Instead, a * character is to be output in place of each and every character typed in.
I could not recall any such utility in .NET but thought I could give a hand at developing one using Windows Console APIs imported to C# via DllImport attributes. A few days later, I m...
|Total Hits: 55 | Today: 0||Author: Valer BOCAN.|| Rating: |
Delta Forth is a non-standard Forth dialect. It has several limitations over traditional standards; however it may be an excellent starting point for beginners. The traditional compreter (compiler – interpreter) approach of other implementations did not appeal when the Delta dialect was designed since computers evolved enormously since the original Forth specification was written. Instead, we deal with compiled programs and thus several original Forth words – mainly related to chained execution ...
|Total Hits: 116 | Today: 0||Author: admin under|| Rating: |
While I bet you all know how to (from your own webpage) read another webpage, even located on another site/server, so while I will show you the code for it, I also want to show you a very practical use of it....