Click here to Skip to main content
15,914,416 members
Home / Discussions / C#
   

C#

 
GeneralCreate .txt file Pin
BH Serpa16-Feb-05 23:43
BH Serpa16-Feb-05 23:43 
GeneralRe: Create .txt file Pin
Stefan Troschuetz17-Feb-05 0:01
Stefan Troschuetz17-Feb-05 0:01 
GeneralRe: Create .txt file Pin
BH Serpa17-Feb-05 0:42
BH Serpa17-Feb-05 0:42 
GeneralRe: Create .txt file Pin
Stefan Troschuetz17-Feb-05 1:01
Stefan Troschuetz17-Feb-05 1:01 
GeneralRe: Create .txt file Pin
BH Serpa17-Feb-05 19:50
BH Serpa17-Feb-05 19:50 
GeneralRe: Create .txt file Pin
Stefan Troschuetz17-Feb-05 23:24
Stefan Troschuetz17-Feb-05 23:24 
GeneralRe: Create .txt file Pin
18-Feb-05 0:23
suss18-Feb-05 0:23 
GeneralRe: Create .txt file Pin
BH Serpa18-Feb-05 0:53
BH Serpa18-Feb-05 0:53 
also, this happens

The type or namespace name 'StreamWriter' could not be found (are you missing a using directive or an assembly reference?)

and

The type or namespace name 'sw' could not be found (are you missing a using directive or an assembly reference?)

when I try to put this code

using (StreamWriter sw = new StreamWriter("file.txt"))

{

sw.WriteLine(textBox4.Text);

sw.WriteLine(textBox5.Text);

sw.WriteLine(textBox6.Text);
}

under my button.

Can my program be cured :=))


GeneralRe: Create .txt file Pin
Stefan Troschuetz18-Feb-05 1:06
Stefan Troschuetz18-Feb-05 1:06 
GeneralRe: Create .txt file Pin
Stefan Troschuetz18-Feb-05 0:58
Stefan Troschuetz18-Feb-05 0:58 
GeneralRe: Create .txt file Pin
BH Serpa18-Feb-05 1:16
BH Serpa18-Feb-05 1:16 
QuestionMDI Application. Can't VS.Net do that ? Pin
nguyennp16-Feb-05 23:42
nguyennp16-Feb-05 23:42 
AnswerRe: MDI Application. Can't VS.Net do that ? Pin
Kodanda Pani17-Feb-05 0:28
Kodanda Pani17-Feb-05 0:28 
GeneralRe: MDI Application. Can't VS.Net do that ? Pin
nguyennp17-Feb-05 16:39
nguyennp17-Feb-05 16:39 
QuestionHow to retrieve SQL Server Names and Database Names using C#? Pin
pubududilena16-Feb-05 23:38
pubududilena16-Feb-05 23:38 
AnswerRe: How to retrieve SQL Server Names and Database Names using C#? Pin
exhaulted17-Feb-05 3:36
exhaulted17-Feb-05 3:36 
GeneralRe: How to retrieve SQL Server Names and Database Names using C#? Pin
J4amieC17-Feb-05 3:58
J4amieC17-Feb-05 3:58 
GeneralRe: How to retrieve SQL Server Names and Database Names using C#? Pin
exhaulted17-Feb-05 4:06
exhaulted17-Feb-05 4:06 
GeneralRe: How to retrieve SQL Server Names and Database Names using C#? Pin
J4amieC17-Feb-05 5:11
J4amieC17-Feb-05 5:11 
General:confused:Project Server 2003 Pin
sathe siddharth16-Feb-05 20:07
susssathe siddharth16-Feb-05 20:07 
GeneralDatabinding to class properties Pin
fodonnel16-Feb-05 17:08
fodonnel16-Feb-05 17:08 
GeneralRe: Databinding to class properties Pin
Heath Stewart16-Feb-05 21:40
protectorHeath Stewart16-Feb-05 21:40 
GeneralRe: Databinding to class properties Pin
fodonnel17-Feb-05 10:53
fodonnel17-Feb-05 10:53 
GeneralServer Question Pin
Jugen16-Feb-05 17:07
Jugen16-Feb-05 17:07 
GeneralRe: Server Question Pin
Corinna John16-Feb-05 21:09
Corinna John16-Feb-05 21:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.