hi,
i have a form application, within my form application i have placed a document.
this document i will copy and place on my c drive: File.Copy(Path.Combine(Environment.CurrentDirectory, @"..\..\test.docx"), @"C:\Werkbons\" + Id + ".docx", true);
the document recieve a different name.
when i run my project the document will be placed in this directory.
i have taken the exe from the debug folder, and run this on a different computer.
the document will not be copyd to the directory.
why can my programme copy a document when i run it from visual studio project, and not when i start the exe?
View Complete Post