How do you output a resources file from C# application? -



How do you output a resources file from C# application? -

i using visual c# 2010 express. set .dotx or word template files resources folder of application , when installed, output files different directory preferably c://myfolder/. couldn't find here. there ways solve this?

click on resources (in "properties"), , on arrow next "strings" , take "files".

then drag file in , name it. use:

properties.resources.filename;

which byte[], , save using:

file.writeallbytes(environment.getfolderpath(environment.specialfolder.userprofile) + @"\filename", properties.resources.filename);

c# file resources

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -