Wednesday, April 04, 2007

My colleague Sergey is working on a really nice package around CardSpaces. Watch his blog for updates...

C# | Misc | Projects | Security
Wednesday, April 04, 2007 8:44:26 AM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Sunday, March 25, 2007

this.Age++;

Life | Misc
Sunday, March 25, 2007 12:43:35 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [5]  | 
 Thursday, December 21, 2006

I just got "tagged" together with Steve, Don, Udi and Nicholas  by Clemens. So here are my five:

  1. The nickname "Lennybacon" was given to me by my girlfriend and is (probably) based on my middle name "Leonard" and the fact that I like bacon for breakfast.
  2. My surname is written without a "c" which is quite strange for most Germans (beside my certificate of birth about 80% of the official documents spell me the wrong way). The English way of spelling is because of my father who is an American and his forefathers who came from England.
  3. I started working with computers beside school and administered Novell and NT Networks.
  4. I programmed my first Windows application in 1996 using Delphi. At this time I still wanted to become a Carpenter. The only reason I did not become one is that in that company they started to drink alcohol at 8 o'clock (work started at 6).
  5. The oldest piece of a computer I own is a 15x15x0.5 inch disc with 4 MB storage. It was a present from a customer and given to me after finishing a project.

And the Oscar Tag goes to:

Michael, Thomas, Kenny, Bob and Craig

Thursday, December 21, 2006 5:32:33 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Sunday, August 13, 2006

Microsoft introduces with Vista/IE7/Office2007 the Microsoft RSS Platform -

For some reasons my IE is not able to export the feeds that I read in IE7 and Outlook 2007 to OPML.

I had a look at the API and wrote this small console applictaion to export my feed list to the OPML format.

using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Xml;
 
using Microsoft.Feeds.Interop;
using System.Collections.Generic;
 
namespace RssWindowsPlatformOpmlExporter
{
    class Program
    {
        static void Main(string[] args)
        {
            string pathToExport = "D:\\temp\\feeds.opml";
            if (args.Length > 0)
            {
                pathToExport = args[0];
            }
 
            FeedsManager mgr = new FeedsManager();
            Queue<IFeedFolder> queue = new Queue<IFeedFolder>();
            queue.Enqueue(mgr.RootFolder as IFeedFolder);
 
            while (queue.Count > 0)
            {
                IFeedFolder currentFolder = queue.Dequeue();
                IFeedsEnum subFolders = (IFeedsEnum)currentFolder.Subfolders;
 
                for (int i = 0; i < subFolders.Count; i++)
                {
                    queue.Enqueue((IFeedFolder)subFolders.Item(i));
                }
 
                using (XmlWriter opml = XmlWriter.Create(pathToExport))
                {
                    opml.WriteStartDocument();
                    opml.WriteStartElement("opml");
                    opml.WriteAttributeString("version", "1.0");
 
                    IFeedsEnum feeds = (IFeedsEnum)currentFolder.Feeds;
                    for (int i = 0; i < feeds.Count; i++)
                    {
                        IFeed feed = (IFeed)feeds.Item(i);
 
                        try
                        {
                            if (!string.IsNullOrEmpty(feed.Title) 
                                && !string.IsNullOrEmpty(feed.DownloadUrl))
                            {
                                opml.WriteStartElement("outline");
                                opml.WriteAttributeString("title", feed.Title);
                                opml.WriteAttributeString("xmlUrl", feed.url);
                                opml.WriteEndElement();
                            }
                        }
                        catch (COMException e)
                        {
                            Console.WriteLine(
                                "Error getting feed: {0}", 
                                e.Message);
                        }
                    }
 
                    opml.WriteEndElement();
                    opml.WriteEndDocument();
                }
            }
        }
    }
}
C# | Misc
Sunday, August 13, 2006 2:42:42 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Wednesday, May 10, 2006

There we go. Doors are open for NRW06!

20 Speakers, max. 250 attendees a lot of community and networking.

Signup

After you did you can put this onto your blog or website ;-)

Wednesday, May 10, 2006 12:02:12 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [9]  | 

A while ago I posted that I and my company were searching for ASP.NET guys...


Sergey Shishkin
joined newtelligence in March this year and started to blog yesterday.

He will do a presentation about a project related to Office Open XML and WinFx he is doing on out next user group meeting (18th May) in Düsseldorf, Germany

Wednesday, May 10, 2006 11:54:29 AM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Tuesday, January 24, 2006

Tuesday, January 24, 2006 2:23:03 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Tuesday, January 17, 2006

MDFExec
 Executing CREATE statements from within Visual Studio 2005

Snippy
 Editor for creating and modifying Visual Studio 2005 Code Snippets

WebServer Here Context Menu

Exclude From Sharepoint

NDoc Macro

Cropper
 Screenshot tool

Ruler

Folder Size Browser

Convert.NET
 C# 2 VB.NET Converter

ChalkTalk

Mistaya
 LDAP Explorer

WinMerge

 

 

Thomas list...

Event | Misc
Tuesday, January 17, 2006 11:24:57 AM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Thursday, January 12, 2006

Thursday, January 12, 2006 10:36:48 AM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [1]  | 
 Friday, December 23, 2005

Friday, December 23, 2005 11:19:04 AM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Sunday, December 18, 2005

I just finished writing some ASP.NET code where I also typed the following lines: 

 <ItemTemplate>
	<asp:Image ID="IsOnline" 
	runat="server" 
	ImageUrl='<%# GetImageUrl((MembershipUser)Container.DataItem) %>' 
	/>
</ItemTemplate>

...

protected string GetImageUrl(MembershipUser user)
{
	if (user.IsLockedOut)
	{
		return "~/images/BadUser.gif";
	}
	else if (!user.IsApproved)
	{
		return "~/images/GreyUser.gif";
	}
	else if (user.IsOnline)
	{
		return "~/images/OnlineUser.gif";
	}
	else
	{
		return "~/images/OfflineUser.gif";
	}
}

Before I shutdown my machine I fetchted Mail and Feeds when i ran accross this posting by ScottGu pointing to Fritz Onions Blog.

;-)

Sunday, December 18, 2005 12:59:36 AM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Thursday, December 15, 2005

No Comment :-P

Thursday, December 15, 2005 10:41:59 AM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Friday, November 11, 2005

Friday night Andreas Hoffmann (2nd lead of the VfL-NiederRhein user group) picked me up ad we drove the long way down to the south.

 

Our destination for Saturday morning was the “Chaostage” event of the .NET user group Deggendorf  (http://dotnet-deggendorf.sefnet.de/). I had a session “Introducing the concepts and architecture of ASP.NET“ in the morning and a second one “Hello WebServices – Message-Oriented Programming for distributed systems” in the evening.



We checked in at our hotel in Garching (I won’t tell the name but I’ll tell you a bit about the worst service). Because the waitress served me frozen potatoes with my steak I stood up and walked over to the bar. Just in this moment a voice behind me asked “Is this a codezone keychain? Are you gonna be at Microsoft on Monday?” It was Nicki Wruck (http://spaces.msn.com/members/icebloginfo/PersonalSpace.aspx) the organizer of the ICE 2005 Community together with Frank Solinske (http://spaces.msn.com/members/solinske/PersonalSpace.aspx) IT-Pro Security Guru. Only one nano-second later we drank the first beer together. The geek meet was so exciting that I was just about to forget the bad service of our hotel J

Sunday we fetched Stephan Oetzel (http://stephanon.net/) in Poing. We picked up Michael Willers (http://www.staff.newtelligence.net/michaelw/) Developer Security Guru from the Airport to merge the Security guys in the “Hofbräukeller”. Uwe Baumann (http://blogs.msdn.com/uweinside/) discussed about technical stuff with Andreas and me meanwhile. Later Nicki joined us together with Nico Lüdemann (https://www.openbc.com/hp/Nico_Luedemann/) and Carola Helfert (https://www.openbc.com/hp/Carola_Helfert/).

Monday - Launch Day – started with the Community GetTogether. Stephan and Andreas and I presented the results of the .NET Summit NRW (our community event). As always the time to do some “networking” was toooooooo short - even if we had at least the day before to talk to a few guys. The Launch Party was great. Steve Balmer’s Launch talk was transmitted per satellite into the Lobby of Microsoft in Germany – Great. The only problem again: So many people and such a small amount of time :-) 

Friday, November 11, 2005 9:53:42 AM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Wednesday, October 26, 2005

[...]The .NET Framework 2.0 comes with a built-in webserver, based on the old Cassini web server. So I wanted to be able to easily set up any directory to have its contents served up on an as-needed basis. The result is an addition to the Windows Explorer right-click menu...[Robert McLaws]

Chris Fraizer wrote it thgether in a small app.

Here is my version with a few modifications:

using System;

using System.IO;

using System.Collections.Generic;

using System.Diagnostics;

using System.Windows.Forms;

using System.Text;

using System.Runtime.InteropServices;

 

namespace WebServerHere

{

    class Program

    {

        static void Main(string[] args)

        {

            if (args.Length >= 1)

            {

                string _path;

 

                string _command =

                    Path.Combine(

                    RuntimeEnvironment.GetRuntimeDirectory(),

                    "WebDev.WebServer.EXE");

 

                StringBuilder _commandArgs = new StringBuilder();

 

                Random _r = new Random();

 

                string _port = _r.Next(1024, 9000).ToString();

 

                if (args.Length == 2)

                {

                    _port = args[1];

                }

 

 

                //grab the original path

                _path = args[0];

 

                _commandArgs.Append(" /path:\"");

                _commandArgs.Append(_path);

                _commandArgs.Append("\"");

                _commandArgs.Append(" /port:");

                _commandArgs.Append(_port);

                _commandArgs.Append(" /vpath: \"/");

                _commandArgs.Append(_path.Substring(

                    _path.LastIndexOf('\\') + 1));

                _commandArgs.Append("\"");

 

                ProcessStartInfo _info =

                    new ProcessStartInfo();

 

                _info.Arguments = _commandArgs.ToString();

                _info.CreateNoWindow = true;

                _info.FileName = _command;

                _info.UseShellExecute = false;

                _info.WorkingDirectory =

                    _command.Substring(0, _command.LastIndexOf('\\'));

 

 

                Process.Start(_info);

 

                using (Control _c = new Control())

                {

                    Help.ShowHelp(_c, "http://localhost:" + _port + "/");

                }

            }

            else

            {

                MessageBox.Show("Usage:\n\tWebServerHere.exe <path> [port]",

                    "WebServerHere", MessageBoxButtons.OK,

                    MessageBoxIcon.Information);

            }

        }

    }

}

And the Non-Admin installation reg-file:

Windows Registry Editor Version 5.00

[HKEY_Current_User\SOFTWARE\Classes\Folder\shell\VS2005 WebServer]
@="ASP.NET 2.0 Web Server Here"

[HKEY_Current_User\SOFTWARE\Classes\Folder\shell\VS2005 WebServer\command]
@="\"%SystemRoot%\\System32\\WebServerHere.exe\" %1"

ASP.NET | C# | Misc | Projects
Wednesday, October 26, 2005 8:53:48 AM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [1]  | 
 Tuesday, October 25, 2005
Wie ich blogge?!
Tuesday, October 25, 2005 12:15:04 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Monday, October 24, 2005

Wow, what a weekend. Just so short cuz my desk is quite full - but I promise to tell more tomorrow.

 

Event | Misc
Monday, October 24, 2005 5:23:00 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [1]  | 
 Wednesday, October 12, 2005

Problem
When connecting through a Microsoft ISA 2004 server, the FTP client has read only access to the files and folders. e.g. Uploading, renaming or deleting a file or folder is not possible. The FTP server replies with a "550 Access denied" message if such operations are performed.

Solution
Microsoft ISA 2004 server (acts as Firewall) default settings only allow read access (list and download).

To change this settings open ISA management -> Select Firewall policy -> Web Access -> Protocol -> Filtering ->Configure FTP
On this page remove the check mark from the "Read Only" option.

Wednesday, October 12, 2005 8:35:01 AM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [1]  | 
 Tuesday, October 11, 2005

Damir hat ein tolles Video zusammengeschnitten...

Starring: Barbara Steiger, Simone Stocker, Frank Butler, Christian Frei, Amy Sorokas, Trisha Lacey, Hans Verbeeck, Karsten Samatschke, Christian Wenz, Damir Tomicic, André Obelink, Dirk Primbs, Frank Prengel, Bill Gates, Jim Alchin, Andres Hejlsberg, Chris Anderson, Don Box, Scott Guthrie, Doug Purdue, Sara Faatz, Samantha Spears, Morgan Baker, Julia Lerman, Nicolas Clerc, Patrick Hynds, Chris Capossela, Golo Haas, Alex Bierhaus, Mario Spuszta, Alexander Holly, Michael Willers, Channel 9 guy

Tuesday, October 11, 2005 8:49:27 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 

[Jeffrey Palermo]
public launch date and availability is still scheduled for the week of November 7th, but Microsoft will be releasing the software to it's MSDN Universal subscribers first on October 15th.  I've been looking for changes from the Release Candidate to RTM, but I haven't found them yet. I'm glad the software is finally coming out.  I've been working with .Net 2.0 since Beta 1 came out, and I'm looking forward to using the final product. The I've installed Beta 1, Beta 2, and the Release Candidate, and all the IDEs have been stable. You've heard the warnings not to install pre-release software on any computer you care about, but Visual Studio 2005 has been very stable.  I'm impressed.
[...]

Nothing to add, Jeff

 :-)

Tuesday, October 11, 2005 8:46:06 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [1]  | 
Aus einem Chat mit Michael Willers zu Thema Indigo (Windows Communication Foundation) und Interop:

Michael says:
   
die wahrheit is aufm draht
Michael says:
    
die zeiten ändern sich
Michael says:
    
fürher war aufm platz heute is aufm draht

 

Tuesday, October 11, 2005 1:01:40 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Saturday, October 08, 2005

Monday: I met Andreas Hoffmann (2nd UG Lead of the VfL Usergrop) and Peter Nowak (Head of FIAEon.net, a community for .NET related vocational education) at Starbucks in Düsseldorf.

Tuesday: Benjamin Mitchell notified me that one of my sessions was voted by the british community and I'll have a session at the Developer Developer Developer Day.

Wednesday: I'm in contact with the Student Partners in Wuppertal now (better said Anselm Haselhoff because Marcel Wiktorin is moving and has not replied yet :-)).

Thursday: Usergroup meeting in Düsseldorf: Sebastian Weber (Developer Evengelist at Microsoft Germany and member of the VfL-UG) answered all our members questions about SQL Server 2005 and Tuan Nguyen (Lead of annos.de and VfL-Member) talked about the Annos project. Great, thanks guys.

Friday: I updated the VfL-Site and fixed a few bugs.

Saturday, October 08, 2005 5:50:30 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Thursday, September 15, 2005

Cropper is a free Screen Capture Utility written in C#

http://www.thegridmaster.com/
C# | Misc
Thursday, September 15, 2005 11:34:21 AM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Wednesday, August 31, 2005

[http://www.opera.com/pressreleases/en/2005/08/30/]
It's been ten years: Ten years of innovation and ten years of gratitude to Opera users. Today, Opera Software ASA gives back to its community.

Opera just launched its online party. As a sign of gratitude for the community's continuing support, Opera will give away complimentary registration codes for 24 hours. At the party site, people can also chat with Opera employees (including the CEO and CTO), play games, check out the history of the Opera browser, download music made by employees and send in their greetings. In addition, people can check out what happened at midnight at Opera's anniversary party
[...]

http://my.opera.com/community/party/reg.dml

Wednesday, August 31, 2005 9:06:58 AM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Thursday, August 11, 2005
OIS

For years I used ACDSee 3.0. It always remembered me of the days of Windows 95/NT 4.0. That is the past now.

Deep deep in your file system there lies a neat tool that does the job very well. The only problem I did not recognize that its even there for years. After i found it, and yes also liked it. I decided to use it and added the missing part to integrate the Office Picture Manager into daily work. Context menu integration:



Here ist the reg-file:
REGEDIT4

[HKEY_CURRENT_USER\Software\Classes\Folder\shell\Browse Pictures ...\command]
@="\"C:\\Program Files\\Microsoft Office\\OFFICE11\\OIS.exe\" \"%1\""


 

Thursday, August 11, 2005 1:01:05 PM (W. Europe Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [0]  | 
 Wednesday, August 10, 2005

Carefully said I do not like that sharepoint "hijacks" the Internet Information Server. When you create a virtual directory it is just not accessable because SharePoint took over IIS.

Funny fact: This is the second post how to fix issues with IIS and "extension" that cause issues :-)

So i decided to hack a small utility serving my needs:

ExcludeFromSharepoint.zip (3.46 KB)

Enables to exclude applications from sharepoint services through the directory context menu.
Install using the "-install" switch; Uninstall using "-uninstall" switch.

Because I'm running my machine under a LUA (Limited User Account) i wrote the tool in a way that you can install and uninstall it without administative rights - the contextmenu will be installed per user!

if(args[0]=="-install")

{

    RegistryKey _rkey = Registry.CurrentUser;