Vote count:
0
I'm trying to embed a word document in my project. This document will be used as a template by a specific library.
I have added the file using Project | Add Existing Item..., I have also set its Build Action to Resource and its Copy to Output Directory to Do Not Copy .
Now in my code behind I'm doing this to access the file:
var template = DocX.Load("http://packapplication:,,,/doc1.docx");
But I'm getting an exeption: XamlParseException occured.
What am I doing wrong here?
asked 54 secs ago
How to embed a word document in .net
Aucun commentaire:
Enregistrer un commentaire