Click here to Skip to main content
15,901,505 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CArray::IsEmpty() Pin
lucy10-Oct-02 7:05
lucy10-Oct-02 7:05 
GeneralRe: CArray::IsEmpty() Pin
Bartosz Bien10-Oct-02 9:55
Bartosz Bien10-Oct-02 9:55 
GeneralAutomating Excel without MFC Pin
Giles10-Oct-02 6:22
Giles10-Oct-02 6:22 
GeneralRe: Automating Excel without MFC Pin
Nick Parker10-Oct-02 6:36
protectorNick Parker10-Oct-02 6:36 
GeneralRe: Automating Excel without MFC Pin
Giles10-Oct-02 7:48
Giles10-Oct-02 7:48 
GeneralRe: Automating Excel without MFC Pin
Stephane Rodriguez.10-Oct-02 7:46
Stephane Rodriguez.10-Oct-02 7:46 
GeneralRe: Automating Excel without MFC Pin
Giles10-Oct-02 7:52
Giles10-Oct-02 7:52 
GeneralRe: Automating Excel without MFC Pin
Stephane Rodriguez.10-Oct-02 8:02
Stephane Rodriguez.10-Oct-02 8:02 
Giles wrote:
Microsoft recommend using MFC, directly then lastly #import for Excel and other office apps, becuause they have done something funny.

There is no direct Office support in the MFC classes.



Giles wrote:
With Excel it seems there are over a hundred clashes in the namespace.

In the unlikely case you have this problem, you may just end your troubles by using the namespace rename attribute in #import.


Giles wrote:
Have you had any luck with #import and Excel, if so I would be grateful for any tips

Using smart pointers to drive Office apps is much like doing it with VB. Code is just easy to work with : in addition, you have intellisense!

The only tip about it, but it's a general tip about using smart pointers, is to avoid at all cost to use smart pointer instances in class members. Smart pointers are almost by design meant to be used as local proc variables.



She's so dirty, she threw a boomerang and it wouldn't even come back.
GeneralRe: Automating Excel without MFC Pin
Giles10-Oct-02 8:36
Giles10-Oct-02 8:36 
GeneralRe: Automating Excel without MFC Pin
Stephane Rodriguez.10-Oct-02 8:45
Stephane Rodriguez.10-Oct-02 8:45 
GeneralRe: Automating Excel without MFC Pin
Giles10-Oct-02 8:48
Giles10-Oct-02 8:48 
QuestionCheck date modified http request? Pin
dazinith10-Oct-02 6:11
dazinith10-Oct-02 6:11 
AnswerRe: Check date modified http request? Pin
Paul M Watt10-Oct-02 6:17
mentorPaul M Watt10-Oct-02 6:17 
GeneralRe: Check date modified http request? Pin
dazinith10-Oct-02 8:00
dazinith10-Oct-02 8:00 
Generalcombobox that disappears over a listcontrol... Pin
Joan M10-Oct-02 5:52
professionalJoan M10-Oct-02 5:52 
GeneralRe: combobox that disappears over a listcontrol... Pin
Roger Allen10-Oct-02 6:14
Roger Allen10-Oct-02 6:14 
GeneralRe: combobox that disappears over a listcontrol... Pin
Joan M10-Oct-02 6:30
professionalJoan M10-Oct-02 6:30 
GeneralDisplay Transparent AVI Pin
Brigg Thorp10-Oct-02 5:49
Brigg Thorp10-Oct-02 5:49 
GeneralRe: Display Transparent AVI Pin
Daniel Strigl10-Oct-02 20:17
Daniel Strigl10-Oct-02 20:17 
General::CreateFileMapping Pin
Abin10-Oct-02 5:35
Abin10-Oct-02 5:35 
GeneralRe: ::CreateFileMapping Pin
Daniel Turini10-Oct-02 5:34
Daniel Turini10-Oct-02 5:34 
GeneralRe: ::CreateFileMapping Pin
Abin10-Oct-02 5:47
Abin10-Oct-02 5:47 
GeneralRe: ::CreateFileMapping Pin
Daniel Turini10-Oct-02 5:55
Daniel Turini10-Oct-02 5:55 
GeneralRe: ::CreateFileMapping Pin
Paul M Watt10-Oct-02 6:21
mentorPaul M Watt10-Oct-02 6:21 
GeneralRe: ::CreateFileMapping Pin
Abin10-Oct-02 7:29
Abin10-Oct-02 7:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.