I need to generate a Publisher file based off an existing file. I am able to
open up the file using Publisher.Application.open() when the file is sitting
around on my hard drive , but that only accepts a String for a filename. If I
wanted include the base file into my project as a resource, how could I get a
Publisher.Document from the Byte Array that Visual Studio saves my resource
as?
> I need to generate a Publisher file based off an existing file. I am able to
> open up the file using Publisher.Application.open() when the file is sitting
> around on my hard drive , but that only accepts a String for a filename. If I
> wanted include the base file into my project as a resource, how could I get a
> Publisher.Document from the Byte Array that Visual Studio saves my resource
> as?
The only way I know of of doing this would be to dump the byte array to
a temporary file with a name ending in .pub, then supply the filename of
that to the Open() method.

Signature
Ed Bennett - MVP Microsoft Publisher
http://ed.mvps.org