Board index » Visual Studio » Streamwriter
|
kmdgkkfvcxb
|
|
kmdgkkfvcxb
|
Streamwriter
Visual Studio346
Dim sw As New IO.StreamWriter("File path") sw.WriteLine ("This is a line of text") sw.Flush() sw.Close I got this sample from Crouchie1998 but the vb program VB 6.0 doesn't recognise the IO.StreamWriter() part. would there be a reason for this maybe I'm not using the right libary? - |
| Jon
Registered User |
Wed Jun 08 04:51:15 CDT 2005
Re:Streamwriter
Would have thought you'd need vb.net to use it, but perhaps not.
Could try System.IO.StreamWriter Jon "Opyuse" <Opyuse@discussions.microsoft.com>wrote in message QuoteDim sw As New IO.StreamWriter("File path") - |
| Jon
Registered User |
Wed Jun 08 05:03:55 CDT 2005
Re:Streamwriter
It's in
Mscorlib.dll Jon "Jon" <Email_Address@SomewhereOrOther.com>wrote in message QuoteWould have thought you'd need vb.net to use it, but perhaps not. - |
| Herfried
Registered User |
Wed Jun 08 05:17:10 CDT 2005
Re:Streamwriter
"Jon" <Email_Address@SomewhereOrOther.com>schrieb:
QuoteWould have thought you'd need vb.net to use it, but perhaps not. -- M S Herfried K. Wagner M V P <URL:dotnet.mvps.org/>">dotnet.mvps.org/> V B <URL:classicvb.org/petition/>">classicvb.org/petition/> - |
| Jon
Registered User |
Wed Jun 08 05:23:09 CDT 2005
Re:Streamwriter
Ignore that last post
"Jon" <Email_Address@SomewhereOrOther.com>wrote in message QuoteIt's in - |
| Opyuse
Registered User |
Wed Jun 08 05:28:05 CDT 2005
Re:Streamwriter
Cheers afraid of that. just thought it looked better whated to see if I could
use it. "Herfried K. Wagner [MVP]" wrote: Quote"Jon" <Email_Address@SomewhereOrOther.com>schrieb: |
