borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Next Topic (How to Create Report in Excel) New Topic New Poll Post Reply
AndreaVB Forum : VBA (Access, Excel, Word, ...) : Using Outlook in Access VBA Solved Topic
Poster Message
bolendercm
Level: Scholar


Registered: 25-10-2005
Posts: 41

icon Using Outlook in Access VBA

I have a Access Program that tracks daily job orders.  I developed the program on my Access located on my C drive.  When a job order is entered I have a command buttom at bottom of form.  I click that button and an e-mail is sent.  I also have create task buttom on bottom of form which creates a task to a receipient.  All that works fine.  My problem is when I moved the Job Order program to the X drive on our server I cannot get outlook to open.  What am I doing wrong.

C

____________________________
C.......................

13-02-2008 at 06:55 PM
View Profile Send Email to User Show All Posts | Quote Reply
bolendercm
Level: Scholar


Registered: 25-10-2005
Posts: 41
icon Re: Using Outlook in Access VBA

I fixed my own problem.  Where ever you move your Access VBA Program to, you have to into references and click the Microsoft Outlook 11.0 Object Library.  You will find the "References" in the VB window of you code under "Tools".  Hope this helps some in the future.

C

____________________________
C.......................

13-02-2008 at 08:58 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VBA (Access, Excel, Word, ...) : Using Outlook in Access VBA Solved Topic
Next Topic (How to Create Report in Excel) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder