|
|
|
|
|
Total Hits: 22 | Today: 0
|
Author: Jeff Prosise
|
Rating:
|
|

Ever since COM made its debut in 1993, programmers have searched for ways to optimize the performance of COM method calls. Their never-ending quest for speed has produced a number of clever solutions, some as extreme as using custom marshaling to replace COM's built-in remoting infrastructure with remoting mechanisms of their own. But no technique is as effective at speeding the execution of cross-process and cross-machine method calls as preventing those method calls from leaving the caller's p...
|
|
|
|
Total Hits: 34 | Today: 1
|
Author: Peter Waldschmidt
|
Rating:
|
|

One of the easiest ways to master NCover is simply to dive into some code and improve tests, so this week we'll be looking at improving the test quality for an open source project, Json.NET, which is available on CodePlex here. Json.NET is a tool for reading and writing JSON from .NET, and includes a JsonSerializer for easily serializing .NET objects into Json.
Json stands for JavaScript Object Notation, and is a way that AJAX developers communicate between the browser and the web server,...
|
|
|
|
Total Hits: 34 | Today: 0
|
Author: Don Box, Dharma Shukla
|
Rating:
|
|

WinFX includes a technology called Windows Workflow Foundation that allows programs to be expressed as declarative, long-running processes called workflows. Unlike traditional Microsoft® .NET Framework programs, workflow-based programs are typically specified in a declarative Extensible Application Markup Language (XAML) document that specifies the structure of the program in terms of domain- specific activities. These activities are typically implemented in a traditional common language runtime...
|
|
|
|
Total Hits: 46 | Today: 0
|
Author: Phil Booth.
|
Rating:
|
|

XForms is an important recommendation from the W3C that enables complex XML-handling applications to be defined in a simple, declarative syntax. This article demonstrates how you can harness this technology in your own C# applications. However, the same techniques may be easily applied to other .NET languages, or indeed any programming language that has a COM binding. The XHTML and XForms rendering power at the heart of it all will be provided by formsPlayer, a free XForms processor....
|
|
|
|
Total Hits: 154 | Today: 0
|
Author: Cecil Lew
|
Rating:
|
|

Many types of applications, like network management and workflow processing, require a diagramming interface. Yet developing a diagramming interface like Visio in a Windows application is often a daunting task. In this article, Cecil Lew demonstrates how to build a simple diagramming tool based on UserControl and a few simple classes....
|
|
|
|
Total Hits: 48 | Today: 0
|
Author: Ed.Poore
|
Rating:
|
|

Recently in the C# forum someone asked about how to ensure single instances of certain forms in a MDI application. In my reply I used generics and an anonymous delegate to create a slightly more versatile solution to his problem. In his response he requsted an explanation of these topics and perhaps to write (this) an article explaining the code....
|
|
|
|
Total Hits: 33 | Today: 1
|
Author: Tamer Oz
|
Rating:
|
|

ExtendedDataTable is a component which provides more functionality compared to native .Net Framework DataTable. It is also platform independent, you can use it with web or windows applications. It is developed by .Net Framework 2.0 and .Net Framework 3.5, you can download both versions from this page. Let's look what functionalities ExtendedDataTable provides;...
|
|
|
|
Total Hits: 66 | Today: 0
|
Author: Softomatix
|
Rating:
|
|

This article is a very simple introduction on writing a Windows Form application for the Microsoft.NET framework using C#. The sample application demonstrates how to create and layout controls on a simple form and the handling of mouse click events. The application displays a form showing attributes of a file. This form is similar to the properties dialog box of a file (Right click on a file and Click on Properties menu item). Since attributes of a file will be shown, the sample will show how to...
|
|
|
|
Total Hits: 43 | Today: 0
|
Author: Ian Griffiths
|
Rating:
|
|

If your application performs any non-UI processing on the thread that controls the user interface, it may make the app seem slow and sluggish, frustrating users. But writing multithreaded apps for Windows has long been restricted to C++ developers. Now with the .NET Framework, you can take advantage of multiple threads in C# to control the flow of instructions in your programs and isolate the UI thread for a fast and snappy user interface. This article shows you how. Also, it discusses the pitfa...
|
|
|
|
Total Hits: 55 | Today: 1
|
Author: dave dave
|
Rating:
|
|

