• knom's developer corner

    Windows 7 – VHD Boot – Setup Guideline

    • 24 Comments
    Windows 7 has a really useful feature called “VHD Boot”. With that you can boot your entire Windows out of a Virtual Hard Disk file (as those used with Virtual PC or Virtual Server). This VHD file is mounted as a virtual disk, you can use it as a normal...
  • knom's developer corner

    WPF Control Development - 3 Ways to build an ImageButton

    • 9 Comments
    During a WPF workshop last week I was asked to do an ImageButton control. *Huh* I thought, this is going to be an easy task (as probably most of you think right now). 1st Way: Use Buttons Content Property directly: And it was easy: Thanks to the concept...
  • knom's developer corner

    IP Address Calculations with C# (Subnetmasks, Networks, …)

    • 4 Comments
    Recently I wanted to develop a wake-on-lan application for my media center. For that I needed the broadcast address of my local LAN. So I decided to write a small but interesting library.. (you can leverage it for all kinds of network calculations like...
  • knom's developer corner

    SQL Server User Provisioning Tool for Vista

    • 15 Comments
    After installing SQL Server 2005 or Express on Windows Vista you may have noticed, that your user accounts (even though being in the local computer's administrators group) are not allowed to connect to the SQL Server. Which is bad if you're not running...
  • knom's developer corner

    WPF: Tired of xmlns="clr-namespace ..." ?!

    • 3 Comments
    I'm sure you all know the problem: When using custom objects or controls in XAML you need to add a xmlns:bla="clr-namespace:MyDotNetSpace" declaration to each XAML file (which can be thought of as the C# using statement). Although this is now comfortabely...
  • knom's developer corner

    IIS7: WCF Services - .SVC do not work

    • 1 Comments
    Recently I came across a problem with Windows Communication Foundation Services and IIS 7. What I did is, deploy a .SVC file to my IIS 7. The service worked during development on the local ASP.NET Dev Webserver, but after deploying it to the server, there...
  • knom's developer corner

    A Must Have Tool - VS 2008 Snippet Designer

    • 7 Comments
    Mathew Manela from the Online Tools Group at Microsoft has written a really cool tool, which adds a feature missing for a long time in Visual Studio: Code Snippet Creation. The tool, which is available at http://www.codeplex.com/SnippetDesigner allows...
  • knom's developer corner

    "Hacking" System.Net.Mail.SmtpClient

    • 6 Comments
    In .NET 2.0 there is a cool class called SmtpClient within System.Net.Mail . With this class you can send mail (at least I thought). The requirement was to send an email over a server of one of our agencies. The mail server was secured by username/password...
  • knom's developer corner

    Vista Command Link Control with C# / Windows Forms

    • 4 Comments
    How to write a wrapper control for Windows Vista command links in Windows Forms / C#....
  • knom's developer corner

    Wake-On-Lan Client with C#

    • 3 Comments
    I bought myself an Acer L5100 Media Center PC, running with Windows Vista Media Center for Christmas. What I wanted was some functionality to wake up the media center out of shutdown mode. So I dig into Wake-On-Lan. Almost any modern network interface...
  • knom's developer corner

    LINQ-To-Everywhere – List of LINQ Providers

    • 8 Comments
    This weekend I’ve built a small application, which queries the “Simpsons” seasons guide data and updates the filenames/descriptions. To do this I needed to query a CSV file. While searching for a LINQ to CSV file implementation I’ve found an interesting...
  • knom's developer corner

    Inside Workflow Foundation Activities

    • 1 Comments
    Activities are the heart of WF. Together they form workflows, control the flow or do loops. They can either be simple and atomic or composite . Simple activities can do one thing as calling a database or web service, terminating the workflow or something...
  • knom's developer corner

    Transparent Silverlight Sidebar Gadget

    • 1 Comments
    To prove the use of Silverlight in Vista Sidebar Gadgets, I recently created a really simple, but good looking ;-) Sidebar Gadget with a Silverlight App embedded! Here is what it looks like: Don't bother about the pink animal watch ;-) The gadget...
  • knom's developer corner

    Free mail with Windows Live - Custom Domains

    • 9 Comments
    Recently I came across a really cool live server called "Custom Domains". This service is currently evolving into " Windows Live Admin Center ". What does it do?! You get an e-mail server for your custom domain for free! You can then create up to 500...
  • knom's developer corner

    UAC with .NET in Visual Studio 2008

    • 1 Comments
    Last time I showed you how to integrate an application manifest in to your project for UAC purposes via post-build actions. As this doesn't seem like the straightest way to do this (not just to me), Visual Studio 2008 will come with new support for...
  • knom's developer corner

    Clean Up the Vista Networks

    • 4 Comments
    In my last post I wrote about the Vista Network List Manager! If you ran the sample, I attached you might see a lot of "old" networks still stored on your machine! (like some WLANs at hotels, ...) I was wondering how to clean up the list of networks and...
  • knom's developer corner

    Vista Network List Manager

    • 2 Comments
    Another new feature I came across is called "Network List Manager"! This new COM Type Library allows you to enumerate all available networks or network interfaces and read or even write extended properties of those. To use the new API, you need...
  • knom's developer corner

    Goodbye ApplicationException!

    • 1 Comments
    While researching on Visual Studio Static Code Analysis topics I came over blog posts by Brad Abrams and Krzysztof Cwalina (who wrote the Framework Design Guidelines )! The both ask developers to stop using ApplicationException as a base class for...
  • knom's developer corner

    Problems with Visual Studio 2005 SP1 on Windows 2003 Server

    • 1 Comments
    Lately I tried to install VS 2005 Service Pack 1 on a Windows 2003 Server via Windows Update. Unfortunately I ran into an error: Installation failed - 0x64C After searching several forum threads I found out the simple solution for the problem - inserting...
  • knom's developer corner

    Visual Studio Templates - Composite WPF Guidance - Installation

    • 7 Comments
    First of all download the template package from here. For an overview of the functionality see another post.   Extract the zip file and move to the Bin folder. In the bin folder three files are located: install.bat does all the work to setup the...
  • knom's developer corner

    Visual Studio 2008 Custom Shell

    • 0 Comments
    With Visual Studio 2008 you can use the IDE as environment for your custom applications! Basically there are two types of modes to use the VS 2008 Custom Shell: Integrated Mode: With integrated mode you merge your application into Visual Studio. You can...
  • knom's developer corner

    UAC Elevation for MSI Packages

    • 2 Comments
    It has been serveral times now, that I tried to install an MSI package and occurred some strange error! The reason for this... yes Vista User Account Control! Unfortunately MSI Packages do not elevate automatically, and it's also hard to elevate them...
  • knom's developer corner

    Visual Studio 2008 ("Orcas") problems with .NET Configuration MMC Snap-In

    • 0 Comments
    I've heard of problems with Visual Studio "Orcas" - now Visual Studio 2008 Beta 1 and March CTP installed together with VS 2005. After running the setup of Visual Studio 2008 users had problems opening the .NET Framework configuration MMC snap-in out...
  • knom's developer corner

    Using the VS Templates for Composite-WPF-Guidance

    • 2 Comments
    This is about using the templates for a new project. First of all you need to download the templates and install them from the links below. Download the ZIP-File containing sources and built binaries here. See the post on how to install the binaries or...
  • knom's developer corner

    LINQ-to-SQL Part 1: "Let me teach you English!"

    • 1 Comments
    When using LINQ to SQL you need to create a DBML diagram! The first step to start with, is clicking "Add New Item". The item type is now called "LINQ to SQL Classes" in Beta 2 of VS 2008: Within the diagram designer you can drag tables from the...
Page 1 of 4 (83 items) 1234