• Welcome to Valhalla Legends Archive.
 

Creating a Chat Logging Feature

Started by blinkdude, July 05, 2003, 07:37 PM

Previous topic - Next topic

blinkdude

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 :)
<Total-Assault@Azeroth> WTF IS THIS CLAN A BUNCH OF NERDS?
<Yoni[vL]@Azeroth> Yes.
<Grok> Yes.
<[vL]Kp> You sound surprised.
<Total-Assault> at least they admit it
&

drivehappy

#1

Open "C:\TestFile.txt" For Binary As #1
Put 1, , Text1.Text
Close #1

blinkdude

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
<Total-Assault@Azeroth> WTF IS THIS CLAN A BUNCH OF NERDS?
<Yoni[vL]@Azeroth> Yes.
<Grok> Yes.
<[vL]Kp> You sound surprised.
<Total-Assault> at least they admit it
&

WiLD

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
=_=  &&  g0dFraY  &&  -=Templar=-  @USWest