steve_mills
asked on
emailing with winzip with vb50
I would like my users to select a button and on execution it will zip a file attach it to a new e-mail.
I am using winzip 8.1 outlook 98 and vb5.0
Any suggestion on how to achieve this.
Thanks
Steve
I am using winzip 8.1 outlook 98 and vb5.0
Any suggestion on how to achieve this.
Thanks
Steve
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
First, compress the file, wait until the file is generated, then use the 1st link that I posted to send attach and the mail.
To wait, you could do something like:
While Dir("C:\My Folder\GeneratedZipFile.zi p") = ""
DoEvents 'Send a pause
Wend
That's it!
glass cookie : )
To wait, you could do something like:
While Dir("C:\My Folder\GeneratedZipFile.zi
DoEvents 'Send a pause
Wend
That's it!
glass cookie : )
see this other free component for zipping at http://vbaccelerator.com/codelib/zip/zipvb.htm
a question about e-mailing is already active at https://www.experts-exchange.com/visualbasic/Q.20292494
a question about e-mailing is already active at https://www.experts-exchange.com/visualbasic/Q.20292494
ASKER
glass cookie
Having trouble passing info to the winzip code.
Could you send some code showing me how to pass varibale to the winzipit function.
Thanks
Steve
Having trouble passing info to the winzip code.
Could you send some code showing me how to pass varibale to the winzipit function.
Thanks
Steve
ASKER
Thanks for the info I know have enough info to go on with
Thanks
Steve
Thanks
Steve
Oops! Sorry for not replying to your previous post - I forgot about it since the last time I saw it.
Thanks for the points : )
That's it!
glass cookie : )
Thanks for the points : )
That's it!
glass cookie : )
Here's something for you over the net:
View code...
http://www.planetsourcecode.com/vb/scripts/ShowCodeAsText.asp?txtCodeId=5946&lngWId=1
Description: This code will send email through MS Outlook 98, (or the most current version on your computer), using MS Excel 7.0 or higher.
This will help you to attach and send a mail using outlook.
That's it!
glass cookie : )
PS. Wait till I get the winzip coding...