get dll class

D

Developer

Hello All
I Create A Dll Class In VB6 And I Want To Use Its functions In Access XP But
Without
Set Is As A Reference So Can I Use The Create Object Methode To Create It As
An Object In My Form
As We Use The Create Object With Excel , If Yes What The Parameters Should
Be Given To THe Method And Thanks For Every One For This Help

Thanks Again
Rabea Khalil
 
P

Peter Doering

Developer said:
I Create A Dll Class In VB6 And I Want To Use Its functions In Access XP
But Without Set Is As A Reference So Can I Use The Create Object Methode
To Create It As An Object In My Form As We Use The Create Object With
Excel , If Yes What The Parameters Should Be Given To THe Method

The method you are looking for is called Late Binding, and it does not
require a stored reference as in Early Binding.

However, Late Binding is only available for classes listed in reqistry
under HKEY_CLASSES_ROOT. So the least you have to do is getting your DLL
registered using regsrv32.
 

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

Top