John W. Colby
jwcolby at colbyconsulting.com
Thu Apr 22 07:32:42 CDT 2004
You must use a class to host withevents. Dim WithEvents the variable that
references the dll. Then create the event stubs in the class. That's the
gist of it.
John W. Colby
www.ColbyConsulting.com
-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of
paul.hartland at fsmail.net
Sent: Thursday, April 22, 2004 8:11 AM
To: accessd
Subject: [AccessD] VB6 DLL Help Required
To all,
Been playing with creating my own DLLs today using Visual Basic 6 and I
eventually created one to send an email using the vbSendMail.dll which works
a treat. But now I want to use the withevents part of the vbSendMail.dll
which will return the following:
Email Sent Ok
Email Failed
Email Staus
Can I put a form inside a dll or do I somehow have to return the appropriate
message to the calling application, if so how will I do this, has anyone any
ideas on this?
Paul Hartland
Join the UK's number one for the internet
www.freeserve.com/time
--
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com