From: afatdog on 14 Sep 2008 12:20 I want to use OleCreateFromFile to open a Word document in C# application, code: CreateILockBytesOnHGlobal(...); // OK StgCreateDocfileOnILockBytes(...); // OK OleCreateFromFile(...); // OK ViewObject.SetAdvise(...); // OK OleObject.SetHostNames(...); // OK OleSetContainedObject(...); // OK DataObject.DAdvise(...); // OK OleObject.SetExtent(...); // I got a error(OLE_E_NOTRUNNING) here, why? OleObject.DoVerb(...); // ... Thanks
|
Pages: 1 Prev: COM registration problem. Next: Enterprise library: The current build operation failed |