Code Sample World

April 9, 2009

Advanced Report Viewer

Filed under: ondotnet — admin @ 3:33 am

The article shows how to extend ReportViewer control that comes with Visual Studio 2008. The most important extension is adding export to MS Word.

Deploying Custom Tool on a developer machine using a Setup Project

Filed under: ondotnet — admin @ 3:33 am

Making a custom tool work on the developers machine require several actions like placing keys in the registry and registering your DLL Library using the regasm command. This post will discuss the automation of this procedures using a setup project.

Hide / Minimize dialog on startup

Filed under: ondotnet — admin @ 3:33 am

Have you ever tried to minimize a dialog during the startup of a dialog based application? The problem is in a dialog based application, we will not get the control after the dialog is completely created. Even a call to ShowWindow() from the OnInitDialog() function, will not work. So what will we do

Find which dll / exe created a window.

Filed under: ondotnet — admin @ 3:33 am

The GetWindowModuleFileName() functions can be used to find which exe or dll have created a window. But the problem with this function is that, it will not work across process.When ever we create a window, we have to pass the an HINSTANCE into it. And later we can use GetWindowLong to get that HINST

Combinations in C++, Part 2

Filed under: ondotnet — admin @ 3:33 am

Introduce 4 new algorithms on finding combinations

Using Expression Encoder 2 Silverlight 2 Templates in your project

Filed under: ondotnet — admin @ 3:33 am

How to use Expression Encoder 2 Silverlight 2 Templates in your project.

Create an XSD Schema….without knowing a darn thing about XSD.

Filed under: ondotnet — admin @ 3:33 am

Back in the old days, when dinosaurs roamed the earth, developers wanting to exchange data between applications used binary formatted data, hardcoded text field lengths, or delimited text files. Much parsing and error checking was involved. It was tedious. With XML files a lot of that work can be d

Convert MAC Address string into Bytes

Filed under: ondotnet — admin @ 3:33 am

The code snip converts MAC Address String Format into Bytes

Working with Delegates in Visual Form Files

Filed under: ondotnet — admin @ 3:33 am

How to work with delegates in Visual Form Files.

Visual Form File format

Filed under: ondotnet — admin @ 3:33 am

XAML this, XAML that, blah, blah, blah. I get so sick of hearing about how great XAML is, as if this were the most mind altering, earth shaking technology to hit the streets in years. Bah Humbug!We’ve had something like this for years in the VCF! And the predecessor to XAML dates back even further t

Hide / Minimize dialog on startup

Filed under: code project — admin @ 1:00 am

Have you ever tried to minimize a dialog during the startup of a dialog based application? The problem is in a dialog based application, we will not get the control after the dialog is completely created. Even a call to ShowWindow() from the OnInitDialog() function, will not work. So what will we do

Find which dll / exe created a window.

Filed under: code project — admin @ 1:00 am

The GetWindowModuleFileName() functions can be used to find which exe or dll have created a window. But the problem with this function is that, it will not work across process.When ever we create a window, we have to pass the an HINSTANCE into it. And later we can use GetWindowLong to get that HINST

Combinations in C++, Part 2

Filed under: code project — admin @ 1:00 am

Introduce 4 new algorithms on finding combinations

Using Expression Encoder 2 Silverlight 2 Templates in your project

Filed under: code project — admin @ 1:00 am

How to use Expression Encoder 2 Silverlight 2 Templates in your project.

Create an XSD Schema….without knowing a darn thing about XSD.

Filed under: code project — admin @ 1:00 am

Back in the old days, when dinosaurs roamed the earth, developers wanting to exchange data between applications used binary formatted data, hardcoded text field lengths, or delimited text files. Much parsing and error checking was involved. It was tedious. With XML files a lot of that work can be d

Convert MAC Address string into Bytes

Filed under: code project — admin @ 1:00 am

The code snip converts MAC Address String Format into Bytes

Advanced Report Viewer

Filed under: code project — admin @ 1:00 am

The article shows how to extend ReportViewer control that comes with Visual Studio 2008. The most important extension is adding export to MS Word.

Working with Delegates in Visual Form Files

Filed under: code project — admin @ 1:00 am

How to work with delegates in Visual Form Files.

Visual Form File format

Filed under: code project — admin @ 1:00 am

XAML this, XAML that, blah, blah, blah. I get so sick of hearing about how great XAML is, as if this were the most mind altering, earth shaking technology to hit the streets in years. Bah Humbug!We’ve had something like this for years in the VCF! And the predecessor to XAML dates back even further t

Nested Generic Lists? Cool!

Filed under: code project — admin @ 1:00 am

While answering a question on the Asp.Net forums, I was pleasantly surprised to find nested Generic Lists are possible. They seem much easier than multidimensional arrays. Here is the key line:     List> MyListOfIntLists;      protected void Button1_Click(object sender, EventArgs e)    {

Older Posts »

Powered by WordPress