| | |
Translation of code using Visual Basic 6
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Dec 2006
Posts: 4
Reputation:
Solved Threads: 0
Can anybody help?
I have modified an original Visual Basic project to convert from set of binary code into a readable format. I am unsure of the actual type of code that the data file ("Mazatrol.dat") contains.
I need to be able to convert it into a language, from binary, that I will be able to understand. I do know that it is a binary version of a CNC program for controlling a machine tool.
If anybody can help modify the code, in the attached file ("Binary.zip")
I would be very grateful.
Kind Regards
Darren Smith
I have modified an original Visual Basic project to convert from set of binary code into a readable format. I am unsure of the actual type of code that the data file ("Mazatrol.dat") contains.
I need to be able to convert it into a language, from binary, that I will be able to understand. I do know that it is a binary version of a CNC program for controlling a machine tool.
If anybody can help modify the code, in the attached file ("Binary.zip")
I would be very grateful.
Kind Regards
Darren Smith
You need to know what the format of the data file is (.dat is for data file, I assume saying it's a program is just to throw us off
)
IOW, you need to know how each byte is defined, whether it's a byte, word, long, character, float, etc, in order to translate it. This is defined in a specification somewhere, based on the program that wrote the file.
)IOW, you need to know how each byte is defined, whether it's a byte, word, long, character, float, etc, in order to translate it. This is defined in a specification somewhere, based on the program that wrote the file.
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
Mazatrol.dat is not a binary file but a text file that contains probably some bitmapped representation of the data that needs to be sent to the machine tool. In order for Mazatrol.dat to be useful to you, you will have to find out what all those numbers mean, one way to find out is to read the machine's programmers' manual and find out how it is controlled. But that may be the manufacturer's prepritory (secret) information.
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.
That was too easy !!!!
I googled CMT numeric control data file and found the source of that file:
http://www.sub-soft.com/dncplus.htm
tc
I googled CMT numeric control data file and found the source of that file:
http://www.sub-soft.com/dncplus.htm
tc
![]() |
Similar Threads
- Open Excel file from Visual Basic (Visual Basic 4 / 5 / 6)
- i need a code for first come first serve simulation using visual basic (Visual Basic 4 / 5 / 6)
- Creating an OS in visual basic 6.0 (Visual Basic 4 / 5 / 6)
- Use C or c++ code in Visual basic net (VB.NET)
- The Move.....Visual Basic 6, Visual Basic .NET ? (VB.NET)
- Encrypting a Visual Basic application (Visual Basic 4 / 5 / 6)
- passing arrays in visual basic (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: media player in vb6
- Next Thread: is it possible to save a visual basic form in jpeg format??? pls help... urgently...
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column 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 retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






