Unable to register .net COM DLL -


i have registered .net com dll using regasm tool , registration successful. says 'type registered successfully'. when open registry cannot see dll there. searched using both progid & clsid not there.

i registered dll in same way , got registered , able access vb6 dll.

what problem be. wrong dll? set project properties both dlls in same way , 1 seems got registered successfully.

i supposed test dll accessing existing vb6 tool , unable start it.

thanks

nishitha

use regasm.exe /regfile option. create reg file containing entries going created when registering assembly.

if file not contain entries, assembly not export com types. need make sure either flag make assembly com visible option in project properties or use [comvisible(true)] attribute on respective types.

if on 64-bit system, make sure using correct version of regasm there separate versions 32-bit , 64-bit:

  • %systemroot%\microsoft.net\framework\<framework version>\regasm.exe
  • %systemroot%\microsoft.net\framework64\<framework version>\regasm.exe

Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -