View Single Post
Old Jan 24th, 2008, 8:50 AM   #2
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,799
Rep Power: 5 Sane will become famous soon enough
Re: What is wrong with this Output Statement

adminsundaycpaTextBox.Text = adminsundaycpaTextBox.Text

That piece of code there does absolutely zip. Nadda. You are telling it to reassign its value to itself. In other words, x = x.

You don't seem to be using the right code for writing files. At least according to this thread. You might want to use the second example ("An example of writing a file").

Edit: Oh, you're using a newer version of VB that doesn't support this? Hmph.
Try Write(adminsundaycpaTextBox.Text).
Sane is offline   Reply With Quote