CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    4

    MS Office 97 Automation Objects

    I'm interested in working with the Office objects through Visual C++ 4 to do various things such as print Access reports, check Outlook email and read data from Excel. Can this be done? Also, can anyone direct me to a good source of info on how to do any of this or similarly related tasks? I do know that VC4 classwizard creates classes for .olb files which all Office programs have, but I need some additional newbie help. Thanks in advance!


  2. #2
    Join Date
    May 1999
    Location
    Atlanta, GA, USA
    Posts
    443

    Re: MS Office 97 Automation Objects

    Hi.

    This codeguru ATL/COM section has Tips on Automating Office with
    Visual C++, showing the URL to MS support page having sample code.
    Also, someone wrote the class showing Access Report on some section.

    However, when we write the code of this kind of program,
    I think that we must make the decision how we make the code.
    That is, we don't need the perfect code in place of Excel itself.
    For example, if we try to write the freeze pane code, which is better
    to write the code or use Excel itself.

    In my case, I am satisfied with the code, the conversion from
    Linux formatted file to Excel file, calculate Avg and show the default
    chart.

    Regards.
    -Masaaki Onishi-


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured