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

Username:   Password: 
 RegisterRegister   
 how to open programs
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
trees are uber




PostPosted: Thu May 18, 2006 10:47 am   Post subject: how to open programs

im trying to open mozilla firefox from turing.. how must i do this
Sponsor
Sponsor
Sponsor
sponsor
neufelni




PostPosted: Thu May 18, 2006 11:00 am   Post subject: (No subject)

You open a program with Turing by using Sys.Exec. This example opens Internet Explorer, but to open a different program like Mozilla Firefox, you just change what is in the brackets.
code:

if not Sys.Exec("IEXPLORE.exe") then
    put "Error opening Internet Explorer."
end if
trees are uber




PostPosted: Thu May 18, 2006 11:10 am   Post subject: (No subject)

that rocks thanks
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  [ 3 Posts ]
Jump to:   


Style:  
Search: