Is there a way to do a binary access write in memory with out opening a file???
This is my code now:
Open File For Binary Access Write As #1
Put #1, , buf
Close #1

My variable buf is a buffer from a pdf file and I want to attach it to an Email without creating an intermediate file... Therefore I do not want to open the file --- however I do want to perform the binary access write.

Any ideas????