943,985 Members | Top Members by Rank

Ad:
Dec 8th, 2006
0

Translation of code using Visual Basic 6

Expand Post »
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
Attached Files
File Type: zip Binary Files.zip (8.6 KB, 68 views)
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
isocam is offline Offline
4 posts
since Dec 2006
Dec 8th, 2006
0

Re: Translation of code using Visual Basic 6

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.
Moderator
Reputation Points: 3278
Solved Threads: 894
Posting Sage
WaltP is offline Offline
7,747 posts
since May 2006
Dec 8th, 2006
0

Re: Translation of code using Visual Basic 6

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.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,953 posts
since Aug 2005
Jan 12th, 2008
0

Re: Translation of code using Visual Basic 6

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
Reputation Points: 11
Solved Threads: 3
Banned
tom curren is offline Offline
51 posts
since Oct 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: media player in vb6
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: is it possible to save a visual basic form in jpeg format??? pls help... urgently...





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC