Hi, I am creating an ActiveX control in MFC, which can be embedded in MSWord. How can I get the name of the MSWord document in which my ActiveX control is embedded? I am facing the same problem when my control is shown up in html page. Any help on this issue would be great. Thanks Sunil