开发者

Can I hex edit a file in Visual Studio?

I want to edit a binary file, but I don't want to use another tool other than Visual Studio because it's开发者_C百科 a pain to switch back and forth.

Is there perhaps an add-in or some built in functionality that can do that in Visual Studio?


  1. Menu FileOpenFile
  2. Select the file to be opened
  3. On the open file dialog at the bottom there is a down arrow on the "Open" button
  4. Click "Open With..."
  5. Click "Binary Editor"
  6. Click OK

Or for the keyboard geeks out there:

  1. Ctrl + o
  2. Ctrl + v (paste filename)
  3. tab
  4. tab
  5. w
  6. b
  7. Enter


In addition to Kevin's answer, with Visual Studio 2017 you need to have the Visual Studio C++ Core Features component installed.

Source


Another way to do it is to rename your file to .bin and drag it into VS editor


  1. right click the file in Solution Explorer,
  2. select 'Open With...'
  3. select 'Binary Editor'

Let's enjoy the hex world :)

Can I hex edit a file in Visual Studio?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