Click here to Skip to main content
15,905,874 members

Comments by Vijay533 (Top 14 by date)

Vijay533 14-Feb-17 7:47am View    
Yes i have installed MSOffice, I do have dll in my directory.
Vijay533 14-Feb-17 1:03am View    
Hi Anderson Rissardi,
I tried to add the Microsoft.Office.Interop.Word.dll into my project and getting following error.
Error C1083: Cannot open type library file: 'c:\program files\microsoft visual studio 10.0\visual studio tools for office\pia\office14\microsoft.office.interop.word.dll': Error loading type library/DLL.
Vijay533 9-Feb-17 6:21am View    
Thank you very much for your suggestion Anderson Rissardi.
Vijay533 29-Jul-16 7:21am View    
Thanks for the reply karstenk,
Following are the details related to code.
typedef struct tagOFFICEITEM
{
BSTR MS_TITLE;
BSTR MS_AUTHOR;
BSTR MS_COMPANY;
BSTR MS_DATE_CREATED;
BSTR MS_DATE_MODIFIED;
BSTR MS_TIME_MODIFIED;
BSTR MS_FROM;
BSTR MS_TO;
BSTR MS_CC;
BSTR MS_BCC;
BSTR MS_SUBJECT;
BSTR MS_SENT;
BSTR MS_TIME_SENT;
BSTR MS_RECEIVED;
BSTR MS_TIME_RECEIVED;
BSTR MS_TIME_CREATED;
BSTR Name;
BSTR Attachments;
long bReturn;
} OFFICEITEM;

This is my strucure. I am developing vsto adding using C#, From the c# i need to pass the above structure values to the COM dlls(written in C++).

Below is the function i am using in c++
passMsOffice(tagOFFICEITEM* docs, LONG nTotalItems,LONG hWnd (not rewured this is 0))
Vijay533 2-Feb-16 5:31am View    
Deleted
Thank you every one i get the solution for this.