Valhalla Legends Archive

Programming => Battle.net Bot Development => Battle.net Bot Development References => Topic started by: blinkdude on July 05, 2003, 07:37 PM

Title: Creating a Chat Logging Feature
Post by: blinkdude on July 05, 2003, 07:37 PM
i was wondering whats the code in VB to make a command like Web bot has to save whats in the text box. like file > save and it gets all the text in a text bot i can save it to a text file :)
Title: Re:bot help
Post by: drivehappy on July 05, 2003, 08:13 PM

Open "C:\TestFile.txt" For Binary As #1
Put 1, , Text1.Text
Close #1
Title: Re:bot help
Post by: blinkdude on July 05, 2003, 08:20 PM
thanks and that works fine but i want to be able to save the file where i want/ name i want sorta like saving a file afte you made it in wordpad
Title: Re:bot help
Post by: WiLD on July 05, 2003, 08:53 PM
well im no por but i think it would b like this:

Open form1.txtSaved.Text For Binary As #1
Put 1, , form1Save2.Text
Close #1