Click here to Skip to main content
15,910,981 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: problem with basic timer in vb.net Pin
Dave Kreskowiak25-Jan-08 9:41
mveDave Kreskowiak25-Jan-08 9:41 
Questionhow can calling command prompt ? [modified] Pin
break_day24-Jan-08 18:58
break_day24-Jan-08 18:58 
AnswerRe: how can calling command prompt ? Pin
Dave Kreskowiak25-Jan-08 3:41
mveDave Kreskowiak25-Jan-08 3:41 
QuestionFind text problem Pin
monsieur_jj24-Jan-08 16:14
monsieur_jj24-Jan-08 16:14 
GeneralRe: Find text problem Pin
Johan Hakkesteegt25-Jan-08 1:54
Johan Hakkesteegt25-Jan-08 1:54 
GeneralRe: Find text problem Pin
Luc Pattyn25-Jan-08 4:08
sitebuilderLuc Pattyn25-Jan-08 4:08 
GeneralStreamwriter Pin
Cedrickdeorange24-Jan-08 12:27
Cedrickdeorange24-Jan-08 12:27 
GeneralRe: Streamwriter Pin
John_Adams24-Jan-08 18:31
John_Adams24-Jan-08 18:31 
Hi Zeldacat,

.NET has some really cool support for many things, among which are Streams. A Stream is ultimately derived from the System.IO.Stream Class.

Please know that StreamWriter Class Implements a TextWriter for writing characters to a stream in a particular encoding. StreamWriter defaults to using an instance of UTF8Encoding unless specified otherwise. This instance of UTF8Encoding is constructed such that the Encoding.GetPreamble method returns the Unicode byte order mark written in UTF-8. The preamble of the encoding is added to a stream when you are not appending to an existing stream. This means any text file you create with StreamWriter will have three byte order marks at its beginning. UTF-8 handles all Unicode characters correctly and gives consistent results on localized versions of the operating system.

I would suggest you to go through the following articles for more information regarding StreamWriter class. http://www.knowdotnet.com/articles/streams1_4.html

http://msdn2.microsoft.com/en-us/library/system.io.streamwriter(VS.71).aspx

http://www.exforsys.com/tutorials/vb.net-2005/access-and-manipulate-data-working-with-disk-files/1.html

I hope these articles will help you to understand the concept and functionality of StreamWriter class.

Have a nice day Smile | :) .

Regards,
John Adams
ComponentOne LLC

GeneralRe: Streamwriter Pin
Cedrickdeorange25-Jan-08 14:15
Cedrickdeorange25-Jan-08 14:15 
GeneralReading from a file and using Set methods Pin
Cory Kimble24-Jan-08 7:14
Cory Kimble24-Jan-08 7:14 
GeneralRe: Reading from a file and using Set methods Pin
pmarfleet24-Jan-08 9:29
pmarfleet24-Jan-08 9:29 
GeneralRe: Reading from a file and using Set methods Pin
Cory Kimble25-Jan-08 4:52
Cory Kimble25-Jan-08 4:52 
Generalcustom datagrid problems Pin
Smithers-Jones24-Jan-08 6:28
Smithers-Jones24-Jan-08 6:28 
GeneralRe: custom datagrid problems Pin
Paul Conrad24-Jan-08 6:55
professionalPaul Conrad24-Jan-08 6:55 
GeneralRe: custom datagrid problems [modified] Pin
Smithers-Jones24-Jan-08 10:12
Smithers-Jones24-Jan-08 10:12 
Question[Message Deleted] Pin
zeeshi_2424-Jan-08 0:50
zeeshi_2424-Jan-08 0:50 
GeneralRe: mpeg file encryption and compression...urgent!!!! Pin
Steven J Jowett24-Jan-08 2:03
Steven J Jowett24-Jan-08 2:03 
GeneralRe: mpeg file encryption and compression...urgent!!!! Pin
Vimalsoft(Pty) Ltd24-Jan-08 2:04
professionalVimalsoft(Pty) Ltd24-Jan-08 2:04 
GeneralRe: mpeg file encryption and compression...urgent!!!! Pin
Justin Perez24-Jan-08 2:51
Justin Perez24-Jan-08 2:51 
GeneralRe: mpeg file encryption and compression...urgent!!!! Pin
Paul Conrad24-Jan-08 5:04
professionalPaul Conrad24-Jan-08 5:04 
GeneralRe: mpeg file encryption and compression...urgent!!!! Pin
Justin Perez24-Jan-08 5:22
Justin Perez24-Jan-08 5:22 
GeneralRe: mpeg file encryption and compression...urgent!!!! Pin
darkelv24-Jan-08 18:54
darkelv24-Jan-08 18:54 
GeneralRe: mpeg file encryption and compression...urgent!!!! Pin
Paul Conrad25-Jan-08 7:25
professionalPaul Conrad25-Jan-08 7:25 
GeneralRe: mpeg file encryption and compression...urgent!!!! Pin
Paul Conrad24-Jan-08 5:01
professionalPaul Conrad24-Jan-08 5:01 
GeneralConvert FileOpen in .net Pin
soniasan23-Jan-08 23:45
soniasan23-Jan-08 23:45 

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.