Jigar Mehta's Blog
Email Blog Author
RSS for comments
RSS for posts
Search this blog
Search all blogs
Browse by Tags
Jigar Mehta's Blog
Tagged Content List
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...
28 Apr 2008
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...
19 Jun 2007
.NET Framework Configuration Tool
Just now, i was searching for something to set the redirection for .NET assembly. Like, for assembly versions 18.104.22.168 to 22.214.171.1245 should be loading the latest assembly from the company, that is, 126.96.36.199 Tried searching for writing the config file (i know this can be possible by Redirection policy configuration...
4 May 2007
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...
3 May 2007
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...
20 Dec 2006
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...
18 Dec 2006
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...
8 Nov 2006
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...
13 Oct 2006
Page 1 of 1 (8 items)
© 2013 Microsoft Corporation.
Privacy & Cookies