CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2013
    Posts
    2

    [help] make aplication to replace hex in exe or file

    I am a beginner in vb progamming.
    I want to create a program to automatically search and edit hex in file or exe

    example:

    I want to find a row of hex code 33 33 73 99 59 3F 3F 9A and immediately wanted to turn it into FF FF 3F 73 99 59 3F 9A

    if anyone can help me?

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: [help] make aplication to replace hex in exe or file

    Doesn't sound like you are doing anything productive. WHY would you want to do that? What file, what use?
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Dec 2013
    Posts
    2

    Re: [help] make aplication to replace hex in exe or file

    I get around this forum and found this http://forums.codeguru.com/showthread.php?370632-Hex-Viewer-Editor> and I was curious. how to make it when I automatic search and editing of the hex row.

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

    Re: [help] make aplication to replace hex in exe or file

    [merged threads]

    Please do not post the same question in multiple forums...
    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.

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

    Re: [help] make aplication to replace hex in exe or file

    Before we continue... As David has already asked... What file and why?? .. what are you trying to do.. there may be a better solution to you problem..

    The Hex editor your pointing to was written by me, and offered to the community free, if its worth while, i might consider changes in it.....
    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