Geeks With Blogs
Rupreet's Weblog Looking deep inside under the hood .NET Framework 2.0
Tip: How to view assembly directory structure
Assembly folder in windows directory is a special folder which shows files in a different manner. To view this folder in a normal view – with all files and directory structure in it, just a tweak in registry needs to be done. Add “DisableCacheViewer&#... DWord key and set its value to 1 at HKEY_LOCAL_MACHINE\SOFTWARE... ......

Posted On Saturday, June 24, 2006 6:35 PM

VS2005 Another Desinger Issue - Winforms not opening
Last week, i got the resolution for one the Designer Issue we were facing and this week we bumped into another. Here is the Designer error message we get when we open up winform. One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. Hide at System.Reflection.Module.Ge... ......

Posted On Wednesday, December 21, 2005 9:26 AM

VS2005 Designer Issue - WinForms not opening after migrating
Recently in my project we migrated from VS2003 to VS2005. The application I am working on is a smart client application so it has lot many Win Forms. After migration, when the solution was opened up in VS2005, we faced this strange problem. None of the Forms were opening in the designer mode. It was throwing exception (shown below) One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code ......

Posted On Wednesday, December 14, 2005 6:36 PM

How to determine whether a file is a .NET Assembly or not?
There are some scenarios where need to check programmatically if the given file is a .NET assembly or not. How do we do that? One way is to use reflection and try to load that file (assembly). If the assembly gets loaded, and doesn’t throw any exception, then yes, it’s a valid .NET assembly. If it’s not a valid file, then it’ll throw a “BadImageFormatExcept... The idea of checking weather a file is assembly or not by loading it and checking if exception is thrown ......

Posted On Wednesday, November 2, 2005 11:09 AM

IrdaClient.DiscoverDevices throws InvalidProgramException - Bug in Compact Framework
Last evening, I was trying to write an application which could detect IR Devices from my machine and give its details. I was using VS2005 Beta 2 Winforms. I added System.Net.IrDA.dll from “C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactF... path. The program is simple, just create an instance of IrDAClient and look for devices using IrDA.DiscoverDevices(int max) which gives an array of IrDADeviceInfo. But to my surprise, when ......

Posted On Wednesday, June 22, 2005 2:23 PM

Copyright © Rupreet Singh Gujral | Powered by: GeeksWithBlogs.net