Tags: access, automation, class, database, doingthis, email, microsoft, mysql, ofthe, oracle, outlook, reference, security, sending, sql, standard, vbmodule

Class Problem

On Database » Microsoft Access

659 words with 0 Comments; publish: Sun, 30 Dec 2007 23:57:00 GMT; (25064.45, « »)

I was sending email through Outlook using automation. I was doing

this with a standard vbmodule and a reference to Outlook. Because of

the security changes in Outlook I decided to move to another method.

I found a dll on the web to send mail and it even had VBA class module

example.

To make a long story short when I create a new instance of this class

and then use it to send mail the form which instanciates the class

object is still active. It's as if the code in the class is running

independently... I don't want that behavior. Is there anyway to stop

that or should I just go back to using a standard module?

All Comments

Leave a comment...

  • 0 Comments