R
Ram
Hi,
i have to add a text a document ,which comes in outlook as default word
editor. For this i am doing the following code.
m_hr=m_inspect->get_WordEditor((IDispatch**)&m_wordApplication);
if(SUCCEEDED(m_hr))
MessageBox(NULL,_T("Word editor captured"),NULL,0);
m_wordApplication->get_ActiveDocument(&m_worDoc);
m_worDoc->get_Name(&m_b);
CString m_s=CString(m_b);
MessageBox(NULL,m_s,NULL,0);
but i am not getting any result.
how can i add text to word document. i am using vc++6.0
--
Regards,
RamakoteswaraRao Koti
Software Engineer,
Nannacomputers Pvt Ltd
i have to add a text a document ,which comes in outlook as default word
editor. For this i am doing the following code.
m_hr=m_inspect->get_WordEditor((IDispatch**)&m_wordApplication);
if(SUCCEEDED(m_hr))
MessageBox(NULL,_T("Word editor captured"),NULL,0);
m_wordApplication->get_ActiveDocument(&m_worDoc);
m_worDoc->get_Name(&m_b);
CString m_s=CString(m_b);
MessageBox(NULL,m_s,NULL,0);
but i am not getting any result.
how can i add text to word document. i am using vc++6.0
--
Regards,
RamakoteswaraRao Koti
Software Engineer,
Nannacomputers Pvt Ltd