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.
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.
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.
Sign in to post your reply or Sign up for a free account.
Similar topics |
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....
|
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...
|
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...
|
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...
|
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...
| |
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...
|
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...
|
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?
|
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)...
|
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.
|
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,...
| |
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...
|
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...
|
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...
|
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,...
|
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...
|
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...
| |
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...
|
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...
| |