Archive for the ‘Programming Tips’ Category

Create your own text to speech converter software to make your computer speak whatever you type. Steps 1. Open the Notepad. 2.Copy/Write the code as given below into the notepad. Dim message, sapimessage=InputBox(“What do you want me to say?”,”Speak to Me”)Set sapi=CreateObject(“sapi.spvoice”)sapi.Speak message 3. Save the file with any name with an extension .vbs 4. [...]

The Visual Studio 2010 has just been released, but have apparently been cracked or hacked, thanks to the generic master product key that been used by Microsoft to integrate into pre-activated Visual Studio 2010 Ultimate, Premium and Professional setup installers in ISO image formats, which is been released to MSDN subscribers, and some editions to [...]

1. Click “Start” then Click “Run” then type “cmd” and hit Enter.2. (Please ignore this step if you already logged on as administrator or alike)within the cmd window type “Runas /User:Administrator cmd” where Adminitrator is a user with an administrative privileges(under the administrators group) then it will prompt you for a password. type it and [...]

Interpolation (Resizing) of a Bitmap image

To Change the Sharpness of R, G,B values of a Pixel of the image

To Change the Contrast of R, G, B values of a Pixel of the image

To Change the brightness of a Pixel of the imag

To Change the Gamma of R, G,B values of a Pixel of the image

To Change the Saturation of R, G, B values of a Pixel of the image

#define BCHANNEL 0 #define GCHANNEL 1 #define RCHANNEL 2 unsigned char Clip(int iVal) { return ( iVal > 255 ? 255 : ( iVal < 0 ) ? 0 : iVal) ; } //Pixel Functions int GetValue(int iX, int iY, int iImageWidth, int iImageHeight, int iChannel, int iBPP, BYTE *pbySrc) { Clip(iX); Clip(iY); return pbySrc[iY [...]