Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » .NET   (RSS)

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
Posted by Jigar Mehta | 1 Comments
Filed under: , ,

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
Posted by Jigar Mehta | 0 Comments
Filed under:

.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
Posted by Jigar Mehta | 0 Comments
Filed under:

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
Posted by Jigar Mehta | 0 Comments
Filed under:

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
Posted by Jigar Mehta | 0 Comments
Filed under:

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
Posted by Jigar Mehta | 0 Comments
Filed under:

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
Posted by Jigar Mehta | 0 Comments
Filed under:

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
Posted by Jigar Mehta | 0 Comments
Filed under: ,
 
Page view tracker