Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WINZIPMGR doesn't work in exe
Message
 
 
À
28/01/2003 19:10:53
Michael Ouellette
Australian Technical Services (VIC) Pty
Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00746490
Message ID:
00748367
Vues:
20
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform