Quantcast
Channel: NetOffice - MS Office in .NET
Viewing all articles
Browse latest Browse all 1741

Created Unassigned: Crash during word 2003 document open [20491]

$
0
0
hello, as I try to open a word document:

private Word.Application wordApplication = null;
private Word.Document WordDocument = null;


wordApplication = new Word.Application();
wordApplication.DisplayAlerts = WdAlertLevel.wdAlertsNone;
wordApplication.Visible = true;
object documentFile = (object)@Word_Filename;
WordDocument = wordApplication.Documents.Open(@documentFile);

it works fine with office 2010 but crashes on word 2003.


System.runtime.interopservices.comexception(0x800004005)...
system.reflection.targetinvocationexception....
netoffice.wordapi.documents.open

cuold you please help me.

Thanks

Viewing all articles
Browse latest Browse all 1741

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>