How would i be able to reference to a file in my resources..


lets say i got a default template.dotx (word 07 template)
in my resource folder...

how would i be able to point to it when i publish my app?

thanx
Phoenix911

>How would i be able to reference to a file in my resources? how would i be able to point to it when i publish my app?

You may use GetManifestResourceStream() method.

what should i add under the using part?

thing is... i need a path, im using a library that accepts a path the the dotx file....

so how would i go about that?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.