|
|
#1 |
|
Bogan
|
I Feel like such a dunce but i have had a mind freeze. I Have done this many times yet i have *Completely* Forgotten how to Out put Text boxes to a Text File.
Basically i just want to output some fields to a text box in Visual Studio.
__________________
Desktop:BitFenix Survivor~Gigabyte GA-P67A-UD3R~ i7 2600K @ 4hz~AMD 6870 1GB~12gb Team Elite DDR3 1333~3xWD In RAID5~W7 Ult Laptop:Alienware M11x~ i7-2637M 1.7GHz~16GB 1333MHz DDR3~GeForce GT 540M~W7 Ult |
|
|
|
|
|
#2 |
|
In Runtime
Join Date: Feb 2010
Posts: 141
|
O_o
uh, visual C++, C, C#, basic? Which template are you using?
__________________
You are such a good friend that if you and me were the last two people trapped on a sinking boat with only 1 life vest left, i would remember and pray for you every day. Funny how Communism is so bad in Politics but so good with software! My reputation is in the Red, so why doesnt it say "ohm55 needs rehab" when I put my mouse over it? |
|
|
|
|
|
#3 |
|
Bogan
|
Sorry,In VB. What do you mean template?
__________________
Desktop:BitFenix Survivor~Gigabyte GA-P67A-UD3R~ i7 2600K @ 4hz~AMD 6870 1GB~12gb Team Elite DDR3 1333~3xWD In RAID5~W7 Ult Laptop:Alienware M11x~ i7-2637M 1.7GHz~16GB 1333MHz DDR3~GeForce GT 540M~W7 Ult |
|
|
|
|
|
#4 |
|
Bogan
|
Bump. It's such a simple answer and i feel stupid for not knowing the answer (Considering i made a full word processor a year back).
Some one please help
__________________
Desktop:BitFenix Survivor~Gigabyte GA-P67A-UD3R~ i7 2600K @ 4hz~AMD 6870 1GB~12gb Team Elite DDR3 1333~3xWD In RAID5~W7 Ult Laptop:Alienware M11x~ i7-2637M 1.7GHz~16GB 1333MHz DDR3~GeForce GT 540M~W7 Ult |
|
|
|
|
|
#5 |
|
Guru
Join Date: Jan 2008
Location: U.S.
Posts: 7,824
|
Hopefully, this will serve at least a single purpose with a friendly bump. I quickly Google'd it and came up with this: http://www.astahost.com/info.php/tex...net_t6372.html
I'd be more of help if you were programming C++. Sorry. |
|
|
|
|
|
#6 |
|
Bogan
|
Edit,I Just get errors
![]() P.s i did google a bit on the subject but didnt stumble across that link. So after much deliberation i have found that a modified version of this code works perfect! Dim savef As New System.IO.StreamWriter("c:/text.txt") savef.Write(textbox1.text + ControlChars.NewLine + textbox2.text + ControlChars.NewLine + textbox3.text) savef.Close() I Just need to figure out how to use the Save file dialog
__________________
Desktop:BitFenix Survivor~Gigabyte GA-P67A-UD3R~ i7 2600K @ 4hz~AMD 6870 1GB~12gb Team Elite DDR3 1333~3xWD In RAID5~W7 Ult Laptop:Alienware M11x~ i7-2637M 1.7GHz~16GB 1333MHz DDR3~GeForce GT 540M~W7 Ult |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|