Questions tagged [regasm]

Regasm is an Assembly Registration tool that reads the metadata within an assembly and adds the necessary entries to the registry, which allows COM clients to create .NET Framework classes transparently.

Regasm is an Assembly Registration tool that reads the metadata within an assembly and adds the necessary entries to the registry, which allows COM clients to create .NET Framework classes transparently.

220 questions
0
votes
0 answers

How to register DLL for COM interop on other machine?

I created an ActiveX library in C# with 2 referenced libraries and registered it for COM interop and signed it using a strong name key with Visual Studio. It works fine, but now I want to register it on another computer. I used regasm with /codebase…
Lord Gamez
  • 289
  • 7
  • 13
0
votes
1 answer

How to deploy ActiveX dll from web page

Been trying off and on for days now and can't figure this out. I have written a C# class file for an Intranet app to control the local serial ports. It works great when I manually register the dll using regasm, however, I need to deploy this control…
Bob
  • 77
  • 2
  • 13
0
votes
0 answers

RegAsm returns an error when trying to register my C# x86 dll in a x64 system

I've been trying to deal with this for a long time, but could not find any solution. I have 2 VS2008 projects, one is C# and the other one is C++/CLI. The C++/CLI project is Win32 and load some external libraries. I've managed to register this dll…
0
votes
1 answer

How to Register C#.net DLL on Ubuntu? I am not able to Use Regasm.exe on Ubuntu10.10

I have used GACutil command to copy a .NEt DLL into GAC, and i am trying to Register the DLL using "C:\Windows\Microsoft.NET\Framework\v2.0.50727>regasm testdll.dll /tlb:testdll.tlb" using this command I am executing this on Wine Command Prompt in…
-1
votes
0 answers

_com_error on execution when using objects from an imported TLB file

I am currently using BTS BioEngineering SDK (real-time EMG data acquisition device) for a lab project. According to its documentation, libraries (.dll) from this SDK were written in C# and can be used in C++ project by registering them with…
pwangb
  • 1
-1
votes
1 answer

Regasm is not working / ActiveX component can't create object

I wrote a C# .dll in Visual Studio which I want to call from excel VBA. (I used this tutorial) On my Development PC where I set the settings in the Project properties for "Make COM-Visible", "Register for COM interop" and "sign the assembly" it all…
Linus
  • 11
  • 2
-1
votes
2 answers

Linking between c# and c++ in 64 bit machine

I have written a code in c++ and c# . From my c++ code i am calling my c# function through. I have sent just a part of c++ code. txtPath contains the location of a text file. C++ code: CoInitialize(NULL); IMyClassPtr obj3; …
shrey
  • 1
  • 4
-1
votes
1 answer

Register .net assembly for all users

I've registered a .NET assembly using regasm.exe. Everything is fine but I have one problem. When I run registration from Admin user assembly is visible only by this user. Registration: regasm.exe "C:\Assembly Path\MyAsm.dll" /codebase So, how can…
Gleb
  • 1,190
  • 18
  • 43
-1
votes
2 answers

Access not exiting

Recently, my Access .mdb database started intermittently not allowing Access (both Access 2003 and 2007) to quit. If I quit (whether by pressing the X button or from the menu, then it closes the database and appears to exit Access, as well, but then…
clum
  • 469
  • 4
  • 20
-2
votes
1 answer

How do you develop a C# dll in Visual Studio 2010 that can be registered on another pc via regasm?

Possible Duplicate: regasm RA0000: No types were registered I have a fairly simple component, strongly named and built into a dll file. I give that file to a co-worker to register on his Windows 7 machine. He uses the command: (from the location…
Matt Balent
  • 2,129
  • 1
  • 17
  • 20
1 2 3
14
15