Page 1 of 1

Cannot edit binary file - read only

Posted: Thu Oct 12, 2006 12:30 pm
by wjb
I want to edit a .exe (binary) file but Edit menu is not available. When I try to edit values and status line says "This document is read only!"

The windows file propertys (attributes) are not Read-only.

I tried the "togglereadonly" command, but does not seem to work (not sure I used keyboard correctly ctrl-Q,E)


I have sucessfully made changes in this file before using textpad, but cannot do it now. Please help.

Bill

Posted: Mon Oct 16, 2006 2:16 am
by Nicholas Jordan
Seems to me I had the same experience.

Went to open a binary file one day and went to change something, probably the cr/lf issue and felt that I had been able to edit binary before.

File Props and Configure/Read Only as you described.

That was one of the first non-trivial programs I wrote, would have been effective at that point to just change the cr/lf ordering.

BTW - Cay S. Horstman notes in one of his source codes that the cr/lf - as coded used to work. We are not alone !

Posted: Mon Oct 16, 2006 11:32 am
by kindlerm
AFAIK, Textpad does not support hex editing, just viewing. Maybe v5 (if it will ever see the light of day) might have it.

Martin

Posted: Mon Oct 16, 2006 1:55 pm
by Nicholas Jordan
Oki-doki

Posted: Tue Oct 17, 2006 12:24 am
by Bob Hansen

How to view in binary (hex) mode

Posted: Tue Nov 07, 2006 2:50 pm
by parmstr
Can someone explain how to open a file in binary view mode...or to toggle between binary and text view once a file is open? thx

Posted: Tue Nov 07, 2006 2:56 pm
by kindlerm
You cannot toggle between text and binary format (one of my enhancement wishes years ago).
To open a file in binary mode specify the file format as "binary" in the open file dialog.

Martin