problem about regasm-Collection of common programming errors
Nicolas Raoul
dll wix system.data.sqlite regasm shell-extensions
I have written a small shell extension, the stub works, but want it to read some info from an SQLite database.SQLite needs 2 DLLs:System.Data.SQLite.dll: managed-only core assembly SQLite.Interop.dll: native interop assemblyIn the past, I have successfully built desktop applications using these 2 DLLs, by putting them in the same folder as the .exe file. But in the case of a shell extension, there is no such thing as a .exe file, so where should I put these DLLs?Note: Right now I deploy the shel
sharptooth
.net com assemblies regasm snk
If I want to make a .NET assembly usable as a COM server I have to add a set of attributes and then use regasm to register it as a COM server.If the assembly is not signed with a strong name regasm when run with /codebase key shows a RA0000 warning saying that the assembly could interfere with other assemblies on the same computer and I should sign it with a strong name, but registration succeeds and it even works just fine.AFAIK strong names are intended to prevent so-called DLL hell. But COM w
gil
.net regasm
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.
Charlie White
.net vb6 regasm
I’m running into some trouble calling a .net assembly from vb6 and was hoping SO could help.In VB.net I built a ComClass and kept the default constructor and GUIDs.When deploying, I REGASM.exe the dll, which is located in the same folder as the VB6 exe. The .net dll references two other .net dll’s, both of which are in the same folder. I am trying to load the .net assembly using the VB6 function CreateObject(). When running the VB6 exe, I get the following errorRun-time rror ‘424’:Object require
yms
c# vbscript activex com-interop regasm
I have a problem with an active x component I wrote in C#. Despite I’ve registered the dll with regasm I’m currently not able to create an active x object…Here is my code from the class:using System; using System.Collections; using System.Globalization; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using System.Diagnostics; using System.Security.Policy; using System.Security; using Ch.XXX.System6.Modules.Logger;namespace Gadget.Interop {/// <summary>///
aF.
c# dll tlb regasm
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 0xe0434f4dDo I have to do something for the .tlb file or its dll to be registered in the system? Something regarding regasm.exe?If so, it is possible to only download regasm.exe and use it?Thanks in advance!
Bob
dll setup-project cab activexobject regasm
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 from a web page without having to manually register it. I tried creating a Setup Project in Visual Studio 2010, it compiled fine yet I can not open the object in a webpage.Here are the pertinent lines of code from my C# class:namespace wmsSerialPorts
Ian
.net excel vba dll regasm
Okay so I’m trying to package a DLL being used by my spreadsheet with the excel file. My spreadsheet will be copied to different PC’s and used from different places and I’m trying to avoid having the user run regasm every time the worksheet (with the DLL) is copied to a new PC. I’ve resorted to doing a shell command to register the DLL with regasm on startup. Here is my code:Private Sub Workbook_BeforeClose(Cancel As Boolean)Dim strWinCmd As StringDim retVal As DoublestrWinCmd = “cmd.exe %System
Ries
c# com regasm
Using OLE/COM Viewer I get the following error (when expanding my registered class)CoGetClassObject failed. <No system message defined> severity: SEVERITY_ERROR, facility: <Unknown Facility> ($80131522)The COM Class is a C# class registered with RegAsm. What does this error mean?Edit:See http://www.dotnet247.com/247reference/msgs/24/124704.aspx for similar issue.
Web site is in building