Click here to Skip to main content
15,881,248 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: creation of Web project setup in VS.NET 2005 without giving the source code to client. Pin
Braulio Dez13-Nov-07 3:37
Braulio Dez13-Nov-07 3:37 
GeneralRe: creation of Web project setup in VS.NET 2005 without giving the source code to client. Pin
Elena200613-Nov-07 18:56
Elena200613-Nov-07 18:56 
Questioncreation of Web project setup in VS.NET 2005 without giving the source code to client. Pin
Elena200613-Nov-07 1:57
Elena200613-Nov-07 1:57 
QuestionCould you please give me your advice Pin
abglorie13-Nov-07 1:30
abglorie13-Nov-07 1:30 
AnswerRe: Could you please give me your advice Pin
Colin Angus Mackay13-Nov-07 1:50
Colin Angus Mackay13-Nov-07 1:50 
AnswerRe: Could you please give me your advice Pin
N a v a n e e t h13-Nov-07 1:57
N a v a n e e t h13-Nov-07 1:57 
AnswerRe: Could you please give me your advice Pin
ballameharmurali13-Nov-07 17:57
ballameharmurali13-Nov-07 17:57 
Questionrenaming a file in disk through web application Pin
Sunil Wise13-Nov-07 1:27
professionalSunil Wise13-Nov-07 1:27 
yesterday Mr.John sir has helped me in one issue which is related to the same task
code---
else if (txtHospitalName.Text== "Medb" || txtHospitalName.Text== "Medw")
{ FileInfo thefile1 = new FileInfo(Server.MapPath("RtfFilesPath") + "\\voice\\" + txtOriginalName.Text.Trim() + ".wav");
if (thefile1.Exists)
{
File.Copy(Server.MapPath("RtfFilesPath") + "\\voice\\" + txtOriginalName.Text.Trim() + ".wav", Server.MapPath("RtfFilesPath") + "\\voice\\" + txtFilename.Text.Trim() + thefile1.Extension);
GetData();
}
hello frns
the above is the snippet of code i used in my application what i am doing is copying a file and saving it with the someother name its working fine, but the actual problem is i'll be having two types of files in my folder one is .mp3 and .wav .
so in the above code i am checking only the .wav file
note: i'll be entering only the name of the file without extension, there may be any one of the two filetypes.

what are the modifications/additions i have to make in my code to check for two types of file extensions

thanks for ur replies in advance

AnswerRe: renaming a file in disk through web application Pin
Michael Sync13-Nov-07 4:04
Michael Sync13-Nov-07 4:04 
GeneralRe: renaming a file in disk through web application Pin
Sunil Wise13-Nov-07 20:29
professionalSunil Wise13-Nov-07 20:29 
Questionhow to conver date time day from text datatype Pin
Piyush Vardhan Singh13-Nov-07 1:24
Piyush Vardhan Singh13-Nov-07 1:24 
AnswerRe: how to conver date time day from text datatype Pin
InsDev13-Nov-07 2:06
InsDev13-Nov-07 2:06 
AnswerRe: how to conver date time day from text datatype Pin
InsDev13-Nov-07 2:08
InsDev13-Nov-07 2:08 
QuestionForms authentication and HTTPS Pin
Martin Gibson13-Nov-07 1:13
Martin Gibson13-Nov-07 1:13 
Questionobject reference not set to an instance of object [modified] Pin
Member 387988113-Nov-07 1:10
Member 387988113-Nov-07 1:10 
AnswerRe: object reference not set to an instance of object Pin
Michael Sync13-Nov-07 1:49
Michael Sync13-Nov-07 1:49 
GeneralRe: object reference not set to an instance of object Pin
Member 387988113-Nov-07 2:00
Member 387988113-Nov-07 2:00 
GeneralRe: object reference not set to an instance of object Pin
Michael Sync13-Nov-07 4:00
Michael Sync13-Nov-07 4:00 
QuestionBirthday date problems Pin
matjame13-Nov-07 0:10
matjame13-Nov-07 0:10 
AnswerRe: Birthday date problems Pin
Sun Rays13-Nov-07 0:21
Sun Rays13-Nov-07 0:21 
GeneralRe: Birthday date problems Pin
matjame13-Nov-07 0:27
matjame13-Nov-07 0:27 
GeneralRe: Birthday date problems Pin
Sun Rays13-Nov-07 0:35
Sun Rays13-Nov-07 0:35 
GeneralRe: Birthday date problems Pin
matjame13-Nov-07 0:39
matjame13-Nov-07 0:39 
GeneralRe: Birthday date problems Pin
Sun Rays13-Nov-07 0:42
Sun Rays13-Nov-07 0:42 
GeneralRe: Birthday date problems Pin
matjame13-Nov-07 0:59
matjame13-Nov-07 0:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.