Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
VB
Put #1, , dLen
        Put #1, , keyB
        Dim DataArr() As Byte
        ReDim DataArr(dLen)
        Call CopyMemory(DataArr(0), ByVal data, dLen)
        Put #1, , DataArr
        Close #1

Can any one help me to understand this code ??
and please help how to read a binary data in vb
Posted
Updated 9-Sep-13 0:04am
v3
Comments
[no name] 9-Sep-13 5:55am    
What is the confusion? You are simply writing some data to a file. To read data from a file you use Get.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900