I created and access application that sends e-mails automaticaly to our
clients, over 1.500 e-mails daily.
I am using the MS Outlook components to create the e-mail with HTML code.
All works fine if the MS Outlook is open, but if the MS Outlook is closed,
the program is unable to send more than 4 or 5 e-mails.
I wish to add a initialising function which checks if the MS Outlook is open
and if it isn't open it.
Can somebody help me ? I think that it could be done with an API function,
but I don't know.
If I detect that it is closed, and I open, with a shell instruction for
example, can I detect when it is fully opened ?
Thank to all !
Jordan Gomila 3 6572
Jordan
I cannot help you with your question but perhaps you can help me. I would
like to send a emails to the person whos form is loaded is this sort of
thing you are doing, any advice on this is most welcome.
Thank You
Colin
Jordan <jg*****@bonnin sanso.com> wrote in message
news:bl******** **@nsnmrro2-gest.nuria.tele fonica-data.net... I created and access application that sends e-mails automaticaly to our clients, over 1.500 e-mails daily.
I am using the MS Outlook components to create the e-mail with HTML code.
All works fine if the MS Outlook is open, but if the MS Outlook is closed, the program is unable to send more than 4 or 5 e-mails.
I wish to add a initialising function which checks if the MS Outlook is
open and if it isn't open it.
Can somebody help me ? I think that it could be done with an API function, but I don't know.
If I detect that it is closed, and I open, with a shell instruction for example, can I detect when it is fully opened ?
Thank to all !
Jordan Gomila
Many thanks for your help, and sorry if I don't have time to check 4000
messages in this NG.
I looked for in the web, but I didn't know the name of the function.
"Pieter Linden" <pi********@hot mail.com> escribió en el mensaje
news:bf******** *************** ***@posting.goo gle.com... There's code at Access Web... www.mvps.org/access
you might use fIsAppRunning.. .
see http://www.mvps.org/access/api/api0007.htm
check this NG... this question has been asked many times before... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: lauren quantrell |
last post by:
Is there a way to open the MS Outlook address book using VBA and then
be able to do something with the return value?
I want users to click an icon to open the Outlook address book then
when an address is selected, populate an Access field with the address.
Is this remotely possible?
Thanks,
lq
|
by: Steve B. |
last post by:
Now that I found the Outlook public folder containing an existing
calendar, how do I open it ?
************************
Application olApp = new ApplicationClass();
NameSpace olNS = olApp.GetNamespace("MAPI");
MAPIFolder oFolder
= olNS.GetDefaultFolder(.OlDefaultFolders.olPublicFoldersAllPublicFolders);
|
by: Barkster |
last post by:
I'm trying to send using outlook but I get an error on the directcast line
if I don't have outlook open. Works fine if it is open. What do I need to
do to be able to send without having outlook open? Thanks
Dim objOutlook As New Outlook.Application
Dim objMail As Outlook._MailItem =
DirectCast(objOutlook.CreateItem(Outlook.OlItemType.olMailItem),
Outlook._MailItem)
|
by: Bill Nguyen |
last post by:
How can I check if an Outlook instance is running on a client PC. If it is,
I want to use it to send mail (not creating a new instance).
Thanks
Bill
|
by: J |
last post by:
I have installed dotnet 2.0 on two machines with Outlook BCM, and both have
caused problems with BCM loading. The first i restored the machine to before
the dotnet 2.0 was installed, and the second i removed BCM after which
Outlook opened fine. Is there a patch for this? If there is can i bundle it
with my app? App is coded with DotNet 2.0 VB
Thank you - Ed
| |
by: jacc14 |
last post by:
Please can anyone help.
I am trying to add a button to a form which will pick up an email address, launch outlook, place the address in "Sendto" field and then let me manually type a letter.
I have always used the code below but this only works for sending a message then closing outlook having sent an automated message. I need it to keep outlook open.
I am really a self taught novice at this and only found the code by chance and sure...
|
by: ARC |
last post by:
In case anyone has ran into this yet. The following code used to work with
older versions of the MS Outlook library, but would error out in 2007:
Dim objOutlook As Outlook.Application
Dim objOutlookMsg As Outlook.MailItem
Dim objOutlookRecip As Outlook.Recipient
Dim objOutlookAttach As Outlook.Attachment
Set objOutlook = CreateObject("Outlook.Application")
' Create the message.
Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
|
by: napstar |
last post by:
I have an application which emails out files periodically using Outlook,but if Outlook is closed the emails remain in the Outbox until Outlook is opened again.
How do I get Outlook to remain open until the Outbox is empty?
Need help
public void chkIF_There_Is_Mail()
{
while (oOutboxFolder.Items.Count > 0)
{
|
by: burtleed |
last post by:
Does anyone know of a way to create a small script or exe to check my outlook email parse it and find a url and go to the url a download a zip file on the site to my desktop?
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |