473,326 Members | 2,255 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

is this even possible

hey all,

is there a way to automatically go into my outlook, look for a specific
subject line, and extract the attached file to a location (i.e. desktop).

thanks,
rodchar
Nov 21 '05 #1
4 935
Hi Rodchar,
I have done that with Access using VBA. So answer with Dot Net is also Yes

You need to reference Outlook and work through the Outlook Object Model.
I did it some years back with Outlook 97. Since then Outlook security has
been tightened but that should only restrict sending.

Have a look on the MS Developer Network.
One problem that I ran into was attachments with the same file name.
Some old articles ID Q182614, Q180981.
Dot Net will vary somewhat and the Outlook Object Model will probably have
changed a bit.

Doug

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com...
hey all,

is there a way to automatically go into my outlook, look for a specific
subject line, and extract the attached file to a location (i.e. desktop).

thanks,
rodchar

Nov 21 '05 #2
Hi Rodchar,
I have done that with Access using VBA. So answer with Dot Net is also Yes

You need to reference Outlook and work through the Outlook Object Model.
I did it some years back with Outlook 97. Since then Outlook security has
been tightened but that should only restrict sending.

Have a look on the MS Developer Network.
One problem that I ran into was attachments with the same file name.
Some old articles ID Q182614, Q180981.
Dot Net will vary somewhat and the Outlook Object Model will probably have
changed a bit.

Doug

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com...
hey all,

is there a way to automatically go into my outlook, look for a specific
subject line, and extract the attached file to a location (i.e. desktop).

thanks,
rodchar

Nov 21 '05 #3
Hi,
To get around Outlook security prompts, use Redemption.
http://www.dimastr.com/redemption/
because you will get prompts simply by accessing the Inbox

--
HTH
Dan Artuso, Access MVP
"Doug Bell" <dug@bigpond> wrote in message news:Os**************@TK2MSFTNGP11.phx.gbl...
Hi Rodchar,
I have done that with Access using VBA. So answer with Dot Net is also Yes

You need to reference Outlook and work through the Outlook Object Model.
I did it some years back with Outlook 97. Since then Outlook security has
been tightened but that should only restrict sending.

Have a look on the MS Developer Network.
One problem that I ran into was attachments with the same file name.
Some old articles ID Q182614, Q180981.
Dot Net will vary somewhat and the Outlook Object Model will probably have
changed a bit.

Doug

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com...
hey all,

is there a way to automatically go into my outlook, look for a specific
subject line, and extract the attached file to a location (i.e. desktop).

thanks,
rodchar


Nov 21 '05 #4
Hi,
To get around Outlook security prompts, use Redemption.
http://www.dimastr.com/redemption/
because you will get prompts simply by accessing the Inbox

--
HTH
Dan Artuso, Access MVP
"Doug Bell" <dug@bigpond> wrote in message news:Os**************@TK2MSFTNGP11.phx.gbl...
Hi Rodchar,
I have done that with Access using VBA. So answer with Dot Net is also Yes

You need to reference Outlook and work through the Outlook Object Model.
I did it some years back with Outlook 97. Since then Outlook security has
been tightened but that should only restrict sending.

Have a look on the MS Developer Network.
One problem that I ran into was attachments with the same file name.
Some old articles ID Q182614, Q180981.
Dot Net will vary somewhat and the Outlook Object Model will probably have
changed a bit.

Doug

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com...
hey all,

is there a way to automatically go into my outlook, look for a specific
subject line, and extract the attached file to a location (i.e. desktop).

thanks,
rodchar


Nov 21 '05 #5

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

Similar topics

14
by: J. Makela | last post by:
Hallo. This should be a pretty entertaining question for you *real* javascript writers.. I, being the lowly photoshop guy at an ad agency made the mistake of actually saying "HTML" in a...
45
by: Serve Laurijssen | last post by:
Some people prefer to use "if (x & 1)" to see if a number is odd or even. Is this completely portable according to the standard?
2
by: David Krussow | last post by:
In a C#/code-behind ASP.NET application, I want to enable the user to view a few paragraphs. I want to enable the user to select a sentence (or an individual word) within the paragraph. By *select*...
1
by: John Dann | last post by:
Is it possible in VB.net to have arrays of structures (ie UDTs) where the structure definition includes one or more arrays? Something like: Structure MyUDT ItemOne () as byte 'for example sub...
37
by: Greg | last post by:
Except for legacy or non-.NET applications, is there any reason to use VC++ anymore? It seems that for .NET applications, there would be no reason to choose C++ over C# since C# is faster to...
1
by: Gene | last post by:
I would like to know if the following is even possible with the visual studio.net Setup and Deployment project. 1. During the deployment after creation of application directory the setup needs...
34
by: Frederick Gotham | last post by:
I'm trying to write extremely efficient, fully portable algorithms to determine if an integer is odd or even. The most basic algorithms would be: #define IS_ODD(x) ((x) % 2) #define IS_EVEN(x)...
11
by: justsome_newbie | last post by:
I'm wanting to create a simple program for my computer at home. I would like to keep my wireless network disabled and then only enable it when a certain program starts (internet explorer or...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.