Archive for the 'tutorial' Category

How to Let iTextSharp work on DOTNET Compact Framework

Question,

I’m working on a project for pokect pc and I need to know how to use the iTextSharp API in the compact framework. Is it posible to do? or What changes can I do for making usefull the API in the compact framework?

Answer,
The compact framework is not supported but it doesn’t mean that it doesn’t work. The bouncycastle part already supports the compact framework and iTextSharp itself will need minor tweaks, see here for details.

About the iTextSharp Compact Framework 2.0 Patch,

just added compatibility for .NET Compact Framework 2.0. Attached archive
contains patchfile, VS2005 smartdevice project and two additional
compatibility classes.

Paulo, would be nice to see this in CVS; the patch was created for 4.0.1
but seems to work ok for 4.0.2 as well.
Laters,
Marco

Download iTextSharp Compact Framework 2.0 Patch here.

From:http://old.nabble.com/About-compact-Edition-td20190843.html

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • blogmarks
  • blogtercimlap
  • connotea
  • DotNetKicks
  • Fark
  • Fleck
  • Gwar
  • Haohao
  • IndianPad
  • Internetmedia
  • LinkaGoGo
  • MyShare
  • Netscape
  • NewsVine
  • Rec6
  • Reddit
  • Scoopeo
  • Slashdot
  • StumbleUpon
  • Technorati
  • Webride

How to fix pclzip_err_bad_format issue when automatically update Piwik

Piwik 0.5.2 out, but when you try to automatically update it, you still meet pclzip_err_bad_format error. I do not want to manually update it every time, so I decide to find out the issue, from the keyword, “pclzip_err_bad_format”, I think maybe something wrong with PclZip.
The version of PclZip in Piwik is 2.8, but the last version of PclZip is 2.8.2, so I download the last version PclZip, unzip and replace the old version in Piwik, then the issue is gone.
the step in details is,
download the last version PclZip , or you can download it from here directly,

  • wget http://stat.steedsoft.com/pclzip-2-8-2.tgz
  • tar -zxfv pclzip-2-8-2.tgz
  • cp piwik/libs/PclZip/pclzip.lib.php piwik/libs/PclZip/pclzip.lib.php.org
  • cp pclzip.lib.php piwik/libs/PclZip/pclzip.lib.php
  • do the automatically update now.

P.S.
I think I had better suggest Piwik team to update PclZip, so every can easily update Piwik from next version.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • blogmarks
  • blogtercimlap
  • connotea
  • DotNetKicks
  • Fark
  • Fleck
  • Gwar
  • Haohao
  • IndianPad
  • Internetmedia
  • LinkaGoGo
  • MyShare
  • Netscape
  • NewsVine
  • Rec6
  • Reddit
  • Scoopeo
  • Slashdot
  • StumbleUpon
  • Technorati
  • Webride

Piwik 0.5 auto update script still reports pclzip_err_bad_format issue

Please visit How to fix pclzip_err_bad_format issue when automatically update Piwik

through my Piwik statics, I noticed many keywords focus on “pclzip_err_bad_format”, then I noticed Piwik 0.5 releases.
When I tried automatically update Piwik, I got the same issue with Piwik 0.45.
And I decided upgrade Piwik manually this time.
using ssh to login my host
download Piwik 0.5
wget http://piwik.org/latest.zip
back up config.ini.php
cp piwik/config/config.ini.php .
use the Piwik 0.5 replace the old version
unzip latest.zip
browser my Piwik website and finish the upgrade.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • blogmarks
  • blogtercimlap
  • connotea
  • DotNetKicks
  • Fark
  • Fleck
  • Gwar
  • Haohao
  • IndianPad
  • Internetmedia
  • LinkaGoGo
  • MyShare
  • Netscape
  • NewsVine
  • Rec6
  • Reddit
  • Scoopeo
  • Slashdot
  • StumbleUpon
  • Technorati
  • Webride