CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 67

Threaded View

  1. #13
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: Hex Viewer / Editor

    Well I managed to find some time today to carry on with the HEX editor..

    I've compleated most of it.. It still needs a bit if debugging.. found an issue with Ctrl+C and Ctrl+V screwing things around in the editor. For the moment I only trap and flush them.. (I may redirect them to the Copy and Paste routines at a later stage) Like i said before 99% debugged

    I've updated the file acces to use the Readfile and Writefile API's (Small but noticable speed difference). tweeked a few things and got a good working base for the editor..

    But now i'm stumped on the Find in File code... I've got a form to enter up to 100 charaters to find(Hex or Ascii).. I search the current Page of Hex data and if found, show it(I'm using Instr to search).. but now i'm not sure what direction to go..Some help and advice here please

    Also i'm sure that some of the Popup menu code can be Tweeked to perform a bit faster, without loosing any of the functionality. (Ie. Colour highlighting, updating hex and Ascii fields).

    The Paste code stops at the end of the Ascii block loaded.. I not sure what direction to take here.. (Prompt to write current block to file, and continue or move the begining of the block to the first Position and starting the Paste from there).

    Also has anyone got any advice (or Code snips) for the Image decoder idea.. I'm still not to sure where to start with this..


    Thanks

    Gremmy.....

    ----- WOW 18 Downloads... New file in later Post...
    Last edited by GremlinSA; January 22nd, 2006 at 03:22 PM.
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured