Geeks With Blogs

News
View Szymon Kobalczyk's profile on LinkedIn

Szymon Kobalczyk's Blog A Developer's Notebook Development
.NET Micro Framework – Using alphanumeric LCDs
.NET Micro Framework includes reach graphics capabilities with WPF-like libraries, and quite a few high end development boards (Tahoe II, ChipworkX, or FEZ Cobra to name a few) include fancy graphic TFT screens, often with touch input thrown in as well. But this comes at a significantly higher costs, and requires a speedy CPU. Thus it might seem that if you are using a much cheaper board such as Netduino or one of FEZ family, you are doomed to rely on blinking LEDs only. Not quite so. In most scenarios ......

Posted On Sunday, September 5, 2010 6:27 PM

.NET Micro Framework – Netduino Controlled Servo Robot
For my next project I decided to try to upgrade my SERB robot that I showed here last year to use Netduino. This robot was designed by great inventors from oomlout and you can buy it as a nicely packaged kit from them. However because the design is open source you can also download the project files and if you have access to a laser cutter order all the acrylic pieces there. It is also very easy to build following the instructable (you can find few more photos from my build here). The original SERB ......

Posted On Tuesday, August 31, 2010 7:24 PM

.NET Micro Framework – More blinking LEDs
Some time ago I wrote about FEZ Mini and FEZ Domino – first affordable development boards for .NET Micro Framework. Today I’m excited to tell you about another device called Netduino. Similar to FEZ Domino this board is pin compatible with Arduino, and therefore most of Arduino shields should work fine on Netduino. This makes transitioning your project quite easy. Only care should be taken to ensure that shield can run at 3.3V logic levels (because Arduino runs at 5V). Of course Netduino is much ......

Posted On Saturday, August 21, 2010 5:09 AM

First day with FEZ Mini Robot Kit
Yesterday I picked up a nice package from TinyCLR.com. Yes, it is yet another robot (third in fact), but this time it runs .NET! How freaking cool is that! This robot is controlled by FEZ Mini board that runs .NET Micro Framework. What’s interesting is that this board has pin-out compatible with Basic Stamp from Parallax. You can also uses it easily on a breadboard for prototyping (just like Boarduino). TinyCLR.com also offers a larger board called FEZ Domino that has pin-out compatible with Arduino ......

Posted On Thursday, February 25, 2010 2:49 AM

Experimenting with Silverlight 4 – using webcam with Touchless SDK
For me one of the coolest new features added in Silverlight 4 is support for capturing video and audio using webcams and microphone. As we’ve seen during Scott Guthrie’s keynote demonstration it is now possible to capture image frames from video stream and apply some interesting effects to it. On top of that we can even process the video and audio streams directly on the client (i.e. inside the browser). Because Silverlight 4 Beta was already available at PDC I could try the webcam support right ......

Posted On Saturday, January 2, 2010 6:20 AM

Multi-touch in WPF4.0 Beta2
Now that .NET Framework 4.0 Beta 2 is out let’s look again what is available for building multi-touch application in WPF. In Beta 1 we got only a preview of manipulation and inertia components. With Beta 2 we finally get access to whole touch input system, and it looks very close to what was shown on PDC last year. Here is an overview from MSDN: Elements in WPF now accept touch input. The UIElement, and UIElement3D, and ContentElement classes expose events that occur when a user touches an element ......

Posted On Wednesday, October 28, 2009 3:02 AM

More fun with robots
Last Friday I’ve received new Futaba S3001 servos. Turns out they are more easier to modify to Hitec’s, and at the same seem more reliable. I’ve simply followed this Instructable, and you can also find some additional photos in my gallery. What most important the servos are also easier to calibrate, so now my SERB will actually stop in place when I want it. Below is a short video of the completed SERB robot where it just runs in random directions: This weekend I’ve also started looking at Microsoft ......

Posted On Monday, July 6, 2009 4:27 AM

Emulating multi-touch device for Windows 7
Short while after I wrote about resources for multi-touch on Windows 7 Daniel D left a comment that got me very excited: MultiTouchVista now has a driver that emulates multitouch hardware for Windows 7 I got to try it out myself! Bit later I got everything up and running and I’m happy to report that it’s all true: you can now effectively emulate multi-touch devices under Windows 7. You can see it yourself on this video. In fact it works so well that I was able to demonstrate it last Saturday at 4Developers ......

Posted On Tuesday, March 10, 2009 10:35 PM

Resources for Multi-touch in Windows 7
Last couple of months I’ve been working on very cool project that utilizes new multi-touch features in Windows 7. Although I can’t talk yet about our product, I thought it would be good to start sharing my experience with multi-touch programming. I’ll begin with some general resources to get you started. Prerequisites Of course first thing you need is a multi-touch capable hardware. As far as I know currently there are only three devices available on the market. Those lucky to be at PDC could see ......

Posted On Friday, February 13, 2009 8:19 AM

What to do if your MS SQL Server 2005 eats 100% CPU at idle
Some time ago I got very strange situation on my development SQL Server 2005. Immediately after starting the process it went up to 100% CPU and stayed there for hours. There were no external connections, and I couldn't figure out what was causing this so I asked for help our best SQL geek Pawel Potasinski. With his help we were able to figure out that this was caused by service broker running on one of the databases although we didn't find the root cause for this. Fast forward few months, and last ......

Posted On Tuesday, September 16, 2008 8:21 PM

Getting started with Managed Extensibility Framework
Last Friday Managed Extensibility Framework Preview 2 (MEF) was published on CodePlex. MEF is a new library in .NET that will simplify adding extension points to your applications. It enables discovery, loading and composition of the extensible components. You can now download the source code, samples and find more information on the project site: http://www.codeplex.com/MEF I was playing with the bits over the weekend and chatted with Glenn Block (Program Manager on the .NET FX team that does MEF), ......

Posted On Monday, September 8, 2008 1:38 PM

.NET Fundamentals: Type forwarding
Today I've started learning for the MCTS Exam 70-536: Application Development Foundation. My goal is to pass this exam by the end of this month. After all I've been programming in .NET since it's first public beta so I should already know all the “.NET fundamentals“ by heart. But you never know, so I will spend some time to revise this material. In fact I've already stumbled upon one thing I didn't knew existed. It appears that in .NET 2.0 CLR compilers gained new feature called “Type ......

Posted On Saturday, July 1, 2006 8:19 PM

New article on adding custom skins to your windows

I've just posted new article in my series on “Drawing Custom Borders in Windows Forms“. This release introduces form style libraries (aka skins) and also a built-in form style editor. I hope you will find this interesting.

Posted On Monday, June 19, 2006 5:04 AM

Using TypeDescriptors for XmlSerialization Surrogates
This weekend I've been working on a skin editor for my CustomBorderForms and I wanted to use XML Serialization to store skin files. However, my skins use several System.Drawing classes that don't serialize very cleanly or not at all (e.g. Bitmap, Font, Size) . In such situations I often use surrogate properties that are serialized instead of the original ones. Today I've learned another trick from Load and Save objects to XML using serialization article posted on CodeProject, that shows how to use ......

Posted On Sunday, May 28, 2006 1:13 PM

Two cool Microsoft Surface apps from InterKnowlogy
InterKnowlogy is always on the cutting edge of the Microsoft Platform so its not surprise that we were among first to build applications in WPF, Silverlight and now on Microsoft Surface (a touch screen computer embedded in a coffee table). I'm excited to show you two applications that we released recently. VitruView VirtuView is a collaborative environment for viewing and annotating patient's examination results on anatomic 3D models. This application is evolution of our earlier Angiographer that ......

Posted On Friday, August 29, 2008 8:41 AM

UMPC + WPF = Audi Keyboard
As time goes by I keep finding more and more great WPF applications, but this one really got my attention. The Audi Keyboard is a WPF application that was designed for UMPCs that was used during the Melbourne Motorshow to input customer data. I actually found it on the Hugo Ortega's Uber Tablet blog (which I'm huge fan by now) so it might have been missed by pure .NET geeks. Hugo published video with overview of this project where you can learn more details. This project is great example of how WPF ......

Posted On Wednesday, April 11, 2007 11:21 PM

WPF TabItems With Close Button
One of the most common questions I've seen regarding the TabControl in Windows Forms was how to add a close button to each tab (similar to seen on tabs in Internet Explorer 7). Although there were some solutions available the results weren't quite satisfactory and often requiring to rewrite the whole control from scratch. Recently I faced the same challenge working on the TSRI project. It turned out that in WPF this pretty straightforward task and in this article I'm going to show all the steps required ......

Posted On Sunday, April 8, 2007 4:48 PM

Reading XML Fragments with the XmlTextReader
Last weekend (yeah, I know it was Easter) I was writing a quick and dirty log viewer for log4net and came across what I believed would be a huge problem but turned out as quite trivial with .NET. As I blogged a while ago, log4net can be configured to broadcast events over UDP, so your application can be monitored in real-time from another process or machine, for example with the Chainsaw log4j viewer (yes, this is all Java). Basically I wanted to write my own little .NET replacement for Chainsaw.In ......

Posted On Thursday, April 20, 2006 7:05 PM

Microsoft announcing Visual Studio Tools for Applications (VSTA) CTP
Microsoft unveiled the CTP for VSTA (Visual Studio Tools for Applications) on Friday. VSTA is a .NET-based application customization technology designed to be embedded into applications to enable developers to create custom experiences on top of those applications (thing VBA on steroids). Until now, application customization in .NET could be realized using VSA (Visual Studio for Applications) enabling access to JScript and VBScript scripting interfaces for any application. But, in case you didn't ......

Posted On Monday, February 6, 2006 6:22 PM

Understanding Composite UI Application Block, Part VI
It's been over a week since my last post on Composite UI App Block, but don't start thinking I have given up on it already. I still want to finish the PetShop sample and at the same time to cover all important parts of CAB on this blog. Last time I have covered some basics on using Commands and UI Elements and demonstrated how I implemented commands in my sample application. But as I said before, out of the box CAB only has UIElementAdapters for ToolStrips and MenuStrips. Just to get started I put ......

Posted On Sunday, February 5, 2006 7:54 PM

How I won the Lab49 WPF in Finance Innovation Contest?
Honestly, I still don't know how I did it. The LAB49 WPF in Finance Innovation Contest was announced back in December and I think I first read about it on Tim Sneath blog. With all the cool prizes I was very inclined to participate, but it quickly turned out that its available only to US citizens. However that changed in the first week of February, so I started considering it again, but still didn't had any clue what to do. You see the goal of this contest was to create a WPF application that visualizes ......

Posted On Monday, March 17, 2008 9:39 PM

Michal Brzozowski is blogging too

Another of my teammates, Michal Brzozowski also started to blog this week...

... and he has already big plans for series of articles on DataObjects.NET, the ORM mapper that we use. If you are interested send him a note to make him speak out loud all he knows.

Posted On Sunday, February 5, 2006 12:23 PM

Marcin Celej is blogging

I've finally convinced Marcin Celej, my brother in law and fellow dev, to start blogging. He has many interesting things to say about ORMs, Workflows and developing Business Logic in general. He is also huge fan of TDD and Agile methods. So if you share these interest send him a note and please give him warm welcome here.

Posted On Thursday, February 2, 2006 6:07 AM

Translations for Joel on Software
Joel Spolsky is one of most popular and influential authors in developer community. He publishes frequently on his site Joel on Software. A few years ago, a few hundred volunteers graciously offered their time to make Joel on Software available in over 30 languages. Coordinating this archive turned to be so much effort that this week Joel decided to turn it into a Wiki and let people do the work themselves. It's all set up and ready to go. Because my native language is Polish and I translated few ......

Posted On Sunday, January 29, 2006 8:27 AM

Moving my code samples to MSDN Code Gallery
When I started blogging here on GeeksWithBlogs it turned out that if want to publish any code samples I have to find yet another place to host the source code. I didn't own any web servers that I could use for this, so I started looking how other bloggers do this, and came across ProjectDistributor.net. It did exactly what I was looking for: ProjectDistributor is a web application for distributing small pieces of software - such as tools, components, widgets and controls. Users create groups to store ......

