| View previous topic :: View next topic |
| Author |
Message |
Pepsiguy I post too much
Reputation: 0
Joined: 16 Aug 2007 Posts: 2016
|
Posted: Sun Dec 16, 2007 11:49 am Post subject: I need Visual Basic help PLEASE |
|
|
How do i make something save a file like if ur writing in a text box and then on note pad there is a "save as" thing...how do i do that
_________________
|
|
| Back to top |
|
 |
AtheistCrusader Grandmaster Cheater
Reputation: 6
Joined: 23 Sep 2006 Posts: 681
|
Posted: Sun Dec 16, 2007 12:17 pm Post subject: |
|
|
| google search on "writing/reading to a INI.". or somewhere here Wicaan posted the source
|
|
| Back to top |
|
 |
Hack-Addict Master Cheater
Reputation: 0
Joined: 20 Nov 2007 Posts: 287
|
Posted: Sun Dec 16, 2007 12:34 pm Post subject: |
|
|
| masterkert3 wrote: | | google search on "writing/reading to a INI.". or somewhere here Wicaan posted the source |
Lol, alot of these are getting posted.
Dim Save as long
Save = FreeFile()
Open "C:\Test.txt" For Output as #save
Print #Save, Text1.Text
Close #Save
You can also make the print, a message so it would be like this: Print #save, "Message"
_________________
|
|
| Back to top |
|
 |
Pepsiguy I post too much
Reputation: 0
Joined: 16 Aug 2007 Posts: 2016
|
Posted: Sun Dec 16, 2007 12:36 pm Post subject: |
|
|
so it will print ur text?
_________________
|
|
| Back to top |
|
 |
Hack-Addict Master Cheater
Reputation: 0
Joined: 20 Nov 2007 Posts: 287
|
Posted: Sun Dec 16, 2007 12:38 pm Post subject: |
|
|
| pepsiguy_2 wrote: | | so it will print ur text? |
Yes, it will print your text onto a note pad. You can change the location too.
It's a very simple script, compared to the others, and it works too.
_________________
|
|
| Back to top |
|
 |
Meeman Advanced Cheater
Reputation: 0
Joined: 15 Nov 2007 Posts: 54
|
Posted: Sun Dec 16, 2007 3:41 pm Post subject: |
|
|
that will work. Does he mean though making his own file type that can only open in his program though or saving text that can open in text or notepad
_________________
I AM MEEMAN666!!!!!!!!!!
PPT277
programming languages i use: VB6, Delphi 7 , C# 2008, Python
You want to +Rep me!!!!!!! |
|
| Back to top |
|
 |
Hack-Addict Master Cheater
Reputation: 0
Joined: 20 Nov 2007 Posts: 287
|
Posted: Sun Dec 16, 2007 5:48 pm Post subject: |
|
|
| Meeman wrote: | | that will work. Does he mean though making his own file type that can only open in his program though or saving text that can open in text or notepad |
Lol, he means text for notepad, anyway, you can't make it so it only opens in your program... im sure you could put a pass on it though...
_________________
|
|
| Back to top |
|
 |
TheIndianGuy Advanced Cheater
Reputation: 102
Joined: 14 Jan 2007 Posts: 85
|
Posted: Sun Dec 16, 2007 6:03 pm Post subject: |
|
|
| try using a rich textbox, you can do much more then a regular textbox.
|
|
| Back to top |
|
 |
|