Click to See Complete Forum and Search --> : MS Office 97 Automation Objects


Roller8
April 6th, 1999, 02:21 PM
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!

Masaaki
April 7th, 1999, 12:36 AM
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-