Welcome to Michaels Blog

All posts published in January 2004

Blog of latest news, updates, and stories for developers

Is this a security leck, what do you mean?

The last months there are a lot of discussions about the SCRIPT tag in WYSIWIG HTML editors. A lot of companies allow the user to add SCRIPT code to their guestbook, auctions, weblogs... If you add a script that is using the URL Spoofing bug you can collect private data or change the website.

Posted by Michael Schwarz on Wednesday, January 28, 2004


Windows XP SP2 Firewall and ConsoleApplication1

If you are using the new Windows XP SP2 (at the moment in beta) there will apear the firewall settings if one of your programs try to access the internet or are listening on at least one port. The Windows XP SP2 firewall will display all programs that tried to access the internet in one list. All of us that are creating ConsoleApplication1 for demonstration of libraries do not fill the settings in the AssemblyInfo.cs. The problem now is that you will not see any title in this list. After a rebuild the firwall wizard shows again the list with another item that will not display a title, so: Which one do you want to choose?

Posted by Michael Schwarz on Friday, January 23, 2004


Import XML Nodes from differnet XmlDocuments

Everytime I see a developer coming from Visual Basic or Javascript doing some XML developemnt I get a question: How do I import a XmlNode from a different XmlDocument?

Posted by Michael Schwarz on Thursday, January 22, 2004


DataGrid with optional columns and automatic width/height

I have created a first test for a datagrid that allows you to add optional columns that are displayed if there is enough space on the screen. The columns have a minimum width and can grow as there are no additional columns.

Posted by Michael Schwarz on Monday, January 19, 2004


Do you know the year 1601??

Today I tried to get the CreationTime of the bin/webapplication1.dll. I was in the wrong directory, so there was no webapplication1.dll. The nice think was, that I did not get any exception and a nice date: 1.1.1601 (minvalue of file dates).

Posted by Michael Schwarz on Tuesday, January 13, 2004


SMTP and POP3 Server beta running for testing

Currently not available!

Posted by Michael Schwarz on Tuesday, January 13, 2004


SMTP and POP3 Server with SQL Storage

Yesterday evening I found my old source code that was missing about two weeks after reinstalling my Windows XP. So, I have added the SQL storage for my incomming emails. For the moment you can only send to this SMTP Server, every email will be accepted and stored in the SQL Server. There exists only one POP3 user (you can use your own username/password, everyting will be accepted). You cannot delete a message with the POP3 -DELE- command, I will add this funtion this weekend.

Posted by Michael Schwarz on Saturday, January 10, 2004