Aleksandar's computer workshop

Let's see what Aleksandar was fixing today.
My findings, tips & tricks related to computers, internet, programming and other stuff I was working with.

Differences Between Microsoft Visual Basic .NET and Microsoft Visual C# .NET

Because of the past differences between Microsoft Visual Basic, Microsoft Visual C, and Microsoft Visual C++, many developers have the impression that Microsoft Visual C# .NET is a more powerful language than Microsoft Visual Basic .NET.
Some developers assume that many things that are possible in Visual C# .NET are impossible in Visual Basic .NET, just as many things that are possible in Microsoft Visual C 6.0 and earlier or Microsoft Visual C++ 6.0 and earlier are impossible in Microsoft Visual Basic 6.0 and earlier. This assumption is incorrect.
Although differences exist between Visual Basic .NET and Visual C# .NET, they are both first-class programming languages that are based on the Microsoft .NET Framework, and they are equally powerful. Visual Basic .NET is a true object-oriented programming language that includes new and improved features such as inheritance, polymorphism, interfaces, and overloading.
Both Visual Basic .NET and Visual C# .NET use the common language runtime in the .NET Framework, and almost no performance issues now exist between them.
Visual Basic .NET may be oriented more toward ease of use by providing features such as late binding, and Visual C# .NET may have a few more “power” features, such as handling unmanaged code, but the differences are very small compared to what they were in the past.

More details:

This article points to the "Differences Between Microsoft Visual Basic .NET and Microsoft Visual C# .NET" white paper

Quick reference guide to highlight some key syntactical differences between VB.NET and C# 

Complete Comparison for VB.NET and C#

VB.NET and C# cross conversion tools are available here:

Convert C# to VB.NET 

Convert VB.NET to C# 

Mail Password Recovery moved to new site

Old Mail Password Recovery page has be moved to new location. Update your bookmarks. I have some plans to update the tool, so keep eyes on it.

Few words about program for people which are not familiar with it.

Mail Password Recovery allows you to recover your email password for any POP3 account, as long as it is stored in an email program on your computer.
You just need to temporarily change the settings in your email program, so that it connects to email password recovery instead, and your password will be revealed.

More information is available here:

http://gsmblog.com/page/Mail-Password-Recovery.aspx

IIS Version

To determine which Microsoft IIS (Internet Information Services) is running on your PC you can check following table:

  • IIS 1.0, Windows NT 3.51, SP3 or available as a free add-on
  • IIS 2.0, Windows NT 4.0
  • IIS 3.0, Windows NT 4.0 SP3 (IIS 2.0 is automatically upgraded to IIS 3.0 during the install of SP3)
  • IIS 4.0, Windows NT 4.0 Option Pack
  • IIS 5.0, Windows 2000
  • IIS 5.1, Windows XP Professional, Windows MCE
  • IIS 6.0, Windows Server 2003, Windows XP Professional x64 Edition
  • IIS 7.0, Windows Server 2008, Windows Vista  

Up to date list is available here

Monitor Display Turns Sideways or Upside Down

"Dad, there’s something wrong with the computer!"

If you ever pressed Ctrl-Alt-Right it could happen that your screen got rotated.

The Ctrl-Alt-Direction key sequence is supposed to be used for changing your workspace.
On my computer at work it changes the screen orientation.
Ctrl-Alt-Up - right side up
Ctrl-Alt-Right - 90 degrees
Ctrl-Alt-Down - 180 degrees
Ctrl-Alt-Left - 270 degrees(If that doesn’t work, try Ctrl-Shift-R)
Looks like ATI & Intel copied the keystroke for the same “feature” in their video card drivers.

To fix the issue press Ctrl-Alt-Up. To permanently fix the problem go to:
Start >> Control Panel >> Display >> Settings >> Advanced
Where it is after that it dependent upon your video card. Look for hot key section.