[AccessD] OT: Programming in Outlook :-)

Bruce Bruen bbruen at bigpond.com
Wed Jun 18 09:47:45 CDT 2003


Option Explicit
Dim ProcNewMail As Boolean

Private Sub Application_NewMail()
    Dim mItem As MailItem
    Dim ns As NameSpace
    
    If Not ProcNewMail Then Exit Sub
    Call Application.Uninstall("Outlock","Now", "No I dont want to think
about it")
    
End Sub

Private Sub Application_Startup()
'This is to defuse the newmail process  only while in development
'Set to true in final version
    ProcNewMail = False
End Sub




-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby
Sent: Wednesday, June 18, 2003 10:24 PM
To: AccessD
Subject: [AccessD] OT: Programming in Outlook


Does anyone out there know how to set up an "autoexec macro" (as we know
it in Access) that executes automatically when outlook opens?  I am
trying to do a little simple stuff in Outlook and don't even know how to
do the basics.  Rename modules / classes, get my program to start up and
operate when Outlook opens etc.

John W. Colby
www.colbyconsulting.com


_______________________________________________
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