>I can use the below in a form and it works just fine under the development environment. Once I compile and run it in the exe NOTHING happens!
>oWinZip = NEWOBJECT( "WinZipMgr", "WinZipMgr.prg")
>owinzip.AddFiles( destin, "company.* employ.* test.*")
>where destin="Z:\backup\backup.zip" && my zip drive
>
>I have a licensed copy of Winzip. When setting Debug on and running the exe through VFP, I can step through the process but it still doesn't zip the files?!! The files Process.vcx and WinZipMgr.prg are included in the exe.
>Any ideas???
>
>TIA
Probably it can't find the registry class when run from your exe, so it's unable to locate your copy of WinZip®. It's probably returning error 18, "Unable to create the Registry object". Try adding registry.vcx to your project and recompiling the exe. Registry.vcx in in the /ffc sub-directory of your VFP installation folder.
-Rick
Rick Borup, MCSD
recursion (rE-kur'-shun) n.
see recursion.