I will be receiving a binary blob of data from a UNIX process. The blob will tell me what kind of data it is, excel, word, pdf... I need to display the file, whatever kind it is, without writing the data to disk. There are security issues with actually writing the file. How can I open these files with a byte array rather than an actual file?
You can't do that directly from VB, though. Rather you have to install the ramdrive.sys driver and setup a ramdisk that way. Then you can access it as a drive letter just like you'd access anything else.
This is what Microsoft calls a "sample driver", and, as they say, "Neither the driver nor the sample programs are intended for use in a production environment". Also I have no idea if this will work on Vista. It only is advertised to work on 2000/XP.