The following example shows you how to check if a key in the Windows registry exists, in this case the key named Test which is situated in HKEY_CURRENT_USER\Software\Geekpedia. Registry.CurrentUser tells the program to use HKEY_CURRENT_USER. We use double backslashes to escape the slash in the registry path, but we can aswell use:
Do I need the PDB (.pdb) file when I deploy my ASP.NET application?
Program Debug Database (PDB) is not normally required for your ASP.NET web application to run, however they are required for debugging. PDB files are used to store debugging information and they are created when you compile the application. In ASP.NET, as well as other .NET applications, PDB files serve a crucial role in the debugging process. […]
Array creation must have array size or array initializer
Array creation must have array size or array initializer error is caused by a line similar to the following: And the problem with this line is that you create a new array but you don’t define a size. When you create an array you have to either define a size for the array, or declare […]
How do I get the values when submitting a form (either using GET or POST)?
This is a popular question among ASP.NET beginners, because this is done fairly different with .NET. While in PHP you would use $HTTP_POST_VARS[‘field1’] and $HTTP_GET_VARS[‘field1’] to get the value passed from a form (either using POST or GET method), in ASP.NET there is a big difference.First, if you pass the value using the GET method […]
How to compile into .NET 1.1 using Visual Studio 2005 (.NET 2.0)
Apparently in Visual Studio 2005 you can only compile .NET Framework 2.0 applications. However, not rare is the case when you need to compile the application into .NET 1.1 and you don’t have Visual Studio 2003 installed. To be able to compile into .NET 1.1 with Visual Studio 2005 you will need to download the MSBee application […]
UK Bans iPhone 3G Advertisement
An ad by Apple showing off the iPhone 3G to the UK market was banned by the Advertising Standards Authority (ASA) after it has received complaints about the ad being misleading. The ad shows the iPhone performing a series of tasks in 30 seconds, including browsing the web, reading emails and using Google Maps. The commercial […]
Windows Vista Aurora Dream Wallpaper
This wallpaper, a mixture of green and blue based on a real life landscape is entitled “Aurora Dream”. The 1280×1024 size makes it perfect for the Windows Vista desktop of your 19″ LCD.
Visual Studio Team System Wallpaper
1600×1200 sized wallpaper depicting Microsoft Visual Studio Team System.
Windows XP Blue Wallpaper
In the Windows Vista days and talking of Windows 7, this Windows XP wallpaper may be a little outdated. However the quality surely isn’t, and the size will fit desktops any size.
Windows 7 Aurora Green Wallpaper
Small but pretty, this is one of the few Windows 7 wallpapers featuring the unofficial logo. The background is an altered version of the Vista Aurora wallpaper.