[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 159
  • Last Modified:

Reading binary file

Hi

I wish to load a binary file data. How do I open a binary file for reading and getting its data ?

Thanks

Liron
0
lirong
Asked:
lirong
1 Solution
 
deightonCommented:

dim sData as string
open "YourFile.bin" for binary as #1
sdata = string(lof(1),0)
get #1,,sdata
close #1

'binary file data is now in sData
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now