Click here to Skip to main content
15,881,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to open notepad.exe Pin
hanno2510-Feb-06 2:32
hanno2510-Feb-06 2:32 
GeneralRe: How to open notepad.exe Pin
Cedric Moonen10-Feb-06 2:37
Cedric Moonen10-Feb-06 2:37 
GeneralRe: How to open notepad.exe Pin
David Crow10-Feb-06 2:44
David Crow10-Feb-06 2:44 
GeneralRe: How to open notepad.exe Pin
hanno2510-Feb-06 3:11
hanno2510-Feb-06 3:11 
GeneralRe: How to open notepad.exe Pin
Cedric Moonen10-Feb-06 3:31
Cedric Moonen10-Feb-06 3:31 
GeneralRe: How to open notepad.exe Pin
toxcct10-Feb-06 2:24
toxcct10-Feb-06 2:24 
AnswerRe: How to open notepad.exe Pin
bolivar12310-Feb-06 3:52
bolivar12310-Feb-06 3:52 
QuestionWord automation while using ADO Pin
lparsonson10-Feb-06 0:49
lparsonson10-Feb-06 0:49 
Hi.

I am trying to write a database app using the MDI in MFC, and using ADO to access an MS SQL Server, and I want to be able to do some basic word automation with it. It was working fine, until I tried to add the Word automation.

The problem seems to be that many of the classes defined by importing classes via the class wizard, and including the created file, are already defined by using :

#import "C:\\...\\msado15.dl" no_namespace rename("EOF", "EndOfFile")

for ADO. I only want a few classes, but class wizard seems to generate a whole host of wrapper classes, which I assume it needs, and which the compiler then tells me have already been defined (but not where, I note...).

I am also #importing msword.olb, mso.dll and vbe6ext.dll.

Is there a simpler way to automate word AND use ADO together? Or even a way that works?!?

Thanks.
QuestionCannot add variables to CDialog class Pin
Kiriko10-Feb-06 0:15
Kiriko10-Feb-06 0:15 
AnswerRe: Cannot add variables to CDialog class Pin
toxcct10-Feb-06 0:18
toxcct10-Feb-06 0:18 
GeneralRe: Cannot add variables to CDialog class Pin
Kiriko10-Feb-06 0:34
Kiriko10-Feb-06 0:34 
GeneralRe: Cannot add variables to CDialog class Pin
toxcct10-Feb-06 0:38
toxcct10-Feb-06 0:38 
AnswerRe: Cannot add variables to CDialog class Pin
ThatsAlok10-Feb-06 0:38
ThatsAlok10-Feb-06 0:38 
GeneralRe: Cannot add variables to CDialog class Pin
Kiriko10-Feb-06 0:52
Kiriko10-Feb-06 0:52 
GeneralRe: Cannot add variables to CDialog class Pin
Roger Stoltz10-Feb-06 2:12
Roger Stoltz10-Feb-06 2:12 
GeneralRe: Cannot add variables to CDialog class Pin
Kiriko10-Feb-06 2:43
Kiriko10-Feb-06 2:43 
AnswerRe: Cannot add variables to CDialog class Pin
David Crow10-Feb-06 2:51
David Crow10-Feb-06 2:51 
QuestionGetting alerts (messagebox) with an integer value Pin
kk_vp10-Feb-06 0:12
kk_vp10-Feb-06 0:12 
AnswerRe: Getting alerts (messagebox) with an integer value Pin
toxcct10-Feb-06 0:20
toxcct10-Feb-06 0:20 
GeneralRe: Getting alerts (messagebox) with an integer value Pin
kk_vp10-Feb-06 0:37
kk_vp10-Feb-06 0:37 
General[Message Deleted] Pin
_anil_10-Feb-06 0:53
_anil_10-Feb-06 0:53 
QuestionRe: Getting alerts (messagebox) with an integer value Pin
David Crow10-Feb-06 3:15
David Crow10-Feb-06 3:15 
AnswerRe: Getting alerts (messagebox) with an integer value Pin
_anil_10-Feb-06 4:18
_anil_10-Feb-06 4:18 
GeneralRe: Getting alerts (messagebox) with an integer value Pin
David Crow10-Feb-06 2:53
David Crow10-Feb-06 2:53 
AnswerRe: Getting alerts (messagebox) with an integer value Pin
_anil_10-Feb-06 0:30
_anil_10-Feb-06 0:30 

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.