Caleb09 Posted September 21, 2006 Posted September 21, 2006 (edited) Hi, im trying to make two programs and one of them you type in a website and the other program takes you to it on another computer. Sorta like a prank thing where you can keep making websites pop up but anyways....I got a box where you type the website in and on the other program i dont know how to make it read from that box.Can anyone help? Heres some of the code. Case $msg= $WebsiteBoxButton $msg = "WEBSITE:" & GUICtrlRead($WebsiteText) TCPSend($connectedSocket,$msg) if StringInStr ( $msg, "WEBSITE:") THEN $WebsiteText = _RunDos("start $WebsiteText") endIf On the $WebsiteText = _RunDos("start $WebsiteText") part of the code i dont know the command to make it read from that text on the label.It's probally very simple but im new to this Thanks, Caleb Edited September 21, 2006 by Caleb09
CoderDunn Posted September 21, 2006 Posted September 21, 2006 (edited) More like (Not familiar with Dos commands): $WebsiteText = _RunDos("start " & StringReplace($msg,"WEBSITE:","")) You get the general idea though of how to get the string with the website using StringReplace($msg,"WEBSITE:","") Hallman Edited September 21, 2006 by Hallman
Caleb09 Posted September 21, 2006 Author Posted September 21, 2006 Thanks alot man.I noticed tho it just goes to diffrent websites on the same browser is there anyway to make it pop up a new browser? If not thanks anyways i appreciate it. Thanks, Caleb
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now