StreamWriter

  • Thread starter Thread starter Maarten
  • Start date Start date
M

Maarten

Dim FileStream As StreamWriter

FileStream = New StreamWriter("C:\WINDOWS\PLC")



I get an error in streamwriter.

he sais it's not defined how do i do that?



thank you Maarten
 
Try something like this...

Dim MyFileStream As New FileStream([Insert your file path and name here],
FileMode.CreateNew)

Hope this helps.

Matt.
 
Add a reference at the top of your project that says

Imports System.IO
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top