Handling Zip Attachements

G

Guest

Hi All,

This is my task within Outlook: -

1. Save zip attachment
2. Extract Zip contents to specific folder

Is this possible?
I have code to save the attachement but I dont know if its possible to
manage zip files?

Any help would be very gratefully recieved.

PaulW
 
R

Roady [MVP]

Extracting the zip-files isn't Outlook functionality. Are you doing this by
VBA? Then you'll need to see if the object model of your unzip application
allows you to do it.
 
G

Guest

Hi Robert

thanks for the reply, im using win xp pro with outlook 2003 writing in vba.

When you open the attachem,ent it opens in windows exploer compressed folders.

Any ideas?

Roady said:
Extracting the zip-files isn't Outlook functionality. Are you doing this by
VBA? Then you'll need to see if the object model of your unzip application
allows you to do it.

--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003


-----
PaulW said:
Hi All,

This is my task within Outlook: -

1. Save zip attachment
2. Extract Zip contents to specific folder

Is this possible?
I have code to save the attachement but I dont know if its possible to
manage zip files?

Any help would be very gratefully recieved.

PaulW
 
R

Roady [MVP]

You'll need to add the reference to the Windows API and then find out how it
all works. You'll might find something usefull here;
http://www.eggheadcafe.com/aspnet_answers/VisualBasicwinapi/Mar2006/post26232686.asp

Once you've figured out how it works it doesn't matter where you run the
code (Outlook, Word, any other application...) as long as you add the
reference.

--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003


-----
PaulW said:
Hi Robert

thanks for the reply, im using win xp pro with outlook 2003 writing in
vba.

When you open the attachem,ent it opens in windows exploer compressed
folders.

Any ideas?

Roady said:
Extracting the zip-files isn't Outlook functionality. Are you doing this
by
VBA? Then you'll need to see if the object model of your unzip
application
allows you to do it.

--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003


-----
PaulW said:
Hi All,

This is my task within Outlook: -

1. Save zip attachment
2. Extract Zip contents to specific folder

Is this possible?
I have code to save the attachement but I dont know if its possible to
manage zip files?

Any help would be very gratefully recieved.

PaulW
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top