The type or namespace name 'StreamWriter' could not be found (are you missing a using directive or an assembly reference?
i get these 2 errors when i try to follow thistutorial
here is the code it show up on
string current_source = richTextBox1.Text;
StreamWriter stream = new StreamWriter("index.html");
stream.Write(current_source);
stream.Close();
string place = Directory.GetCurrentDirectory();
string url = place + "/index.html";
webBrowser1.Navigate(url);
i am very new to c# so i dont know how to fix this. but im assuming its something to do with the include or references.
thanks

New Topic/Question
Reply




MultiQuote



|