so i want to have a record button when the user clicks it the system will start recording from the mic. and once the user finish recording then save it in a mp3 format file
That would be a big job if you wanted to "roll your own". I would be tempted to search for a component to handle the recording for you. http://www.nch.com.au/ would be a good starting point ;-)
__________________ IP Alarms - built with VB and ASP.net with a SQL Server back end. Alarm Monitoring - built with ASP.Net web services.