Click here to Skip to main content
15,890,438 members
Home / Discussions / COM
   

COM

 
QuestionInstall ActiveX Pin
p_196025-Apr-09 3:51
p_196025-Apr-09 3:51 
AnswerRe: Install ActiveX Pin
KarstenK26-Apr-09 20:36
mveKarstenK26-Apr-09 20:36 
GeneralRe: Install ActiveX Pin
p_196026-Apr-09 22:16
p_196026-Apr-09 22:16 
GeneralRe: Install ActiveX Pin
KarstenK26-Apr-09 22:46
mveKarstenK26-Apr-09 22:46 
GeneralRe: Install ActiveX Pin
p_196027-Apr-09 0:49
p_196027-Apr-09 0:49 
QuestionHow to get event on custom menu added in Winword Pin
SNI24-Apr-09 3:27
SNI24-Apr-09 3:27 
QuestionProblem in implementing an interface Pin
MKC00223-Apr-09 21:29
MKC00223-Apr-09 21:29 
QuestionClosing Winword document thru WordAddin creates problem. Pin
SNI22-Apr-09 3:08
SNI22-Apr-09 3:08 
Hi,
We have developed add in for Office 2003 suite. For Word I am able to sink DocumentOpen, DocumentChange, DocumentBeforeClose events...(and other events also). When I am trying to close Word Document from word container (I am not closing Word Application but only the document) using following code
DocumentBeforeClose(IDispatch*, VARIANT_BOOL *pvtCancel)
{
MSWORD::_DOcumentPtr pDoc;
msWordApp->get_ActiveDocument(&pDoc);
pDoc->Close();
}
After closing document my winword application gets crash. I want to know what could be the problem here. I have wriiten it as a Word AddIn using .Net framework(VC++).
Pls suggest me.

Thanks

SNI

AnswerRe: Closing Winword document thru WordAddin creates problem. Pin
Baltoro22-Apr-09 5:35
Baltoro22-Apr-09 5:35 
GeneralRe: Closing Winword document thru WordAddin creates problem. [modified] Pin
SNI22-Apr-09 17:39
SNI22-Apr-09 17:39 
QuestionExcel: change cell color of unprotect sheet using macro. Pin
hirenkshah21-Apr-09 19:14
hirenkshah21-Apr-09 19:14 
QuestionDisabling row in ListBox. Pin
Shaileshvb21-Apr-09 18:10
Shaileshvb21-Apr-09 18:10 
AnswerRe: Disabling row in ListBox. Pin
Sun Rays3-May-09 20:43
Sun Rays3-May-09 20:43 
QuestionHow To Simulate OLE Drag & Drop? Pin
Shuang. Wu20-Apr-09 23:43
Shuang. Wu20-Apr-09 23:43 
AnswerRe: How To Simulate OLE Drag & Drop? Pin
KarstenK26-Apr-09 22:49
mveKarstenK26-Apr-09 22:49 
QuestioniTunes add track to playlist Pin
speakers_8620-Apr-09 15:50
speakers_8620-Apr-09 15:50 
AnswerRe: iTunes add track to playlist Pin
speakers_8620-Apr-09 16:10
speakers_8620-Apr-09 16:10 
Questionfailed accessing COM method after successful cocreateinstance. Pin
rsandeepu20-Apr-09 1:39
rsandeepu20-Apr-09 1:39 
AnswerRe: failed accessing COM method after successful cocreateinstance. Pin
guestcat20-Apr-09 2:30
guestcat20-Apr-09 2:30 
QuestionRe: failed accessing COM method after successful cocreateinstance. Pin
rsandeepu20-Apr-09 23:21
rsandeepu20-Apr-09 23:21 
QuestionRe: failed accessing COM method after successful cocreateinstance. Pin
CPallini20-Apr-09 3:01
mveCPallini20-Apr-09 3:01 
AnswerRe: failed accessing COM method after successful cocreateinstance. Pin
rsandeepu20-Apr-09 3:22
rsandeepu20-Apr-09 3:22 
GeneralRe: failed accessing COM method after successful cocreateinstance. Pin
guestcat21-Apr-09 11:00
guestcat21-Apr-09 11:00 
QuestionRe: failed accessing COM method after successful cocreateinstance. Pin
rsandeepu21-Apr-09 15:45
rsandeepu21-Apr-09 15:45 
QuestionRe: failed accessing COM method after successful cocreateinstance. Pin
rsandeepu21-Apr-09 20:47
rsandeepu21-Apr-09 20:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.