Well this was such a succesfull project (306 downloads say's it all..) and there were a few little bugs in it that were nagging at me for some time, i decided to make a day (or rather a night) of Hex Editor Bugging...
* - Popup 'Fill With' on the text now works correctly..
* - When paging the pos display updates correctly..
* - Added all the Logics posible to the 'Logics Edit' Popup..
* - A few other minors corrected..
I'm acctually finding the hex editor a handy tool to work on just about any file you can think of.. Most raw data file types have the Hex editor now linked as Primary open application , and many others have Hex Editor listed under 'Open with'...
And it looks like others are finding it as useful as i am..
I hope you enjoy this latest update...
Gremmy...
---EDIT---
6 Downloads..
Last edited by GremlinSA; July 20th, 2007 at 12:55 PM.
Reason: Updated file in zip...
Yes. I like it very much, too. Such a good big display. Gives a great overview. Very well done.
As a point for a wishlist, if I may:
Quick navigation with keys could do with
Ctrl-Home: goto Top of File
Ctrl-End: goto End of File
Maybe I can put that in myself. Your code is very comprehensive.
Yes. I like it very much, too. Such a good big display. Gives a great overview. Very well done.
As a point for a wishlist, if I may:
Quick navigation with keys could do with
Ctrl-Home: goto Top of File
Ctrl-End: goto End of File
Maybe I can put that in myself. Your code is very comprehensive.
Just a little note on Ctrl-Home & Ctrl-End. .. these two key comdinations do work if focus is on the side scroller bar (built into the control), but to add function to the hex and/or text windows is only a few lines of code..)
Add these two subs to 'Frm_Hex_edit'
Code:
Private Sub Home_Block()
If File_Change Then Write_Data File_Pos
File_Pos = 0
Read_Data File_Pos
End Sub
Private Sub End_Block()
If File_Change Then Write_Data File_Pos
File_Pos = IIf(File_Len > (Tot_Count / 2), (File_Len - (Tot_Count / 2)), 0)
Read_Data File_Pos
End Sub
and in HexD_KeyDown add a few lines to this sections
Code:
If KeyCode = vbKeyHome Then ' Move to the first box
If Shift And vbCtrlMask Then
Home_Block
End If
HexD.SetFocus
HexD.SelStart = 0
HexD.SelLength = 1
KeyCode = 0
End If
If KeyCode = vbKeyEnd Then ' Move to the last box
If Shift And vbCtrlMask Then
End_Block
End If
HexD.SetFocus
HexD.SelStart = Set_H_Actual(Tot_Count - 1, Mnu_Opt_Wide.Checked)
HexD.SelLength = 1
KeyCode = 0
End If
And the same changes in Hex_Val_Keydown...
Thanks for the sugestion... and as you can see I've added them already.. ( Also updated the Zip with these changes)
Thanks GremlinSA
That's a wicked program. I am writing some sw for the partially-sighted (like myself) and I would like your permission to include your program as part of my project. I will of course credit you with your work and provide a link to your code here. My project will be given to the Sight Concern charity under the GPL licence - which will allow the chariity to give copies of my project to their clients.
Thanks in advance,
Allan
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.