Groups | Blog | Home
all groups > vb.net upgrade > march 2005 >

vb.net upgrade : vb6 to .net



notregister
3/17/2005 7:47:04 PM
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
notregister
3/18/2005 1:15:05 AM
Hi,

so i just replace it with FileGet (1, , Nibble)??

thanks


[quoted text, click to view]
Herfried K. Wagner [MVP]
3/18/2005 9:51:17 AM
"notregister" <notregister@discussions.microsoft.com> schrieb:
[quoted text, click to view]

'Open' -> 'FileOpen'
'Get' -> 'FileGet'
'Close' -> 'FileClose'

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
AddThis Social Bookmark Button