| | |
Reading a Binary file using Visual Basic
![]() |
•
•
Join Date: Dec 2006
Posts: 4
Reputation:
Solved Threads: 0
Can anybody help with the attached project ("Binary.zip")
In the folder there is a binary file ("Mazatrol.dat") that I am trying to read. I cannot get the code to work correctly. Can somebody please see if they can update the visual basic project, and tell me what I am doing wrong.
Please see the attachment ("Binary.zip")
Many thanks
Darren (isocam)
In the folder there is a binary file ("Mazatrol.dat") that I am trying to read. I cannot get the code to work correctly. Can somebody please see if they can update the visual basic project, and tell me what I am doing wrong.
Please see the attachment ("Binary.zip")
Many thanks
Darren (isocam)
In function cmdReadValues_Click() check that file_length > 0. The file in your zip is an empty file.
Otherwise, I don't see any problems with that program. Just make sure you click the Write button first to generate the file.
Otherwise, I don't see any problems with that program. Just make sure you click the Write button first to generate the file.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
![]() |
Similar Threads
- reverting exe file created with visual basic? (Visual Basic 4 / 5 / 6)
- Open Excel file from Visual Basic (Visual Basic 4 / 5 / 6)
- Reading Hexadecimal files using Visual Basic 6 (Visual Basic 4 / 5 / 6)
- Reading a Binary File to a C++ Class (C++)
- Reading binary data from a file and writing it (Visual Basic 4 / 5 / 6)
- Visual basic why does my exe file need dotnetfx? (VB.NET)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: drawing in picturebox
- Next Thread: Helping!
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






