180 posts

Write a blog post with MS Word 2007

Microsoft Word 2007 has a new feature that allows bloggers to write posts in Word itself then publish it later. When you click the Microsoft Office Button (the icon at the upper left corner of MS Office) and select “New”, you will be prompted with two types of new documents: Blank document and New blog post. MS Word will ask you to register your blog account first if you haven’t done it, and it supports […]

Add Bookmark dialog not working – FireFox

I have had this annoying problem with FireFox for a while: when I try to bookmark a web page, the “Add Bookmark” dialog does not respond after I click “Add”. If I select a different folder to save the bookmark, the “Add Bookmark” dialog will respond but only add the bookmark without a name – a blank bookmark entry pointing to the web page. I didn’t use FireFox as much as I do now, so […]

VMWare Server on Fedora Core 6

I am a .NET developer and work with the Windows platform almost all the time, then why Linux out of a sudden? The reason is Virtulization. Every developer should have some kind of virtulization tool to help them test their applications under different environments. Microsoft’s Virtual PC may be an option. But the problem with MS Virtual PC is that if I install it on my Windows PC, then I have to maintain the security […]

I love this error message!

I got a 503 error message the other day when I was trying to write a post, which made me love the WordPress developers more. Why? Look at the screenshot of the error message and you will see: BTW, “Matt” is one of their developers. Don’t you love these guys? Maybe I should ask my supervisor if I can write an error message like this and put his name in it. 🙂

Reflector 5.0 available

Just in case you have not heard about it, Reflector, a must-have for .NET developers, was released version 5.0. If you have not used it (shame on you – I am kidding :-)), here is what it is: “Reflector is the class browser, explorer, analyzer and documentation viewer for .NET. Reflector allows to easily view, navigate, search, decompile and analyze .NET assemblies in C#, Visual Basic and IL.” Reflector can be downloaded here.

Data Type Summary (Visual Basic)

Visual Basic type Common language runtime type structure Nominal storage allocation Value range Boolean Boolean Depends on implementing platform TrueFalse Byte Byte 1 byte 0 through 255 (unsigned) Char (single character) Char 2 bytes 0 through 65535 (unsigned) Date   class=SpellE>DateTime 8 bytes 0:00:00 (midnight) on January 1, 0001 through 11:59:59 PM on December 31, 9999 Decimal Decimal 16 bytes 0 through +/-79,228,162,514,264,337,593,543,950,335 (+/-7.9…E+28) † with no decimal point; 0 through +/-7.9228162514264337593543950335 with 28 places […]

Controlling Variables in For Loops

The For and For Each loops let you define their controlling variable as a block variable, using this syntax: For i As Integer = 1 To 10 … Next This syntax was introduced in Visual Studio.NET 2003. Many books and articles, however, continue to use the old syntax: Dim i As Integer For i = 1 To 10    … Next The new syntax is preferred in all cases because it prevents you from accidentally reusing […]

I fixed our laptop!!!

Our old laptop has been giving us problems for about two years. When I am surfing the Internet, the laptop will freeze up unexpectedly, especially if I scroll the page up and down frequently, then the laptop will freeze up. I have tried several ways to fix the problem, but in vain. Here are the methods I have tried before: Reinstall Windows XP. Yeah, it is always our first choice when we deal with Windows […]

Windows users: how to secure your system

Many Windows users don't think much about the security of the Windows system they are using, because most of them have little knowledge of the potential security issues they are facing and think that Windows should handle the security automatically. The reality, however, is that the Windows system out-of-box has many security vulnerabilities which may be exploited by hackers to take control of user's computer to do more harmful things. For example, when you use […]