I need to create a binary file automagically which will be used by another program. I found a snippet that can read/write to binary file. I copied & pasted it into a module and it compile fine.
However it trips over the line:
Which I get an error:
There is no information on the 'Get' method in help so I'm at a loss as to how to resolve this.
Also, does VBA have any data type that can hold raw binary? No, I don't want to store it as OLE in an Access table, and there'd be no point in doing so as this will be completely executed within VBA.
However it trips over the line:
Code:
Get #iFileNum, , vThisBlock
Which I get an error:
Code:
Variable uses an Automation type not supported in Visual Basic
There is no information on the 'Get' method in help so I'm at a loss as to how to resolve this.
Also, does VBA have any data type that can hold raw binary? No, I don't want to store it as OLE in an Access table, and there'd be no point in doing so as this will be completely executed within VBA.