Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / December 2005

Tip: Looking for answers? Try searching our database.

How to Zip Files from ms Access

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
h.khalid11@gmail.com - 11 Dec 2005 07:03 GMT
Dear all,

I have files in my computers and now want zip that files and send it by
email any one help me thanks
Khalid
salad - 11 Dec 2005 16:25 GMT
> Dear all,
>
> I have files in my computers and now want zip that files and send it by
> email any one help me thanks
> Khalid

You might want to check out the Shell() function.
salad - 11 Dec 2005 16:32 GMT
> Dear all,
>
> I have files in my computers and now want zip that files and send it by
> email any one help me thanks
> Khalid

Hmmmm... the shell function will help you in zipping a file.  Sending it
via e-mail is a another problem.

You might want to check out Tony Toews web site for the Email Faq.
http://www.granite.ab.ca/accsmstr.htm or
http://www.granite.ab.ca/access/email.htm

Next, you might want to go to
http://www.google.com/advanced_search?hl=en and enter something like
"Send Email Attachments" in the word search and *access* for the group.

Access allows you to send stuff via e-mail with the SendObject()
function but the objects sent are strictly Access objects.  No
attachments allowed.  So you need another method.
paii, Ron - 12 Dec 2005 13:58 GMT
I create and email zip files using a multi step process.

1) Create a text file listing the path and file names to zip
2) Use the following shell command to zip using WinZip

   Shell("c:\program files\winzip\winzip32 -min -a paths.zip @paths.txt")

   Note: go to the winzip site for command line options

3) Create email attaching the zip file
    You will need to add some form of pause between the shell
     and attach functions to give WinZip time to create the file.

> Dear all,
>
> I have files in my computers and now want zip that files and send it by
> email any one help me thanks
> Khalid
Benny Andersen - 14 Dec 2005 10:20 GMT
>I create and email zip files using a multi step process.
>
>1) Create a text file listing the path and file names to zip
>2) Use the following shell command to zip using WinZip
>
>    Shell("c:\program files\winzip\winzip32 -min -a paths.zip @paths.txt")
You could get trouble with access going to step 3 before winzip has
finished. Terry Kraft has made a shellwait funktion:
http://www.mvps.org/access/api/api0004.htm

>    Note: go to the winzip site for command line options
>
>3) Create email attaching the zip file
>     You will need to add some form of pause between the shell
>      and attach functions to give WinZip time to create the file.

--
Mvh Benny Andersen
John Mishefske - 14 Dec 2005 03:23 GMT
> Dear all,
>
> I have files in my computers and now want zip that files and send it by
> email any one help me thanks

Another option is the CGZibLibrary.DLL

 http://www.codeguru.com/vb/gen/vb_graphics/fileformats/article.php/c6743

Signature

'---------------
'John Mishefske
'---------------

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.