Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How do I open a text doc?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Flikerator




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Thu Feb 03, 2005 5:20 pm   Post subject: (No 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.
person




PostPosted: Thu Feb 03, 2005 5:25 pm   Post subject: (No subject)

or u can use fileIO and then put the text from ur file as the output
Flikerator




PostPosted: Thu Feb 03, 2005 6:00 pm   Post subject: (No subject)

Alright thanks. Now I have to write the help document Sad

Actually thats kinda good, my brain needs a break from coding for a bit. Something meanial to do will let me rest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: