Saturday, April 30, 2011

The type initializer for "CrystalDecisions.CrystalReports.Engine.CRPE"

The type initializer for "CrystalDecisions.CrystalReports.Engine.CRPE"
threw an exception.
I got this error when I tried to deploy my 32x app in windows 7 32x for no appareant reason ,I have installed all the required runtimes for crystal report without any benefit.
So I kept googling around until I found the solution:
Just add CrystalDecisionsRedist2008_x86 merge module in your setup program

That's it

Wednesday, April 27, 2011

Parameter is not valid

Sometimes you get an error when using GDI+
Parameter is not valid
I happens when using a graphics class sometimes in paint procedure
SO the solution is infact multiple solutions ;Search for undisposed objects that should be disposed or Disposed objects that should not be disposed like (pen,Brush,Rectangle...etc)
Or sometimes in rectangle size or graphics configuration like compositionMode.HighQuality

Unable to copy file ****** The file ****is being used by another process

Unable to copy file ****** The file ****is being used by another process
A mysterious error occurs suddenly sometimes in visual studio for no appearant reason ,There is no other program using your application but this error appears.
Some advice to use a rebuild event (Some code) to move or delete the existing application.
To me I fixed this problem by closing the project window in the VS IDE designer before hitting run F5

Thursday, April 21, 2011

Encryption class

Recently I wanted to encrypt my password in PalmPos project ,So I found that the best way is to use Microsoft net framwork encryption class ,Unfurtunetly I haven't use this class before So I search a bit and found a good encryption class from www.codinghorror.com writen by Jeff Atwood

Monday, April 18, 2011

Inno setup

I was searching for a setup installer for Palms POS ,Because Microsoft visual studio does not support arabic installer so I think I will use Inno setup.
The only problem is that inno setup uses Pascal script and I do not know Pascal So I think this need a lot of work again.

Sunday, April 17, 2011

مرحبا بكم

مرحبا بكم
هذه المدونة هي موقع النخيل نقاط البيع الرسمي المؤقت الى حين ان يجهز الموقع الرسمي
سأقوم بنشر اخر الاخبار و التحديثات عن البرنامج في هذه المدونة
لذلك تابعوا معي كل جديد عن برنامج النخيل نقاط البيع