471,328 Members | 1,744 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,328 software developers and data experts.

Question about OLE_E_NOTRUNNING

I want to use OleCreateFromFile to open a Word document in C# application,

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(...); // ...

Sep 14 '08 #1
0 1027

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Stevey | last post: by
10 posts views Thread by glenn | last post: by
53 posts views Thread by Jeff | last post: by
56 posts views Thread by spibou | last post: by
2 posts views Thread by Allan Ebdrup | last post: by
3 posts views Thread by Zhang Weiwu | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.