views:

867

answers:

1

I want to edit a binary file but I don't want to use another tool other than Visual Studio because it's a pain to switch back and forth.

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

+10  A: 
  1. File>>Open>>File
  2. On the open file dialog at the bottom there is a down arrow on the "Open" button
  3. Click "Open WIth"
  4. Click "Binary Editor"
  5. Click OK

Or for the keyboard geeks out there:

  1. Ctrl-O
  2. paste filename
  3. tab
  4. tab
  5. down arrow
  6. w
  7. b
  8. Enter
Kevin Driedger
Loved the keyboard geeks part!
Seth Illgard
+1 for the answer, but now for a rant (not against Kevin's answer, but against these controls)... Those buttons-with-options that MS uses sometimes in file open dialogs (does this control have a commonly used name?) seem like a neat idea, but from a usability perspective they don't work well. At least for me. While there's the little down-arrow indicator on the button, it still strikes me as non-discoverable since that indicator is effectively invisible. I never notice them, and from the questions I've seen where the answer is 'use that little down arrow on the button', I'm not the only one.
Michael Burr