Sandor Korozsi’s linkblog

  .NET Framework, C#, Smartphone, Pocket PC, Managed DirectX, Game development
Development, Tool, InstallerAugust 30, 2006 10:20

Cabinet File (*.CAB) Compression and Extraction - The Code Project - Files and Folders

Last time when I was at a client it could be useful.

Development, WinForms 9:28

Yesterday I found a "strange" behavior in .NET WinForm project I’m developing. When the application started the main window appeared in 4 seconds. When I pressed refresh button the same method run in 24 seconds! First when I didn’t notice this fact, I thought the problem is about the SQL query. I added an "order by" statement two days ago to the original query. When I’ve tried the query in SQLite Administrator this query only took 0,324 miliseconds to run.

In fact I used a function which makes possible to change the order of the column in the listview. When the application starts the ListView is empty. Then I call a function which clears the Column collection of the Listview, but doesn’t clear the items of the Listview. ListViewItems was cleared after the columns were added. It was the problem! When the items was not cleared it took a lot of time (24 sec) to add these 10 columns to the Columns collection.

Conclusion: Always call ListView.Clear() method instead of ListView.Columns.Clear() on a non empty ListView before manipulating the columns of this control. I didn’t realized that slowdown before because I didn’t display so much data in a ListView (>4000 records). I thing RealizeAllSubItems() method call makes it so slow which is invoked in InsertColumn(int index, ColumnHeader ch, bool refreshSubItems).

Smartphone, DevelopmentAugust 29, 2006 15:50

"…how to place a hook in the WM device in order to listen for all hardware button presses. As a matter of fact, Windows CE does support a keyboard hook through the SetWindowsHookEx API. This API requires the usage of the native callback, which was not possible in the first version of the CF. The current version of .NetCF empowered us with this very useful capability. So what are hooks? Put shortly, a hook is a function that you can create as a part of your application in order to monitor on the messages inside the operating system. Hooks were provided by Microsoft primarily to help developers with the debugging their applications. The incorrect usage of them very easily could bring the system down."

Alex Yakhnin - Keyboard hook in the CF v2

DevelopmentAugust 28, 2006 9:03

Zsozso’s Blog: VS2005 QuickWatch "bug" + DILE v0.2.3

New DILE version was released!

Smartphone, DevelopmentAugust 27, 2006 9:31

.NET Compact Framework Team : .NET Compact Framework Version 2 .CAB Files Explained

"Just like other Windows CE applications, .Net Compact Framework V2 (NETCF V2) is distributed as a set of CAB files. This article describes these CABs and discusses potential installation problems as well as ways to solve these problems."

Smartphone, DevelopmentAugust 26, 2006 19:04

: Mobile Application Development eHow-tos and Tutorials

Development, Component, WinFormsAugust 24, 2006 14:01

"Ascend.Net" Windows Forms Controls

"The Ascend.NET controls are a collection of Windows Forms controls written in C# targeting Visual Studio 2005 and .NET 2.0.

The intent is to provide controls that are flexible but easy to use and will hold up well under heavy usage.

Version 1 has the following controls:

GradientLine GradientLine Images
GradientPanel GradientPanel Images
GradientCaption GradientCaption Images
GradientSplitBar GradientSplitBar Images
GradientNavigationButton GradientNavigationButton Images
GradientAnimation GradientAnimation Images
NavigationPane NavigationPane Images
"

Development, Bug TrackingAugust 22, 2006 8:55

BugNET > Home


"BugNET is an issue tracking and project issue management solution built using the ASP.NET web application framework. Email notifications, reporting and per project configuration of fields and values allows effecient management of bugs, feature requests, and other issues for projects of any scale."

UncategorizedAugust 21, 2006 12:33

Lunacore Photoshop Training - Detailed Photoshop tutorials.

"Lunacore Photoshop Training delivers tips, FAQ, detailed Photoshop tutorials of high quality that are easy to understand, training, advice, news and articles that can help users with this powerful product. Lunacore tries to show those things that are not covered in the manual or at least not in great detail."

Development, Component, WinFormsAugust 20, 2006 8:50

SourceGrid - Open Source Grid Control

"SourceGrid is a Windows Forms control written entirely in C#, my goal is to create a simple but flexible grid to use in all of the cases in which it is necessary to visualize or to change a series of data in a table format. There are a lot of controls of this type available, but often are expensive, difficult to be customize or not compatible with. NET. The Microsoft DataGrid for me is too DataSet orientated and therefore results often complicated to use in the cases in which the source data isn’t a DataSet and often is not enough customizable."