open file which can see inside of it
-
when we want open a file,we have to double click on the file,but Right now,i want open it by command,What must I do?,(note: open file which can see inside of it)
File.GetAllText ? Hard to know, your question isn't really laid out in a way that makes much sense.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
when we want open a file,we have to double click on the file,but Right now,i want open it by command,What must I do?,(note: open file which can see inside of it)
Use StreamReader object to read the content of the file and display it in a window. Also, please make sure that your file may not only contain text data but it can contain picture etc. Hence, if you want to see the real world inside the file you should reading it in binary format and display the records.
Manoj Never Gives up
-
Use StreamReader object to read the content of the file and display it in a window. Also, please make sure that your file may not only contain text data but it can contain picture etc. Hence, if you want to see the real world inside the file you should reading it in binary format and display the records.
Manoj Never Gives up
thanks you,I am sorry because I don't display obvious my ideal After that,I will display my question when we double click a file,the window of file will display,and we can see the tittle of it(EX: file.txt) If we use command of C#,what will we do to see the window of file.txt opended ?
-
when we want open a file,we have to double click on the file,but Right now,i want open it by command,What must I do?,(note: open file which can see inside of it)
just use Process class.Inside it there one method which takes input as file name and opens it.
Regards Chintan www.visharadsoft.com (Nothing is so purify as KNOWLEDGE)