473,654 Members | 2,990 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

outlook: can't get started

Experienced, but first time outlook programmer asks...

Each day I get an e-mail containing a gzipped tar archive as an attachment.
I'd like an automated way to (1) save the archive as-is in a particular
folder and (2) unpack the archive with gunzip & tar, either directly from the
mail message or from its saved location in step 1.

Sorry to ask such a vague question, but there seem to be a zillion ways to
think about doing this--outlook custom action, vba from inside outlook, .net
from outside outlook--and I need some direction on which way to go.

Completely unattended operation would be nice. It would be nice to trigger
on arrival of the message, but as the archive arrives at a predictable time
I'd also be satisfied to trigger on time of day.

Thanks for insight & direction,
Eric

Jul 21 '05 #1
1 1867
Eric,
There are lots of options to do what you want. Here are a number of links
that may help you.

Rather then tie myself to Outlook, I would consider creating a Windows
Service that can run in the background unattended. If I had Exchange Server,
I would consider running it on a server box, so a client PC would not need
to be running. You can still run a Windows Service on a client PC, I would
have it log in under my normal login account. Not sure if the OOM (Outlook
Object Model) will work, however CDO 1.2.1 does. With Exchange Server there
are other technologies available instead of CDO 1.2.1...

An alternative to a Windows Service would be to create a standalone program
that Task Scheduler started that used OOM to look for the file & process it.

For a discussion on selecting development technologies for Exchange Server,
start here:

http://msdn.microsoft.com/library/de...hsel_intro.asp

To avoid the Outlook security prompts its generally easiest to create a
properly constructed COM-Addin for Outlook 2003. There are other methods
available for other versions of Outlook...

See:
http://msdn.microsoft.com/library/de...scomaddins.asp

Further info can be found at:
http://www.slipstick.com/dev/ol2003problems.htm
http://www.slipstick.com/outlook/esecup/admin.htm
For a list of resources on using Outlook from VB.NET & C#:
http://www.microeye.com/resources/res_outlookvsnet.htm

For help & information on programming Outlook (mostly VB6, some VB.NET):
http://www.outlookcode.com/

Some samples of using Outlook with VB.NET:
http://msdn.microsoft.com/office/def...OLOMwVBNET.asp

A sample COM Add-in for Outlook written in VB.NET:
http://msdn.microsoft.com/library/de...hatsNew2k3.asp

Hope this helps
Jay
"Eric Nelson" <Er********@dis cussions.micros oft.com> wrote in message
news:E5******** *************** ***********@mic rosoft.com...
Experienced, but first time outlook programmer asks...

Each day I get an e-mail containing a gzipped tar archive as an
attachment.
I'd like an automated way to (1) save the archive as-is in a particular
folder and (2) unpack the archive with gunzip & tar, either directly from
the
mail message or from its saved location in step 1.

Sorry to ask such a vague question, but there seem to be a zillion ways to
think about doing this--outlook custom action, vba from inside outlook,
.net
from outside outlook--and I need some direction on which way to go.

Completely unattended operation would be nice. It would be nice to trigger
on arrival of the message, but as the archive arrives at a predictable
time
I'd also be satisfied to trigger on time of day.

Thanks for insight & direction,
Eric

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
290
by: Eric Nelson | last post by:
Experienced, but first time outlook programmer asks... Each day I get an e-mail containing a gzipped tar archive as an attachment. I'd like an automated way to (1) save the archive as-is in a particular folder and (2) unpack the archive with gunzip & tar, either directly from the mail message or from its saved location in step 1. Sorry to ask such a vague question, but there seem to be a zillion ways to think about doing this--outlook...
4
1768
by: damian | last post by:
Help! I created a COM addin using vb.net based on the KB article 302896 (http://support.microsoft.com/default.aspx?scid=kb;en-us;302896). The problem is Outlook remains in memory when after it. I know the problem is in the OnStartupComplete function. If I comment this function out, Outlook closes properly. I have added a GC.Collect at the end, but that doesn't work either. I don't thing the "oCommandBars = Nothing" is actually getting...
1
356
by: Eric Nelson | last post by:
Experienced, but first time outlook programmer asks... Each day I get an e-mail containing a gzipped tar archive as an attachment. I'd like an automated way to (1) save the archive as-is in a particular folder and (2) unpack the archive with gunzip & tar, either directly from the mail message or from its saved location in step 1. Sorry to ask such a vague question, but there seem to be a zillion ways to think about doing this--outlook...
1
276
by: Eric Nelson | last post by:
Experienced, but first time outlook programmer asks... Each day I get an e-mail containing a gzipped tar archive as an attachment. I'd like an automated way to (1) save the archive as-is in a particular folder and (2) unpack the archive with gunzip & tar, either directly from the mail message or from its saved location in step 1. Sorry to ask such a vague question, but there seem to be a zillion ways to think about doing this--outlook...
0
8375
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8290
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,...
0
8815
Oralloy
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...
1
8482
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6161
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5622
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();...
0
4149
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4294
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2714
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.