Hi,
I know how to do this with VB6 but have not figured it out with VB.NET, any help would be much appreciated.
I have a bitmap on the server which the VB.NET app needs to open and get all the bytes to an array for processing.
Here's the VB6 code I used for the old version:
and here's how far I've gotten with VB.NET:Code:Open strFile For Binary As #f Get #f, , sArray() Close #f
Thanks for your help.Code:FileOpen(1, SrcFile, OpenMode.Binary, OpenAccess.ReadWrite, OpenShare.Shared, -1) 'WHAT GOES HERE? FileClose(1)
- Jake




Reply With Quote