regasm

Some Clarification needed regarding views in MPP

Is there any option to merge teo views in MS project For eg: Is it possible to merge network diagram with ghant chart Kindly put in ur suggestions ...

.net regasm question

Lets say we have this scenario a setup that deploys a .net com dll and runs regasm on it, this setup has no uninstall so unregister Will never be called.. And you can run the setup over and over again.. Is there any danger in doing so?? What would happen if i deploy à new setup with à new version of the dll.. Is there any danger in n...

How to Register a Type Library without RegAsm.exe

I want to know if it's possible to register a type library without using the RegAsm tool. Here is my situation, which will hopefully explain why I want to do this: I'm developing an assembly in .NET that will provide some modern functionality for our older VB6 applications. I have successfully registered the assembly and the type libr...

COM Enabled .NET User Control

Hello, I have created a COM enabled .NET User Control and am wondering what is the best way to deploy this to users to use the control in a web page ? Is cab the way to go with this ? I understand that I will need to regasm the control on the user's machine. Would a regular msi be better and easier to use for this ? Thanks ...

.NET: are regasm and caspol dependent on which user is logged

When using regasm and caspol to register and grant trust to assemblies, will it matter under which user account these utilties are executed? Could there arise a situation where assemblies are registered and/or granted trust only for certain users on a machine or domain? ...

How Does a COM Program Locate a .NET DLL Registered for COM Interop?

One customer wants to consume our .NET DLLs from VB6. They are designed to support reverse interop and all works fine... except: There are two separate VB6 programs in two different directories. It seems it's necessary to do one of: Copy the .NET DLL into both directories, or Install the .NET DLL in the GAC This is the customer's o...

A .tlb file must be registered?

Hello, I have a com interop c++ dll that is loaded in c++ throught the .tlb file generated in c#. When I run in my computer it works fine but when I run in a computer that just got formated it gives: WindowsError: exception code 0xe0434f4d Do I have to do something for the .tlb file or its dll to be registered in the system? Somethin...

RegAsm for Class Library Used in VB6 Application

To be short and to the point, I've built a C# class library that is both COM-Visible and Registered for COM Interop. I've compiled the library, which resulted in the generation of .dll and .tlb files. I have another machine that's running a VB6 application. So, I copied the .dll and .tlb files over to C:/Windows/system32 folder on the...

Regasm writes mscoree.dll into Registry key InprocServer32

When I register my .NET Assembly with regasm.exe the registry key HKEY_CLASSES_ROOT\CLSID{111E32AD-4BF8-495F-AB4D-6C61BD463EA4}\InprocServer32 is set to "mscoree.dll". However, I am trying to mimic an existing COM-Server that was written in C. When registering this old COM-server the InprocServer32 is set to the full path to this com...

Why would you need to run regasm and caspol on a .net component more than once?

Why would you need to run regasm and caspol on a .NET component more than once? I have a COM client that uses a .NET component residing on another machine. Consequently I need to run regasm and caspol on this .NET component. What could cause there to be the need to do this again on the same machine to the same component? Is the effec...

Use Visual Studio Setup Project to automatically register and GAC a COM Interop DLL

I've created a .NET assembly for COM interop and it is working well on my development machine. I'm currently trying to figure out how to deploy the DLL to a target machine using Visual Studio's "Setup Project." How can I use the VIsual Studio setup project to do the following things: Register the assembly (currently using regasm). T...

regasm and tlb (registering a .NET library for COM interop)

I have .NET assembly with one public class and several private classes. I am trying to register it for COM interop so that I can call it from VBA, using the following command: regasm /tlb foo.dll /codebase Subsequently, when I open up the .tlb file in Visual Studio's "object browser", I see that the library does not expose any types. ...

using regasm for an framework 4.0 assembly located on UNC share

I am trying to register a .Net 4.0 compiled binary using regasm utillity. This ComInterOp assemply has to be deployed on a network share, and trying to register from the share fails with the error "Cound not load file or assembly or one of the dependecies". (registration works if the binary is on a local drive). It may be Code access sec...

Property/Method Descriptions for COM Libraries

If you create a COMClass, I've noticed that the values in the XML Summary tag do not show in the object browser of VB6/VBA when you reference the resulting tlb file. Is there a way to have these values show up? ...

Consume a .NET Assembly from a classic ASP page.

Hi, I have an old .net 2005 web site that has some asp pages and having object reference problem accessing .net dll. The maintenance task was handed down to me and the original developer is nowhere to be found :( I started at .Net already so I don't really master handling this dll hell kind of problem. On the arrow below is where I'm...

Need to move .Net Assemblies to Program Files after Windows Update

I have a legacy windows client application that uses a several .Net assemblies (I created), one with a COM wrapper. The client application resides in a root drive subfolder (c:\somefolder...). Recently after a Windows update the application could not properly load the .Net assemblies. Prior to the update there were no issues. I fixed t...

Unregistering old versions of a .net assembly

Hello, I have an assembly that has a lot of old registered versions. The only dll I have is the last one. How can I unregister all versions of the assembly? Thanks. EDIT : I want to do this at runtime so I want something like regasm -u... or some other script-y solution. ...