Posted On Tuesday, February 19, 2008 7:14 AM

Martin Fowler on Domain Specific Languages
After reading Martin Fowler's recently published essay on Domain Specific Languages (DSL's) I realized that in fact we already use some sort of DSL's in our project (although we call it simply configuration). It's also true that using external DSL's (in our case in form of XML files) makes it harder for refactoring and debugging. But on the other hand makes the whole application a lot more adaptable. This quote about Adaptive Object Models sums it up nicely: Experience so far indicates that they ......

Posted On Monday, June 13, 2005 11:44 PM

Introducing WikiSpider
About two weeks ago Daniel Biesiada (who is ISV DE here in Poland) announced on his blog a little programming contest. The goal was to build a .NET application that would check if the the theory of Six Degrees of separation applies to two given topics in Wikipedia. In order words to find a path from the source page to destination with no more then six links. At the time I had not much else to do (apart from setting up website for the C2C Conference, helping out with the European Silverlight Challenge, ......

Posted On Wednesday, January 30, 2008 10:22 PM

Avoid common globalization errors in .NET
Last week I've been looking for a better RSS Reader (err... Aggregator). You see after certain number of feeds MS Outlook no longer works for me and I needed a better alternative. In my search I came a cross a product called RikReader and decided to give it a try. Why? I've read some good opinions about it, it's free, it uses Windows RSS Platform, and is close to my heart because it is done entirely in WPF. I promptly downloaded and installed the package. But instead of the expected welcome screen ......

Posted On Sunday, September 16, 2007 8:50 PM

Getting started with ADO.NET Entity Framework. Part I: Mapping entities
Two months ago, after listening to .NET Rocks! show with Daniel Simmons, I was really curious to learn more about ADO.NET Entity Framework (EF). As part of my learning I was ready to write a tutorial on how to get started with this framework. However there were no tools available at the time and with instructions on how to manually edit XML files the article turned very long, and quite frankly looked very boring. Hence I decided to postpone publishing it and wait for the tools to came out. This week ......

Posted On Wednesday, August 29, 2007 8:30 PM

Overriding default SystemColors in WPF
After working with WPF for a while I must say that it is wonderful platform for building complex user interfaces but sometimes it falls short in very simple scenarios. Or in other words, it's easy to do complex things with it's powerful tools but often it lacks simple tools to do simple things. At least from a perspective of Windows Forms developer who expects some familiar tools and quickly finds out that they are gone. There are several examples of this, but one that I run across recently and find ......

Posted On Sunday, March 25, 2007 1:46 PM

How to access SharePoint's Discussion Board using Web Services. Part 2.

In my previous post I wrote how you can access the contents of discussion boards using web services. For reading existing discussions threads the Lists web service was all that we needed. However there were problems when creating discussions using the same service. After whole day of trial and error I finally gave up this approach and decided to first try using SharePoint's object model instead.

Posted On Friday, March 16, 2007 10:01 AM

Presenting "Subversion with .NET" for KGD
Next month I will be presenting on using Subversion version control system with .NET Projects for Krakow's .NET Developers Group (member of INETA) . The next meeting will take place on June 19th or 26th (not confirmed yet). Everyone's invited! But before that I would like to hear from anyone that has any experience with Subversion (good or bad) and would like to share your opinion, point out some issues or suggest topics that I should consider ......

Posted On Monday, May 30, 2005 11:21 PM

I work on the Scripps project!
Usually I don't write about my current employer or work, but I think this time it deserves to make an exception. You read already it in the title: I work now on The Collective Molecular Environment (C-ME) for The Scripps Research Institute (TSRI). If you are following the news on Windows Vista or WPF you have probably seen this application already (the screen on the right might remind it to you). The Scripps Research Institute is a biomedical research organization that is trying to find a cure for ......

Posted On Tuesday, March 13, 2007 9:22 AM

How to access SharePoint's Discussion Board using Web Services
The project I currently work on involves accessing SharePoint's Discussion Board from a desktop applications. This includes not only reading discussions but also creating new ones as well as replying to existing posts. Unfortunately as I quickly found out, there is no dedicated web service for dealing with this type of lists similar to Imaging or Meetings. So the only option was to use the the generic Lists web service. However this poses several problems that I want to share. Reading discussion ......

Posted On Monday, March 12, 2007 11:48 AM

White paper: Designing Smart Clients Based on CAB and SCSF
A year ago I've published a series of articles on understanding Composite UI Application Block (CAB). Although I've never got to finish it I still occasionally receive comments and questions on this subject. Recently I came across two great papers on CAB and SCSF that I would like to share: Designing Smart Clients Based on CAB and SCSF by Mario Spuszta, is architectural guidance created for RACON Software GmbH, and later published as white paper on MSDN. It contains complete overview of CAB and SCSF, ......

Posted On Saturday, January 13, 2007 11:09 AM

Looking for a better open-source license
Last month I've moved my open-source project to CodePlex. So far the service is great but this is topic for another post. During registration for the project you have to select a licence for the project. When I first published this code I picked LGPL so I didn't thought there was any reason to change it. Recently I was contacted by someone who wanted to use the project in his commercial application. I don't have any problems with that of what soever. However this person reported that lawyers on his ......

Posted On Sunday, September 10, 2006 8:45 AM

Moving to CodePlex
During last year I've posted here series of articles on “Drawing Custom Borders in Windows Forms“ along with the sample code. This gathered bit of feedback (including issues and feature requests) so I've continued on extending this project. However after few releases it turns out hard to maintain without proper version control and issue tracker. This coincided with CodePlex being made available so I've submitted request to create a project. Today I've received an email from the CodePlex ......

Posted On Tuesday, August 1, 2006 7:50 PM

Did you try Sandcastle?
As you probably already know, NDoc developer Kevin Downs resigned from continuing this project, but at the same time Microsoft announced it's own tool called Sandcastle that can generate documentation from code comments in any .NET language. Like many of you I was waiting long for NDoc to support .NET 2.0, and had to bear with no documentation for a while. Therefore I was eager to try out what this Sandcastle can do for me. The good news is that Sandcastle was released this weekend, so here are my ......

Posted On Sunday, July 30, 2006 9:37 PM

Make your exceptions shine with SQL Server Exception Message Box
If you've been using the SQL Server Management Studio that comes with SQL Server 2005 for a while, you might noticed this nice message box that shows all exception messages. Not only it shows the exception message, but also includes hierarchy of all inner exceptions. What's more you can see the technical details of the exception including its call stack. On top of that you can easily copy all this to the Clipboard. As soon as I've seen this I thought: "I wish I had something like this in my project". ......

Posted On Sunday, May 21, 2006 7:30 PM

Learning SQL 2005 BI and Agile the same day
Today for me was a day of learning. It started morning, when I attended a free seminar from Microsoft on SQL Server 2005 Intelligence. We went through Analysis Service, Integration Services, Data Mining and Reporting Services. It was first opportunity for me to actually work with SQL Server 2005 and, although I’m not much a database guy, but I really liked it. I’ve already installed the trial version and I’m going try out some of the things I’ve learned. So if you have a chance ......

Posted On Thursday, May 18, 2006 8:14 PM

Understanding Composite UI Application Block, Part VII
There seams to be some confusion around WorkItem's State. I've seen few posts on CAB message boards with questions if it's OK to put certain data into it. I will try to add my two cents to it but note that this is my point of view and it might be wrong. Let's think for a minute what kinds of data we can have in our applications. First that comes to mind is the data that is presented to the end-user and this of course must be stored in the View (SmartPart) for the time it's displayed. This data can ......

Posted On Sunday, February 26, 2006 7:57 AM

Infragistics NetAdvantage 2006 Volume 1 release contains CAB Extensibility Kit
Last week Infragistics published NetAdvantage 2006 Volume 1 and it's CLR 2.0 version comes with CAB Extensibility Kit. This project contains implementations of CAB Workspaces and UIElementManagers for various Infragistics controls (Docking, Explorer Bar, Task Pane, Toolbars, MDI Tab and Tab controls). So if you already use this suite and would like to start working with CAB this would bootstrap your development. On the other hand, if you use controls from other vendors you can still download the ......

Posted On Monday, February 20, 2006 9:56 AM

CAB sample published and future plans
The source code for SmartPetShop, my sample project for Composite UI Application Block, is now available for download. If you want to run it, first I recommend to download and install the original PetShop.NET 3.2 from Microsoft , as it will setup properly the database and register COM+ services. After that you should update the connection strings in Win application's app.config with encrypted settings taken from original Web PetShop's web.config. Simply find settings like and copy them to app.config. ......

Posted On Sunday, February 19, 2006 11:46 AM

Understanding Composite UI Application Block, Part V
In most applications certain user interface areas are shared among various modules. Examples are all kinds of menus, tool bars, status bars, Outlook style sidebars and others. What is common for all of them is that they serve as containers for collections items (menu items, toolbar buttons, etc.) that user can activate to trigger some actions in the application. For example, the File > Open menu item normally would invoke the action of opening a file. However same action could be also accessible ......

Posted On Tuesday, January 24, 2006 6:28 PM

Unit-testing in CAB applications
Here is another gem from the message boards (thanks to Justin Burtch): One of the advantages of MVP is that it allows easier unit-testing. For this you need to declare all public methods of view that the presenter uses as an interface, and then you can easily substitute the actual view with its mock implementation. But to test all your components properly you need to run them in the same environment as when you run it in a GUI. By this I mean that you have some WorkItem that adds these items into ......

Posted On Friday, January 13, 2006 8:54 PM

CruiseControl Extension for FireFox now supports .NET
After my post two weeks ago I was contacted by Dmitri Maximovich, author of the CruiseControl extension for FireFox, who was interested in extending its support to the .NET version and wanted to discuss what exactly doesn't work. It didn't take him long to figure out how to fix it and yesterday he released an updated version. You can find it here. Please report any problems you find. Any suggestions are welcome as well. On the technical note, the extension does it work by parsing the HTML of the ......

Posted On Wednesday, July 20, 2005 3:50 AM

Using Chainsaw Log Viewer with Log4Net
I just found via Michael Flanakin's Web Log that you can use the Chainsaw tool, a GUI based log viewer from Log4J project, with the Log4Net enabled applications. Here what you need to do: 1. First download the application from the above link. It requires Java. I know it sucks. But don't be put off just yet. 2. Then in the config file of your .NET application add following appender:<log4net> <appender name="UdpAppender" type="log4net.Appender.UdpA... <param name="RemoteAddress" ......

Posted On Friday, July 15, 2005 6:55 AM

CruiseControl plug-in for FireFox
One of my friends just showed me a CruiseControl plug-in for FireFox. He uses it with the CCNet Java version but was convinced that it will work with .NET as well. I was skeptic but we gave it a try. To my surprise it works! You only need to give it an URL to your build server dashboard. It shows the status of each project in browser status bar. I presume it uses some HTML parsing and the pages are similar both on .NET and Java versions. Not all things work though. Also it's not that much useful ......

Posted On Monday, July 4, 2005 4:40 PM

Make better reflections
Thanks to Chris Breisch I came across a great article on .NET Reflection by Joel Pobar. It gives some useful tips how to make your code that uses reflection quicker. Especially interesting are the new features offered by .NET 2.0 like Lightweight Code Generation (LCG) and member handles. Must read for any serious framework developer ......

Posted On Thursday, June 30, 2005 9:29 AM

Understanding Composite UI Application Block, Part IV
Yesterday I was reading CAB message boards and came across number of threads with questions about implementing MVP patter in CAB. Indeed, among provided samples only the walk-through uses MVP but its rather simplistic. Luckily some of these questions got answered. First of all I've learned of the Smart Client Baseline Architecture Toolkit project, that aims to provide collection of guidance for implementing Smart Clients (including Hands-On-Labs, How-Tos and Reference Applications). Although the ......

Posted On Friday, January 13, 2006 3:45 PM

Understanding Composite UI Application Block, Part III
Next important part of Composite UI, if not the most significant, is the WorkItem. According to documentation it “a run-time container for components that are working together to fulfill a use case. These components may consist of SmartParts, controllers, services, UIElements, and other components.” So if we look at Outlook as example here, we have use cases like: browsing email, scheduling appointments or looking up contacts. As I understand, these would correspond to main WorkItems ......

Posted On Monday, January 9, 2006 6:40 AM

Understanding Composite UI Application Block, Part II
First lets see what are the basic elements of CAB and then lets try to discover them in the PetShop application. I will start with the parts that are actually visible on screen and later work my way to more abstract elements that form the inner architecture. So the simplest of all things is the SmartPart. Basically this is any visible part of application; in other words a control. In most cases it would be a UserControl. What's surprising there is no special base class that you must inherit from. ......

Posted On Friday, January 6, 2006 7:40 PM

Understanding Composite UI Application Block
I spent last two days trying to learn the Composite UI Application Block (CAB) recently published by Microsoft's patterns&practices group. This application block provides practices and components to build complex smart client user interfaces. I've been working on similar frameworks in the past but I always wasn't quite happy of my design. The problem such frameworks are trying to solve is to allow to build the application from independent modules. The module here can consist of views (i.e. forms ......

Posted On Friday, January 6, 2006 6:40 AM

Poor Man's Schedule Component for Windows Forms
Not long ago I came across some cool demos showing new features in Windows Forms 2.0. Some of these show how to emulate look and feel of some well know applications (like MS Outlook, Money, Quicken, File Explorer or MSN Messenger). In particular I found there an interesting example of customizing the DataGridView control to implement multi-view schedule component emulating the Outlook Calendar. This sample supports rendering calendar events in day, week and month view. I think it would be quite interesting ......

Posted On Monday, January 2, 2006 3:43 PM

VistaDB 2.1, embeddable SQL database for .NET
VistaDB 2.1 database for .NET has been releasedThis 2.1 update includes over 60 improvements, including new support for .NET 2.0 and Visual Studio 2005 VistaDB is a small-footprint, embedded SQL database alternative to Jet/Access, MSDE and SQL Server Express 2005 that enables developers to build .NET 1.1 and .NET 2.0 applications. Features SQL-92 support, small 500KB embedded footprint, free 2-User VistaDB Server for remote TCP/IP data access, royalty free distribution for both embedded and server, ......

Posted On Wednesday, December 28, 2005 6:06 AM

Implementation of UUEncoding in C#
Just posted new article with implementation of UUEncoding in C# in case anyone else would need to worry about such awkward matters.

Posted On Sunday, December 18, 2005 9:33 PM

Presenting IronPython for KGD
I will be presenting IronPython for KGD, the local INETA user group, on November 17th (thats Thursday next week). This will be short, half hour, session but I hope to make it interesting. I'm going to show some cool demos of using IP both as standalone interpreter and as embeddable script engine. I will also talk a bit about dynamic and scripting languages on the CLR framework in general. If you happen to live near Kraków (Poland) feel free to drop in and join our group ......

Posted On Monday, November 7, 2005 7:37 AM

Visual Studio 2005 just arrived!

I think most of you couldn't wait for this. So here it is:

Visual Studio 2005 was just published on MSDN

Go and get it!

There are Professional and Standard versions of Visual Studio 2005 (each on 2 CDs), the Express editions, the MSDN library (3 CDs), and some additional tools. And of course, there is also SQL Server 2005 Developer Edition.

Happy downloading!

Posted On Thursday, October 27, 2005 4:20 PM

What is the most popular programming language?
Have you ever wondered what is the most popular programming language on the planet? Today this question came across my mind and I quickly found the answer at TIOBE Programming Community Index. This ranking is based on the wold-wide availability of skilled engineers, courses and third party vendors. The ratings are calculated using popular search engines like Google, MSN and Yahoo!. First thing you will note that during last year Java has finally dethroned the old king - the C language. It's interesting ......

Posted On Saturday, October 15, 2005 5:22 PM

Problem using NegotiateStream to secure .NET Remoting
I hope someone here could help me understand whats wrong. I tried to use the NegotiateStream class available in .NET 2.0 to secure a remoting connection. It was configured as follows:Hashtable channelSettings = new Hashtable();channelSettings... = System.Net.Security.Protect... = true;TcpClientChannel channel = new TcpClientChannel(channelSet... null);ChannelServices.Regis... all worked fine when the client and server ......

Posted On Monday, October 10, 2005 11:46 AM

Mike Stall writes on embedding IronPython in existing applications
IronPython is managed Python implementation for .NET platform developed at Microsoft. Its great performance, small footprint and ease of use make it a strong alternative for other scripting languages for .NET (like JScript.NET and VB.NET). One important aspect you can use a scripting engine is to embed it in your application to provide customization capabilities for the end user. Mike Stall published two articles that explain how to embed IronPython in your applications giving example of existing ......

Posted On Friday, September 2, 2005 4:22 AM

Frustrating bug in VS2005 Beta 2.
Anyone who used VS2005 Beta 2 knows that is multitude of irritating bugs. But this one is just one too much for me. Yesterday I started receiving following error from code accessing some property in app.config: System.Configuration.Config... An error occurred executing the configuration section handler for applicationSettings/XYZ.Pro... thrown from System.Configuration.Runtim... method. This error actually has inner exception: ......

Posted On Saturday, August 27, 2005 8:48 AM

Creating Publisher Certificates For ClickOnce
Beta 1 allowed to sign your ClickOnce manifests simply by using a string name key file (.snk). Beta 2 no longer support this, and you are required to provide a publisher certificate. This was bit confusing for me because I had never before to deal with certificates and I had to ask Google for help. I quickly came across the article “Configuring ClickOnce Trusted Publishers“ by Brian Noyes published last month on MSDN . It explains in detail how ClickOnce uses the certificates and what ......

Posted On Monday, May 30, 2005 10:50 PM

Error loading images from a resources after calling RemotingConfiguration.Configure
Today I was working on migrating our project from Beta 1 to Beta 2. Sadly it didn't went as smooth as one could expect. We were getting strange NotSupportedException from mscorlib.dll with message: Cannot create uninitialized instances of types requiring managed activation. After spending half of day on debugging it turned out that the reason was some conflict between Remoting and ResourceManager (but probably it happens in serialization). It is thrown if you load any images from resources after ......

Posted On Wednesday, May 25, 2005 4:52 PM

Drawing Custom Borders in Windows Forms
There are many ways to impress the user but one that works for most is to show them a truly stunning user interface. This can be done with some nice user interface controls, clever navigation or beautiful graphics. But there are also applications that try to distinguish themselves from the flock by dressing up in custom made framing. Just take a look at Microsoft Money 2005 to get some idea how it looks like. In general, there are two ways to achieve this: you can either set the the FormBorderStyle ......

Posted On Sunday, May 15, 2005 9:43 PM

XmlLogger for MSBuild
Updated: This project now has its own page. I use CruiseControl.NET with MSBuild for automated build of a .NET 2.0 project. You can find instructions how to setup this in Michael Swanson's Blog. Everything works fine but one thing that bothered me was that CC.NET logged raw console output from MSBuild, whereas I wanted the results as structured XML document so it can be nicely integrated into the build report and formatted with XSL. What I needed was an XML Logger for MSBuild. I first found one written ......

Posted On Friday, May 6, 2005 9:42 PM

Problem installing SQL 2005 Express April CTP on non English OS
Yesterday I've been installing SQL Express on a VirtualPC with Polish Windows XP. When setup reached the point when it tried to start the service I got following error: The SQL Server service failed to start. For more information, see the SQLServer Books Online topics, "How to: View SQL Server 2005 Setup Log Files"and "Starting SQL Server Manually." and with alert from NetLogon service in event log that the “This computer is part of a workgroup and not a domain and in such configuration the ......

Posted On Friday, May 6, 2005 9:38 AM

Copyright © Szymon Kobalczyk | Powered by: GeeksWithBlogs.net