Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database packing
Message
From
22/11/1998 22:18:03
 
 
To
22/11/1998 20:54:59
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00160384
Message ID:
00160392
Views:
12
>VFP 5.0.
>I need to compress a database from VFP application. I did not find a best way, except calling ARJ.EXE by means of RUN command.
>However, Visual Foxpro opens FoxPro Run window over my application screen :(
>It's very ugly. Are there any ways to hide run window ? What free-domain sources or libraries with compression abilities can I use instead of DOS utilities ?

You can hide the Window by using an API call to launch it rather than using the RUN command. Both ShellExecute() and CreateProcess() are capable of doing this; I posted a FAQ entry in the Win32 API FAQ on doing that, and left a message in some detail in the past day or so describing the use of CreateProcess() in some detail.

You can use the LZ file compression API calls to decompress files that have been compressed with Microsoft's COMPRESS.EXE (it's part of VB, and off the top of my head, I don't know what the restrictions on redistribution are; files that have been compressed with COMPRESS can either use the DOS EXPAND command or the Setup API LZCopy family calls to extract them.) I'm not familiar with any free libraries with reliable, portable compression to integrate with VFP apps.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform