Compress database.sdf

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
charlyprouteau
Posts: 33
Joined: Wed Jan 23, 2013 2:01 am

Compress database.sdf

Post by charlyprouteau »

Is it possible to compress the database.sdf file on a win CE (Ta150, T7A) to a zip file for example?
Thanks for your answer.

User avatar
Edmund
Posts: 92
Joined: Thu Nov 29, 2012 2:27 pm

Re: Compress database.sdf

Post by Edmund »

Well if your target platform is a panel with Windows CE (e.g. TxA, TxB, TA150) then it will be a bit harder.

If I´m right there is no native support for compressing files in Windows CE / .Net Framework Compact Edition but there exists some external libraries for it.

DotNetZip is one of them (http://dotnetzip.codeplex.com/)

"Does the library work with applications that depend on the .NET Compact Framework?

Yes. DotNetZip is built for the .NET Compact Framework (v2.0) as well as for the regular .NET Framework. You can build a Smart Device application in Visual Studio 2008, that uses the capabilities of DotNetZip. "


BR.
Edmund Andersson

AITECH AB

Part of Beijer Integrator Group

Post Reply