Calling an object from an object

  • Thread starter Thread starter Schu
  • Start date Start date
S

Schu

I have a project with 2 DLLs, one of which is supposed to
call the other, but I can't seem to get it to work. I am
doing the following:

1) The 2 DLL projects are set up as VB class projects and
their DLLs are compiled (build command).
2) The 2nd DLL is referenced from the first one.
3) The first DLL has the following line:
"Public oDB As New DBConnection.SQLConnect"
to initialize it and the autofill feature for the object
works in the code so I am sure the object is referenced
properly.

I combined the 2 DLLs to see if there was something I was
doing wrong with the commands or types but the code works
fine as long as I am not calling another DLL from a DLL.
I feel I am missing something obvious but I don't see it.
Can anyone tell me what I am missing?

Schu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top