Click here to Skip to main content
15,885,032 members
Home / Discussions / C#
   

C#

 
AnswerRe: How To access inner Control in custom user control Pin
Pete O'Hanlon17-Aug-13 6:54
mvePete O'Hanlon17-Aug-13 6:54 
Questiontcp ip Pin
Member 360103416-Aug-13 21:56
Member 360103416-Aug-13 21:56 
AnswerRe: tcp ip Pin
Mycroft Holmes16-Aug-13 23:11
professionalMycroft Holmes16-Aug-13 23:11 
AnswerRe: tcp ip Pin
Richard MacCutchan17-Aug-13 5:47
mveRichard MacCutchan17-Aug-13 5:47 
GeneralRe: tcp ip Pin
Member 360103425-Aug-13 21:43
Member 360103425-Aug-13 21:43 
GeneralRe: tcp ip Pin
Richard MacCutchan26-Aug-13 4:03
mveRichard MacCutchan26-Aug-13 4:03 
AnswerRe: tcp ip Pin
PIEBALDconsult17-Aug-13 7:08
mvePIEBALDconsult17-Aug-13 7:08 
QuestionChange of file Extension in C# Pin
Ratnadip Kuri16-Aug-13 20:36
professionalRatnadip Kuri16-Aug-13 20:36 
I want to change text file extension to custom extention..... the following code successfully run.But, doesn't change the extension. In the following code, If I use
C#
string myfile= Path.ChangeExtension(fileName,"ndbm");
It return same thing.....Please help me..

C#
private void changeButton_Click(object sender, EventArgs e)
        {
            string fileName = @"DataBase\" + exFileNameTextBox.Text + ".txt";
            if (File.Exists(fileName))
            {
               string myfile= Path.ChangeExtension(fileName,".ndbm");
                MessageBox.Show("Successfully Changed");
            }
            else { MessageBox.Show("File Not Exists"); }
            
        }

AnswerRe: Change of file Extension in C# Pin
Mycroft Holmes16-Aug-13 20:46
professionalMycroft Holmes16-Aug-13 20:46 
AnswerRe: Change of file Extension in C# Pin
Thomas Daniels16-Aug-13 23:21
mentorThomas Daniels16-Aug-13 23:21 
GeneralRe: Change of file Extension in C# Pin
Mycroft Holmes17-Aug-13 0:10
professionalMycroft Holmes17-Aug-13 0:10 
AnswerRe: Change of file Extension in C# Pin
Ahsan9817-Aug-13 1:29
Ahsan9817-Aug-13 1:29 
GeneralRe: Change of file Extension in C# Pin
Mycroft Holmes17-Aug-13 14:00
professionalMycroft Holmes17-Aug-13 14:00 
GeneralRe: Change of file Extension in C# Pin
OriginalGriff17-Aug-13 20:13
mveOriginalGriff17-Aug-13 20:13 
GeneralRe: Change of file Extension in C# Pin
Ahsan9817-Aug-13 23:25
Ahsan9817-Aug-13 23:25 
GeneralRe: Change of file Extension in C# Pin
OriginalGriff17-Aug-13 23:37
mveOriginalGriff17-Aug-13 23:37 
GeneralRe: Change of file Extension in C# Pin
Mycroft Holmes17-Aug-13 23:37
professionalMycroft Holmes17-Aug-13 23:37 
Questioncomponent for editing information in c# Pin
hadishf16-Aug-13 18:35
hadishf16-Aug-13 18:35 
AnswerRe: component for editing information in c# Pin
Mycroft Holmes16-Aug-13 20:41
professionalMycroft Holmes16-Aug-13 20:41 
GeneralRe: component for editing information in c# Pin
hadishf16-Aug-13 22:33
hadishf16-Aug-13 22:33 
GeneralRe: component for editing information in c# Pin
Mycroft Holmes16-Aug-13 23:10
professionalMycroft Holmes16-Aug-13 23:10 
GeneralRe: component for editing information in c# Pin
hadishf16-Aug-13 23:35
hadishf16-Aug-13 23:35 
GeneralRe: component for editing information in c# Pin
Mycroft Holmes17-Aug-13 0:09
professionalMycroft Holmes17-Aug-13 0:09 
QuestionSystem.Data.SQLite gives attempt to write to read only database Pin
rbsbscrp16-Aug-13 8:57
rbsbscrp16-Aug-13 8:57 
QuestionRe: System.Data.SQLite gives attempt to write to read only database Pin
Eddy Vluggen17-Aug-13 2:36
professionalEddy Vluggen17-Aug-13 2:36 

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.