Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
AnswerRe: In windows application from1 to form2 i want buttons visible false how? Pin
dan!sh 22-Mar-09 9:12
professional dan!sh 22-Mar-09 9:12 
AnswerRe: In windows application from1 to form2 i want buttons visible false how? Pin
DaveyM6922-Mar-09 9:23
professionalDaveyM6922-Mar-09 9:23 
GeneralRe: In windows application from1 to form2 i want buttons visible false how? Pin
pramod251722-Mar-09 9:51
pramod251722-Mar-09 9:51 
GeneralRe: In windows application from1 to form2 i want buttons visible false how? Pin
Christian Graus22-Mar-09 10:23
protectorChristian Graus22-Mar-09 10:23 
AnswerRe: In windows application from1 Link to form2 i want buttons visible false how? Pin
Nouman Bhatti22-Mar-09 22:11
Nouman Bhatti22-Mar-09 22:11 
QuestionInstalling Device Drivers [modified] Pin
queries36522-Mar-09 8:22
queries36522-Mar-09 8:22 
AnswerRe: Installing Device Drivers Pin
Henry Minute23-Mar-09 5:46
Henry Minute23-Mar-09 5:46 
Questionreading the data values in textfile Pin
Nettai22-Mar-09 5:53
Nettai22-Mar-09 5:53 
i am having a text file of 10*10 integer datas...i am reading and writing into another textfile using readline method...but in this program i did some mistake...i couldn't get the output file with datas...here is the program


private void button1_Click(object sender, EventArgs e)
        {
            try
            {
                string path = "c:\\Vicky\\DATAS\\matrix.txt";
                string path2 = "c:\\Vicky\\DATAS\\copy.txt";

                FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read);
                StreamReader sr = new StreamReader(fs);

                FileStream fs1 = new FileStream(path2, FileMode.Create, FileAccess.Write);
                StreamWriter sw = new StreamWriter(fs1);

                string line;
                while ((line = sr.ReadLine()) != null)
                {

                    sw.WriteLine(line);

                }

                fs.Close();
                sr.Close();
                fs1.Close();

            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }


" Ella Pugalum iraivan oruvanukkae-A R Rahman "

AnswerRe: reading the data values in textfile Pin
harold aptroot22-Mar-09 6:16
harold aptroot22-Mar-09 6:16 
GeneralRe: reading the data values in textfile Pin
Nettai22-Mar-09 7:29
Nettai22-Mar-09 7:29 
GeneralRe: reading the data values in textfile Pin
harold aptroot22-Mar-09 7:41
harold aptroot22-Mar-09 7:41 
GeneralRe: reading the data values in textfile Pin
Nettai22-Mar-09 7:50
Nettai22-Mar-09 7:50 
GeneralRe: reading the data values in textfile [modified] Pin
harold aptroot22-Mar-09 8:27
harold aptroot22-Mar-09 8:27 
AnswerRe: reading the data values in textfile Pin
Jacob Dixon22-Mar-09 8:38
Jacob Dixon22-Mar-09 8:38 
GeneralRe: reading the data values in textfile Pin
Nettai22-Mar-09 8:51
Nettai22-Mar-09 8:51 
AnswerRe: reading the data values in textfile Pin
riced22-Mar-09 8:46
riced22-Mar-09 8:46 
AnswerRe: reading the data values in textfile Pin
Alan N22-Mar-09 9:11
Alan N22-Mar-09 9:11 
AnswerRe: reading the data values in textfile Pin
DaveyM6922-Mar-09 9:16
professionalDaveyM6922-Mar-09 9:16 
QuestionRead all occurances of a specific tag out of an HTML file Pin
YiXiang_8922-Mar-09 4:49
YiXiang_8922-Mar-09 4:49 
AnswerRe: Read all occurances of a specific tag out of an HTML file Pin
N a v a n e e t h22-Mar-09 5:11
N a v a n e e t h22-Mar-09 5:11 
GeneralRe: Read all occurances of a specific tag out of an HTML file Pin
YiXiang_8922-Mar-09 5:27
YiXiang_8922-Mar-09 5:27 
GeneralRe: Read all occurances of a specific tag out of an HTML file Pin
N a v a n e e t h22-Mar-09 5:28
N a v a n e e t h22-Mar-09 5:28 
GeneralRe: Read all occurances of a specific tag out of an HTML file Pin
YiXiang_8922-Mar-09 5:39
YiXiang_8922-Mar-09 5:39 
GeneralRe: Read all occurances of a specific tag out of an HTML file Pin
0x3c022-Mar-09 6:05
0x3c022-Mar-09 6:05 
Questionwindows service, login - on-event application ;) Pin
orescik22-Mar-09 4:25
orescik22-Mar-09 4:25 

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.