|
-
Jan 2nd, 2010, 03:03 AM
#1
Thread Starter
New Member
Need help to find the logic and code using VB6
Hello,
I have a binary file that is viewable with hex editors like Ultraedit. It has data of start and stop time in hex format of 3 bytes (hh, mm ,ss). I need to add a standard time of 12:56:28 to the start and stop times. The addition has to be made if the date value is 000000'H. While checking the date, if date is 000000'H, it has to converted into 090C1A'H and the times have to be added by 12:56:28 returning to Hex format. I found some logic but not able to proceed.
To find date, the date is always found between 88 03 and 93 data. FOr eg. 88 03 00 00 00 93. In this we need to change into 88 03 09 0C 1A 93. Similarly for start time the value is between 89 03 and 8A. For eg. 89 03 00 01 01 8A. We need to change into as 89 03 0D 39 1D 8A. Similar thing applied for stop time that is available between 8A 03 and 9F. Finally the file has to be saved into the original format.
I have some 6K records to be changed. Pls provide me the code to perform this process. I'm even ready to pay for it. Pls reply ASAP.
Thanks & Regards,
Ramanathan Sundaram.
{email removed}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|