Question Please Help VB6 to .net

Paris704

New member
Joined
Jun 21, 2011
Messages
3
Programming Experience
1-3
Hello,

I have a .dll for a handhelp upc scanner that is in vb 6. Anyone know how to write the following 2 lines of code in VB.net.


Dim NameStr As String
Dim TextAsc(120) As Byte
'120 is large enough, no more
Dim TextLen As Byte
Dim Count As Byte

Open NameStr For Binary Access Write As #1 Len = 1

Put #1, , TextAsc(Count - 1)

Thank You for any help you can give me..


 
Instead of providing VB6 code and asking how to convert it, describe what you want to do and we can determine the best way to do it in VB.NET. What is it that you want to do? Write binary data to a file? Write text to a file? Something else?
 
Back
Top