i am making a software in vb6 i wnat that the file should be zipped automatically

i have coded

hi ashwin

happy 2000

well first of all let me thank you for all the cooperation. i am sending you
the code for the shell command let me know if the app.path works i would me really thenkful

Dim retval
retval = Shell("c:\itchain\pkzip.exe c:\itchain\ c:\itchain\itchain.mdb", vbHide)

the problem here is that if the person instals in other directory than then the c:\pkzip and the c:\itchain\itchain.mdb is not found

can app.path be used

please help fast

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

This is a duplicate question. Delete it please...
Why don't you use VB to zipp the file instead of pkzip.
try using a OCX control or dll like a addZip/addUnzip

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
This question is identical to question #10262530: 
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.