A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

get dll class



 
 
Thread Tools Display Modes
  #1  
Old December 30th, 2007, 09:56 AM posted to microsoft.public.access.forms
Developer[_2_]
external usenet poster
 
Posts: 14
Default get dll class

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



  #2  
Old December 30th, 2007, 11:20 AM posted to microsoft.public.access.forms
Peter Doering
external usenet poster
 
Posts: 23
Default get dll class

Developer wrote:

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.

--
Peter Doering [MVP Access]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.