hi through this code i am recording audios and listening locally but I am unable to record audios on online(production server).its showing empty file.recording not happening there. Please suggest me my code as follows protected void btnSaveStop_Click(object sender, EventArgs e) { shortPath = Server.MapPath("~/Audios/" + txtTag.Text + ".wav"); formatShortPath = string.Format("save recsound \"{0}\"", shortPath); mciSendString(string.Format("{0}", formatShortPath), null, 0, 0); mciSendString("save recsound ", "", 0, 0); mciSendString("close recsound ", "", 0, 0); Computer c = new Computer(); c.Audio.Stop(); }
modified on Friday, March 12, 2010 1:08 AM