[AccessD] vbSendMail - Using with Access

Mike & Doris Manning mikedorism at adelphia.net
Mon Mar 8 08:05:04 CST 2004


In addition to defining your class variable, you also have to set it
somewhere.

SET poSendmail = NEW vbSendMail.clsSendMail

Doris Manning
Database Administrator
Hargrove Inc.
www.hargroveinc.com


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of
paul.hartland at fsmail.net
Sent: Monday, March 08, 2004 8:29 AM
To: accessd
Subject: [AccessD] vbSendMail - Using with Access


To all,
 
I have the VBSendMail.dll which I normally use to send via via Visual Basic
6.0 applications, however I need to try using it with Access XP now, I have
copied all my code over and registered the VBSendMail.dll, but when I
compile my code I get the error message :
 
            User Defined Type Not Defined
 
And points me to this line:
 
            Public poSendmail As vbSendMail.clsSendMail
 
What am I missing has anyone used VBSendMail.dll with Access before, I have
told people to try using it as I thought it should work without a hitch.  
 
Any help greatly appreciated.
 
Paul Hartland
Freeserve AnyTime - HALF PRICE for the first 3 months - Save £7.50 a month 
www.freeserve.com/anytime
-- 
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list