Automating office applications into an MFC dialog
-
Hi. I know it is possible to automate an office application into a dialog in VB. it's simple, MS included an activeX for it. But in C++/MFC it's different. I don't know which activeX to import (the one the vb uses) and the only documentation I found was how to automate office applications into SDI and MDI applications, but that's not good enough. I want to be able to create a dialog based application (or a new dialog in an already existing application - in my case) and embedd Word or Excel onto that document. Any ideas ? The perfect solution will be to use VB's activeX, but I don't know which is it.
-
Hi. I know it is possible to automate an office application into a dialog in VB. it's simple, MS included an activeX for it. But in C++/MFC it's different. I don't know which activeX to import (the one the vb uses) and the only documentation I found was how to automate office applications into SDI and MDI applications, but that's not good enough. I want to be able to create a dialog based application (or a new dialog in an already existing application - in my case) and embedd Word or Excel onto that document. Any ideas ? The perfect solution will be to use VB's activeX, but I don't know which is it.
I'm not really into VB, but I guess that theres got to be a way to find out what activeX control it's using.. You should might try to create a dialog box in VB and open the dialog resource file (or which ever way VB stores that in) with a text editor and you might be luvky to find the GUID Just a shot in the dark =) Cheers, Marc
-
Hi. I know it is possible to automate an office application into a dialog in VB. it's simple, MS included an activeX for it. But in C++/MFC it's different. I don't know which activeX to import (the one the vb uses) and the only documentation I found was how to automate office applications into SDI and MDI applications, but that's not good enough. I want to be able to create a dialog based application (or a new dialog in an already existing application - in my case) and embedd Word or Excel onto that document. Any ideas ? The perfect solution will be to use VB's activeX, but I don't know which is it.