Have you ever needed to perform long running operations in a windows form? Perhaps its some complicated mathematical function, maybe is some long OLAP processing. In this tutorial I'm going to cover how I modified my Rapid Mailer Email Campaign program to send emails asynchronously, without freezing the main windows form, and also allowing the user to cancel the long running email campaign....
|
|
|
|
Total Hits: 58 | Today: 0
|
Author: Alessio Saltarin.
|
Rating:
|
|

A noticeable problem .NET developers may have when they design their application is making it appear perfect on any recent Windows platform such as Windows 2000, Windows XP and the current Windows Vista. Before I installed Visual Studio 2005 on a fresh Windows Vista install, I candidly thought that the .NET runtime would have automatically solved the issue. This is true, but only with menus and status bars. If you are looking for compatibility between Windows 2000 and XP platforms, there is actu...
|
|
|
|
Total Hits: 884 | Today: 0
|
Author: Manoh.
|
Rating:
|
|

DataGrid Paging using C# Windows Forms - Select only the required (page size) records from the table. This is an example of Windows Forms DataGrid paging using c#. I have used Microsoft SQL Server 2000 database....
|
|
|
|
Total Hits: 380 | Today: 0
|
Author: Steve White
|
Rating:
|
|

Data binding is a robust, powerful, and extensible infrastructure that is very popular with developers. This article offers best practices, addresses difficulties that developers have with data binding, and provides practical workarounds for some common issues...
|
|
|
|
Total Hits: 193 | Today: 0
|
Author: Martin Cook
|
Rating:
|
|

Adding ActiveX containment to a status bar. Many, many moons ago I extended the MFC status bar by creating a version capable of housing almost any type of control. I seem to recall that my code even supported VBX controls. (VBX? yuk!) Anyway, this article presents a simpler version that targets ActiveX controls. The demo program illustrates things by hosting two ActiveX controls on the status bar of an MFC application....
|
|
|
|
Total Hits: 66 | Today: 0
|
Author: ra00l
|
Rating:
|
|

In order to follow this tutorial, you will need to have Visual Studio .NET and .NET Framework installed on your computer. If you only want to run the sample application, you will need only .NET Framework. Today, we will create a sample application witch you can use to find a color, along with his RGB value, both in decimal, as Red, Green and Blue and in hexadecimal. Let's get to work, shall we? Open Visual Studio .NET ( if you didn't already did that ), and create a new C# Windows Application ( ...
|
|
|
|
Total Hits: 250 | Today: 0
|
Author: tvmogul
|
Rating:
|
|

The company I own provides custom software solutions to Fortune 500 companies in Los Angeles, CA and Miami, FL for C# and VB .NET Winform and WebForm applications. We can provide a Web or Winform app that would take six programmers a year to complete in just days, thereby saving our clients, in some cases, millions of dollars. To be able to do do this, I have written what I call "Model Applications" of MDI & SDI WinForms, Web Apps, and so forth that simply require changing the artwork and busine...
|
|
|
|
Total Hits: 120 | Today: 1
|
Author: CodeGuru
|
Rating:
|
|

The process of building professional desktop applications includes many hidden tasks, such as the persistence of window state and appearance. This will introduce additional accessibility for such applications. This article describes a simple approach to do so. Sample applications written in C# and VB.NET....
|
|
|
|
Total Hits: 351 | Today: 0
|
Author: DevelopersDex
|
Rating:
|
|

You can add menus to Windows Forms at design time by adding the MainMenu control and then adding menu items to it using the Menu Designer. Menus can also be added programmatically by adding one or more MainMenu controls to a form and adding MenuItem objects to the collection....
|
|
|
|
Total Hits: 248 | Today: 0
|
Author: CodeProject
|
Rating:
|
|

If we have a Windows Forms application which has File -> Open functionality, adding a few lines of code allows the user to open files dragged from the Windows Explorer. This article describes how to add this feature to your application....
|
|
|
|
Total Hits: 832 | Today: 0
|
Author: MSDN
|
Rating:
|
|

This step-by-step article shows how to use Win32 spooler functions from a program that you create by using Visual C# .NET....
|
|
|
|
|
|