I'm using VBSendMail.dll to send mails but i wanna code a function under my modules to send emails. However when i try to declare
Private WithEvents poSendMail As vbSendMail.clsSendMail
I get a "only valid in Object module Error" compile error.
The dll uses withevents which catches any errors, so i need it for checking errors.
Any ideas on what i can do?
Thanks
Private WithEvents poSendMail As vbSendMail.clsSendMail
I get a "only valid in Object module Error" compile error.
The dll uses withevents which catches any errors, so i need it for checking errors.
Any ideas on what i can do?
Thanks