Browse by Tags

Tagged Content List
  • Blog Post: How to register .NET Assembly for COM Interop ?

    Do you want to use your .NET DLL (assembly) from VB6 or C++ application (native code) ? Yes, you can do that using COM Interop. As per COM rules, you need to get your assembly registered on system (in Registry, yes, thats how COM works!). To get an assembly registered on system, you can use regasm utility...
  • Blog Post: Want to see GAC in its naked view?

    For one of my customer's debugging scenario, I was searching for a technique to view the GAC in its simple file-folder view. (For those of you who does not know GAC [C:\windows\assembly] is just a decorated view implemented in shfusion.dll in framework folder.. Refer to [http://msdn2.microsoft.com/en...
  • Blog Post: .NET Framework Configuration Tool

    Just now, i was searching for something to set the redirection for .NET assembly. Like, for assembly versions 1.0.0.0 to 1.7.85.995 should be loading the latest assembly from the company, that is, 1.8.0.0 Tried searching for writing the config file (i know this can be possible by Redirection policy configuration...
  • Blog Post: Enabling .NET studio Windows Service project to work with installutil.exe

    I was just trying to create a simple C#.NET windows service with visual studio .NET 2005. After selecting Windows Service template, I got the template code for common required service infrastructure lik, OnStart() and OnStop() methods. I added my custom code in necessary methods and tried to register...
  • Blog Post: How to load the assemblies from disk apart from GAC and current directory?

    Just came across this question and got to know about a method where we can get the assembly resolve event and load the assembly programatically from any directory / URL we want! Following are the articles which talks more about this, http://support.microsoft.com/kb/897297 http://support.microsoft.com...
  • Blog Post: The order in which Assemblies are located by runtime!

    Just came across this question, and did some research! This is the order. Configuration files Application Configuration File Publisher Policy File Machine Configuration File. Check is made to see if the same assembly is loaded previously by any any other application. Global Assembly Cache Locating through...
  • Blog Post: How to load the assembly from location different from the application path or any of its subdirectories!

    Just got a case where customer needed to load C# Assembly from location which is not in the hierarchy of the application path nor is that in the GAC. The application which loads the assembly is a C++ native application using interop. After searching a lot and trying a bit, could find a KB article...
  • Blog Post: COM-.NET Interop development? Take care of this thing.

    I was trying my hands at creating a .NET 2.0 component that can be consumed by a COM application. One of the errors I got in the process of registering the .NET assembly was RegAsm : warning RA0000 : No types were registered. This was baffling!! I had done everything right and spent quite some time figuring...
Page 1 of 1 (8 items)