Software Development Network>> .NET Development>> StreamReader and StreamWriter
ok i tried but the file is different bytes again
the source file is 38060 bytes
the destination 38788 bytes , how could the destination file had a different bytes copied
no idea, working well here :)
if you want to copy a file, just do:
System.IO.File.Copy(Source, Destination);
if these are textfile, try this:
or if you want to copy a file, just use:
System.IO.File.Copy(source, dest);
sstream2.WriteLine(sstream.ReadLine)
sstream.Close()
more info:
the destination file E:\eula.txt has more bytes (file size ) than the source (c:\eula.txt) please i need help
can you show us some code please
Moved to .NET Class library forum
StreamReader and StreamWriter
Rooster A.
ok i tried but the file is different bytes again
the source file is 38060 bytes
the destination 38788 bytes , how could the destination file had a different bytes copied
Patrick Ma
no idea, working well here :)
if you want to copy a file, just do:
System.IO.File.Copy(Source, Destination);
Jakein2006
if these are textfile, try this:
Dim theReader as new StreamReader("file.txt")
Dim theWriter as new StreamWriter("copyfile.txt")
theWriter.Write(theReader.ReadToEnd())
theWriter.Close()
theReader.Close()
or if you want to copy a file, just use:
System.IO.File.Copy(source, dest);
Ofir Epstein
sstream2.WriteLine(sstream.ReadLine)
Loopsstream.Close()
sstream.Close()
more info:
the destination file E:\eula.txt has more bytes (file size ) than the source (c:\eula.txt) please i need help
Harkernator
Roozbeh Sharafi
Mark The Archer Evans
can you show us some code please
Moved to .NET Class library forum