Computer Science Canada How do I open a text doc? |
Author: | Flikerator [ Thu Feb 03, 2005 5:02 pm ] |
Post subject: | How do I open a text doc? |
I know how to open a file and extract information from it, but I want to actually open a file. Like when you double click it and it opens. Im going to have a help file and I want to have a way for people to access it from turing. "Would you like to read the help file before continueing?" get answer Then the text file opens up if they say yes. |
Author: | Tony [ Thu Feb 03, 2005 5:20 pm ] |
Post subject: | |
Sys.Exec("filename") the file will be opened by the program accosiated with it. Such as if it's a .txt, it will be notepad. Firefox will open .html, etc. |
Author: | person [ Thu Feb 03, 2005 5:25 pm ] |
Post subject: | |
or u can use fileIO and then put the text from ur file as the output |
Author: | Flikerator [ Thu Feb 03, 2005 6:00 pm ] |
Post subject: | |
Alright thanks. Now I have to write the help document ![]() Actually thats kinda good, my brain needs a break from coding for a bit. Something meanial to do will let me rest. |