Posts

How to Protect Your Computer From Hackers

Image
How to Protect Your Computer From Hackers

How to Remove unwanted Things from Images URDU || HINDI

Image
How to Remove unwanted Things from Images URDU || HINDI Click on below video to continue....

Skin Clear and Makeup using Computer || Software

Image
Skin Clear and Makeup using Computer || Software Click on below video to watch....

How to write urdu in windows | Facebook | MS word | Power point etc

Image
Introduction : Now days in page is used for urdu writing but now days some times we have requirements to write urdu in Ms word , Ms excel and other applications like Facebook etc. Solution : You have to download two files Jameel Noori Nastaleeq (Font for windows)      Click here to download.... pak-urdu-installer (A plug in for windows for urdu writing in any software.)  Click Here to download... after downloading install the "Jameel Noori Nastaleeq" font just extract the files and right click to install as shown in picture. then you have to install "pak-urdu-installer" application after that restart your pc. after restarting open e.g. Ms word Software. Open font selection and select "Jameel Noori Nastaleeq font". (Hilighted in picture as number 1). then you have to change the windows Language to Urdu (as shown in picture numbered 2). Now when you type in ms word it will write urdu. Hope you have enjoyed this ti

Convert Aspx to PDF

Image
Introduction : Now days many reporting is done on asp.net page and many times we need to convert these pages to PDF file. below is simple solution. Suggested solution can convert following to PDF. Asp.net aspx page to PDF. PHP to PDF. (By hosting this code as separate web application)  HTML to PDF. URL to PDF and many more.... Solution : For this you have to include "wkhtmltopdf.exe" and some other files into your asp.net project.(These files are available in sample project attached.) After that you have to add a new page into your web application. this page just revive the URL of page to be converted into PDF. Code should be placed into pageload event of new added page and its simple.this page will convert the URL page into PDF file and download the PDF file on client system. Code : protected void Page_Load( object sender, EventArgs e) {         String URL = Request.QueryString[ "URL" ].ToString();         string args = string .Fo

Encryption / Decryption in C#

Image
Introduction: As as web Developer some times you need encryption and Decryption in c#. for this purpose a quick code snap is given below. Solution: C# Encryption Function: public static string Encrypt( string textToEncrypt, int key)     {         StringBuilder inSb = new StringBuilder (textToEncrypt);         StringBuilder outSb = new StringBuilder (textToEncrypt.Length);         char c;         for ( int i = 0; i < textToEncrypt.Length; i++)         {             c = inSb[i];                    if (c <= 32)             {                         }             else             {                 c = ( char )((c - key));                  }             outSb.Append(c);         }         return outSb.ToString();     } C# Decryption Function: public static string Decrypt( string textToEncrypt, int key)     {         StringBuilder inSb = new StringBuilder (textToEncrypt);         StringBuild