I\'m developing a Word addin in Delphi, on a task pane I put a Virtual treeview, in the OnFocus event of the开发者_StackOverflow中文版 Virtual Treeview I call Word to insert a file into the current Wo
I am trying to open and refresh an excel 2003 spreadsheet via ole.However I am getting the error \"Add method of Workbooks class failed\" with no further information.
If using COleDataSource & COleDataObject, you allocate some global memory for each clipboard data format you wish to store data in the drag\'n\'drop operation. In the drop code, you query if the o
I\'m fairly certain that I can safely do: void funcA(VARIANT &V,_variant_t &vt) { vt = V; } But what about the other way around:
I have an MFC MDI Application and I am 开发者_StackOverflow社区trying to implement Automation with it. I am trying to create a RemoveDocument. How is that done? OnCloseDocument is causing problems. Is
This MSDN article states that any ProgID must meet several formal requirements, length restriction included. However nothing is said about what happens 开发者_运维百科if those are violated.
I have开发者_JAVA技巧 an OLEVariant disguised as a .Net object that I recieve from a client-side component over the net. I know that the contents are an array of bytes, but I don\'t know how to conver
Is it possib开发者_StackOverflow社区le to know if a given DISPID (result of GetIDsOfNames) is either a method, a property getter or setter ?You can tell this by obtaining the INVOKEKIND enumeration fo
For years, we have been printing Word 2003 documents that have been saved to a OLE object column using an access report.We are using Access 2003.
In Perl, if开发者_运维技巧 I have HWND of a window object, how can I get access to that COM object using that handle? I looked at Win32::OLE but the closest I got was the GetActiveObject method, which