Tuesday, December 25, 2007


System.Data.SQLite is used to connect the SQLite ..but it is not a built in namespace....it is downloaded from third party...here i am not able to attach the dll

Sunday, December 23, 2007

ImageMagick C#.NET

I have posted the ImageMagick using C#.NET....Pls read this

Here Release build for ImageMagick DLL and useful discussions....

Google Gear in ASP.NET

Google introduced the offline support for web apps..


There are many ways to approach offline web applications. The Gears team believes in the open web and the simple technologies it is built on, and we didn't want to change that. So Gears is an incremental improvement to the web as it is today. It adds just enough to AJAX to make current web applications work offline.


Record Sound in ASP.NET


Add the below API
[DllImport(”winmm.dll”, EntryPoint = “mciSendStringA”, CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)]
private static extern int mciSendString(string lpstrCommand, string lpstrReturnString, int uReturnLength, int hwndCallback);

Create three Buttons and given the below name and text for the buttons.

1. Record
2. SaveStop
3. Read

1. Under Record Button Click paste the below Code:

// record from microphone
mciSendString(”open new Type waveaudio Alias recsound”, “”, 0, 0);
mciSendString(”record recsound”, “”, 0, 0);

2. Under Save / Stop button Click,

// stop and save
mciSendString(”save recsound c:\\record.wav”, “”, 0, 0);
mciSendString(”close recsound “, “”, 0, 0);
Computer c = new Computer();

3. Under Read Button Click

Computer computer = new Computer();
computer.Audio.Play(”c:\\record.wav”, AudioPlayMode.Background);

Save option is only access the Root Folder