Re: Using VisualBasic 6 Random Access Files in dotnet
- From: christery@xxxxxxxxx
- Date: Thu, 24 Jan 2008 11:08:54 -0800 (PST)
Right. The names of the binary types have changed, but the actual binary
formats haven't.
so
int oh_here;
using (Stream s = new FileStream(@"c:\vb6lostdata.bin",
FileMode.Open)) {
while ((oh_here = s.ReadByte()) != -1) {Console.Write("'{0}'",
(char)oh_here);}}
wont work?
I tought all data in a file where binary data... silly me...
just had some problems with writing notepad 'åäö' and then reading
them in c#
//CY
.
- Follow-Ups:
- Re: Using VisualBasic 6 Random Access Files in dotnet
- From: christery
- Re: Using VisualBasic 6 Random Access Files in dotnet
- References:
- Using VisualBasic 6 Random Access Files in dotnet
- From: Peter
- Re: Using VisualBasic 6 Random Access Files in dotnet
- From: Ignacio Machin \( .NET/ C# MVP \)
- Re: Using VisualBasic 6 Random Access Files in dotnet
- From: christery
- Re: Using VisualBasic 6 Random Access Files in dotnet
- From: Norman Diamond
- Using VisualBasic 6 Random Access Files in dotnet
- Prev by Date: Re: about IndexOf
- Next by Date: Re: string == and Equals
- Previous by thread: Re: Using VisualBasic 6 Random Access Files in dotnet
- Next by thread: Re: Using VisualBasic 6 Random Access Files in dotnet
- Index(es):
Relevant Pages
|