如何在vc中写一个实现了ole容器功能的activex控件
并在此控件上嵌入execl

解决方案 »

  1.   

    能不能发一份代码给我
    [email protected]
    thank u very very much
    if u can help me i will give u another 100 scores
      

  2.   

    呵呵,原来学ATL的时候做了个类似的例子,不过代码搞不见了。不过你可以参看《深入解析ATL》,上面讲了点这方面的东西
      

  3.   

    MSDNKnowledge Base Articles   HOWTO: Create an MFC Automation Controller for PowerPointActiveX包容器
    Microsoft Office 2000 Technical Articles   Automating Microsoft Office 97 and Microsoft Office 2000
    Microsoft Office 2000 Technical Articles   Automating Microsoft Office 97 and Microsoft Office 2000
    Knowledge Base Articles   HOWTO: Automate PowerPoint Using Visual C++ w/MFC
      

  4.   

    wei97081116(韦小宝):
     i can not get it sorry
    can u give me a code sample
    thank u very much
    如何在vc中写一个实现了ole容器功能的activex控件
    并在此控件上嵌入execl
      

  5.   

    我们开发出一个这样的控件,可以嵌入Word,Excel,.完全实现了他们的ole功能。不过是为公司开发的。md。没办法。
      

  6.   

    可以参看:
     MSDN/Visual Tools and Languages/Visual Studio 6.0 Documentation/Visual C++ Documention/Using Visual C++/Visual C++ Tutorials/Container Application
    有完整的创建一个ole容器的例子的各个step
      

  7.   

    See the sample below, FYI: http://www.codeproject.com/com/xoffice.asp
      

  8.   

    http://www.codeproject.com/com/xoffice.asp
    这个例子不错。你可以看看,
    不过,你要的是OCX。