473,486 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Error Application-defined or object-defined error 287 when opening outlook in access

8 New Member
After finally completing my database I was ready to transfer it to our client, but when the access database was opened, everything works great, except for the SEND_EMAIL part, whenever any code that has to do with opening outlook I get a error, [Error Application-defined, or Object-defined error / 287]. I panic, so I try it on another computer and the same thing happened. After further investigation I realize that on both machine outlook wasn't set up yet, meaning no account existed. My only question is can that fact cause the error, because the code works perfectly in my machine.
Mar 31 '08 #1
2 8794
mshmyob
904 Recognized Expert Contributor
That could be the reason. That error has to do with not being able to access outlook by a number of reasons including permissions.

I am assuming you have Outlook on your machine and that is why it works.

cheers,

After finally completing my database I was ready to transfer it to our client, but when the access database was opened, everything works great, except for the SEND_EMAIL part, whenever any code that has to do with opening outlook I get a error, [Error Application-defined, or Object-defined error / 287]. I panic, so I try it on another computer and the same thing happened. After further investigation I realize that on both machine outlook wasn't set up yet, meaning no account existed. My only question is can that fact cause the error, because the code works perfectly in my machine.
Mar 31 '08 #2
LeoK
8 New Member
Hey I finally realize what was wrong, for some reason, any code that attempts to access outlook from access will get the some error. I actually have to open up outlook when I first start window, then I can send the email without the error, I didn't notice this becuase I hadn't shut down my computer for about a month, only hibernated.
Apr 1 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

8
2113
by: BMM | last post by:
Hi. I have a dumb question. Is a database an application? And, in the context of a data-driven web-enabled application, is the database still an application? I have a project lead who says it is....
4
1822
by: Vilmar Brazăo de Oliveira | last post by:
HI, Does Anybody know why the routine bellow is decreasing on session_onend event?? In my index.asp i have this statements: <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% Option Explicit...
0
1028
by: sameer | last post by:
Hi All, We had developed a .Net application which has the following environment Uses the No touch deployment concept Uses framework 1.1 on client and server machine, Visual studio 2003, Sql...
2
1627
by: sameer | last post by:
Hi All, We had developed a .Net application which has the following environment Uses the No touch deployment concept Uses framework 1.1 on client and server machine, Visual studio 2003, Sql...
0
1005
by: sameer | last post by:
Hi All, We had developed a .Net application which has the following environment Uses the No touch deployment concept Uses framework 1.1 on client and server machine, Visual studio 2003, Sql...
43
2792
by: Davey | last post by:
I am planning on developing an application which will involve skills that I have very little experience of - therefore I would appreciate comments on my initial design thoughts. Overview on...
2
3834
by: Jacek Jurkowski | last post by:
Could anybody help me to write proper code to restart my application? public static void OnRestartRequest() { ... } Restart is needed after exception handled and may occur anytime in...
3
15008
by: inpreet | last post by:
I am trying to build a console application in C#.Net. This application is suppose to run in background without user interaction. How can I hide console to appear?
1
3014
by: Bernd Muent | last post by:
Hi together, I am using the following code in Visual Basic to open Word or Excel applications: Word: Dim w As Word.Application w = CType(CreateObject("Word.application"), Word.Application)...
6
1750
by: farmer | last post by:
Compiler Error Message: CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement And: (int)Application++; Makes no sense.
0
7105
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6967
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7180
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7341
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5439
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4870
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4564
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3076
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
266
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.