Share via


How to open a binary file?

Question

Saturday, June 17, 2017 5:39 PM

My program makes a binary file, and I want to open it in the VS editor so I can check it.  When I click File | Open and select the file, it asks me what program to open it with.

Well, I want the native VS program to open it.  That's not on the list.  How can I make that happen?

All replies (9)

Saturday, June 17, 2017 8:12 PM âś…Answered

In the Visual Studio Editor's Open File Dialog select your file.  Click the down arrow on the Open button. On the resultant context menu click "Open With..." and then the various alternative editor choices from which you can select the Binary Editor will be displayed.


Saturday, June 17, 2017 5:55 PM

If I use for example .bin extension,  I can open a random file on VS 2015


Saturday, June 17, 2017 6:44 PM

The VS editor allows you to specify "Open with".  If I remember correctly there is a down arrow on the Open File Dialog's Open button that will expose the choices from which you can select the Binary Editor.

Or are you asking how to associate your custom binary file and whatever it's extension might be with Visual Studio (devenv.exe)?


Saturday, June 17, 2017 7:26 PM

I was looking for a binary option somewhere, but can't find it.  The Open dialog gives me a choice of Open or Open with ....  Where's the binary option?


Saturday, June 17, 2017 7:30 PM

On 6/17/2017 3:26 PM, DonDilworth wrote:

I was looking for a binary option somewhere, but can't find it.  The Open dialog gives me a choice of Open or Open with ....  Where's the binary option?

Click on Open With. A list of further options shows up. Choose Binary Editor there.


Saturday, June 17, 2017 7:34 PM

Bnary Editor.


Saturday, June 17, 2017 7:52 PM

Where is it?

I get a choice of WordPad, Search the Store, or Choose another ap.  Must have missed something.


Saturday, June 17, 2017 7:53 PM

How do I get to that page?


Saturday, June 17, 2017 8:35 PM

Right.  Thanks.