VB COM Component in c#.net

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Matthew (mhjohn_at_(removethis).lsuhsc.edu)
Date: 03/19/04


Date: Fri, 19 Mar 2004 11:55:04 -0600

We are trying to use a VB COM Component in c# that access a database and
reads in a database and decrypts passwords using CAPICOM.

It is very easy to make reference to a DLL in c#, even one that calls
another DLL and passes by reference.

Our problem is that we are either unable to access the database from the DLL
or unable to use CAPICOM from the DLL. Referencing the DLL does
automatically add a reference to ADODB (the original uses ADO v7). It
doesn't, however, make reference to CAPICOM.

Do you know where our problem might lie?



Relevant Pages

  • Re: adding a C# dll to a VB .Net app
    ... > A contractor has built us a database application in VB dotNet. ... > has included a DLL which was written in C# to provide a VirtualListView ... You should just be able to reference the compiled dll in the add ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Accessing a dll from within Access
    ... If it's a .Net DLL you can't call it. ... other COM DLL and you can set a reference (Code window> Tools> ... My company has a database which I need to read from my database now ...
    (comp.databases.ms-access)
  • VB FAQs (Interview Questions) lot lot
    ... Consider two objects, A and B. A holds a reference to B, ... Why do so many example programs not use the DLL name ... Private Declare Function SendMessage Lib "user32" ... Private Const BUFFER_LENGTH As Long = 255 ...
    (microsoft.public.dotnet.languages.vb)
  • cdt glossary 0.1.4
    ... This glossary seeks to limit lengthy misunderstandings ... basic database research and mathematics. ... When context matters, it is provided. ... It is /not/ the same as a reference. ...
    (comp.databases.theory)
  • Re: I found the problem.
    ... manually relinking tables works and it opens fine if I've done a compact before reopening. ... Old database is working just fine with the "Microsoft Office 14 Access ... Data Object Engine" reference. ...
    (comp.databases.ms-access)