title: How can i open binary files (exe) in "Delphi" , like Visual basic?
body: <p>in visual basic i can open a binary(exe) file with below way :</p>
  
  <pre><code>Strx$ = Space(FileLen(FileName))
  Open FileName For Binary As #1
    Get #1, , Strx$
  Close
  </code></pre>
  
  <p>in this way i can read all of binary file characters and read file content like this format :</p>
  
  <p><a href="https://i.stack.imgur.com/bsgFH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bsgFH.png" alt="alt text"></a><br>
  <sub>(source: <a href="http://up.iranblog.com/Files/4b97136a8452414b97b1.png" rel="nofollow noreferrer">iranblog.com</a>)</sub>  </p>
  
  <p>and the question is how can i open a binary(exe) file in delphi with a string format(Like image) and not 0,1(binary) format ?</p>
  
  <p>Thank you!</p>