.net - Making a DLL COM accessible -


I have a class library written on the net. I think I want to make available for VB6 / VBA I am What I tried was not working (obviously I am asking this question) What have I done here:

  1. I created a class library project in Visual Studio 2010 Express and the code Put in the class module.
  2. I opened the project property and went to "Assembly Information" and checked "vs. com view"
  3. I have the "Advanced Compilation" option and Targeted Net 2.0 (this Very easy code) was gone.
  4. I then removed all the references for "system".
  5. I did not create the project (no alerts or errors) and copied DLF from bin folder to C: \ Windows \ System32 \
  6. RegSvr32 to register DLS Gone and got the error:

The module "MyDll.dll" was loaded, but the entry point DLLRegisterServer was not found.

Ensure that "MyDll.dll is a valid DLL or OCX file and try again.

Clearly my first attempt was a little naive. ?

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -