"Herfried K. Wagner [MVP]" wrote:
> "notregister" <notregister@discussions.microsoft.com> schrieb:
> > Hi, how do i convert the following vb6 codes to .net? Nibble is variable
> > declared as Byte
> >
> > InputString = ""
> > Open CurInputFileName For Binary Shared As #1
> > Do
> > Get #1, , Nibble
> > InputString = InputString & Chr$(Nibble)
> > Loop Until EOF(1)
> > Close #1
>
> 'Open' -> 'FileOpen'
> 'Get' -> 'FileGet'
> 'Close' -> 'FileClose'
>
> --
> M S Herfried K. Wagner
> M V P <URL:
http://dotnet.mvps.org/> > V B <URL:
http://classicvb.org/petition/>