Click here to Skip to main content
15,894,180 members
Home / Discussions / C#
   

C#

 
AnswerRe: Using ConfigurationManager.AppSettings as a constant Pin
sedatkurt11-Nov-07 22:49
sedatkurt11-Nov-07 22:49 
GeneralRe: Using ConfigurationManager.AppSettings as a constant Pin
thestonefox11-Nov-07 22:55
thestonefox11-Nov-07 22:55 
GeneralRe: Using ConfigurationManager.AppSettings as a constant Pin
sedatkurt11-Nov-07 23:05
sedatkurt11-Nov-07 23:05 
AnswerRe: Using ConfigurationManager.AppSettings as a constant Pin
Justin Perez11-Nov-07 22:52
Justin Perez11-Nov-07 22:52 
GeneralRe: Using ConfigurationManager.AppSettings as a constant Pin
thestonefox11-Nov-07 22:55
thestonefox11-Nov-07 22:55 
AnswerRe: Using ConfigurationManager.AppSettings as a constant Pin
DavidNohejl11-Nov-07 23:07
DavidNohejl11-Nov-07 23:07 
AnswerRe: Using ConfigurationManager.AppSettings as a constant Pin
Rajasekharan Vengalil11-Nov-07 23:20
Rajasekharan Vengalil11-Nov-07 23:20 
Questionfileinfo class [modified] Pin
Sunil Wise11-Nov-07 22:33
professionalSunil Wise11-Nov-07 22:33 
FileInfo thefile = new FileInfo(MapPath("RtfFilesPath") + "\\" + txtOriginalName.Text);
if (thefile.Exists)
{
File.Copy(MapPath("RtfFilesPath") + "\\" + txtOriginalName.Text, MapPath("RtfFilesPath") + "\\" + txtFilename.Text);
}

this is the snippet i am using in my code this is working fine but it is expecting me to type the whole filename with extension.can anybody suggest me what to do to if i want to ignore the extension of the file for the original filename which is in the txtOriginalName.text
iwant to give only the filename before the . in the textboxes

regards

sunilwise


-- modified at 4:58 Monday 12th November, 2007
AnswerRe: Is License Required Pin
Michael Sync11-Nov-07 22:33
Michael Sync11-Nov-07 22:33 
GeneralRe: Is License Required Pin
Michael Sync11-Nov-07 22:43
Michael Sync11-Nov-07 22:43 
QuestionCombobox Selected Value Pin
M. J. Jaya Chitra11-Nov-07 21:56
M. J. Jaya Chitra11-Nov-07 21:56 
AnswerRe: Combobox Selected Value Pin
Michael Sync11-Nov-07 22:12
Michael Sync11-Nov-07 22:12 
GeneralRe: Combobox Selected Value Pin
M. J. Jaya Chitra11-Nov-07 22:42
M. J. Jaya Chitra11-Nov-07 22:42 
GeneralRe: Combobox Selected Value Pin
Michael Sync12-Nov-07 0:52
Michael Sync12-Nov-07 0:52 
Questionhow to add webreferences dynamically in C#.net Pin
christefer11-Nov-07 21:36
christefer11-Nov-07 21:36 
AnswerRe: how to add webreferences dynamically in C#.net [modified] Pin
Pankaj - Joshi11-Nov-07 21:45
Pankaj - Joshi11-Nov-07 21:45 
QuestionShowing Images Pin
kingletas11-Nov-07 20:32
kingletas11-Nov-07 20:32 
AnswerRe: Showing Images Pin
Xmen Real 11-Nov-07 20:41
professional Xmen Real 11-Nov-07 20:41 
GeneralRe: Showing Images Pin
kingletas11-Nov-07 20:56
kingletas11-Nov-07 20:56 
GeneralRe: Showing Images Pin
Xmen Real 11-Nov-07 20:59
professional Xmen Real 11-Nov-07 20:59 
GeneralRe: Showing Images Pin
kingletas11-Nov-07 21:41
kingletas11-Nov-07 21:41 
GeneralRe: Showing Images Pin
Xmen Real 11-Nov-07 21:59
professional Xmen Real 11-Nov-07 21:59 
AnswerRe: Showing Images Pin
sindhutiwari11-Nov-07 21:00
sindhutiwari11-Nov-07 21:00 
GeneralRe: Showing Images Pin
kingletas11-Nov-07 21:08
kingletas11-Nov-07 21:08 
GeneralRe: Showing Images Pin
sindhutiwari11-Nov-07 21:15
sindhutiwari11-Nov-07 21:15 

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.