Does anyone knows how to embed a PKZIP.EXE into a form or OLE control and execute this file?
Printable View
Does anyone knows how to embed a PKZIP.EXE into a form or OLE control and execute this file?
If you want to zip something, use the Shell command to access PkZip and add you necassary parmaters.
Thank you for replying Megatron.
What if my user don't have Pkzip on their machine. How would you do it so it will automatically install. This why I need to embed it into the program and run it from the program.
I don't have PkZip so i don't know if this will work, but you can place it in an OLE file. When the Insert Object dialog comes up, find PkZip and add it. Then to run it, all you need to do is double click it.
If that doesn't work, you can always ship it with your app (if it's legal) or tell them where they can download it.