Click here to Skip to main content
15,914,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: When edit control is added to a dialog, application is crashing Pin
BiswaR10-Feb-06 2:42
BiswaR10-Feb-06 2:42 
GeneralRe: When edit control is added to a dialog, application is crashing Pin
_anil_10-Feb-06 4:26
_anil_10-Feb-06 4:26 
QuestionRe: When edit control is added to a dialog, application is crashing Pin
David Crow10-Feb-06 2:42
David Crow10-Feb-06 2:42 
AnswerRe: When edit control is added to a dialog, application is crashing Pin
BiswaR10-Feb-06 2:44
BiswaR10-Feb-06 2:44 
QuestionRe: When edit control is added to a dialog, application is crashing Pin
David Crow10-Feb-06 3:17
David Crow10-Feb-06 3:17 
QuestionHow to open notepad.exe Pin
hanno2510-Feb-06 0:57
hanno2510-Feb-06 0:57 
AnswerRe: How to open notepad.exe Pin
Cedric Moonen10-Feb-06 1:11
Cedric Moonen10-Feb-06 1:11 
GeneralRe: How to open notepad.exe Pin
hanno2510-Feb-06 2:19
hanno2510-Feb-06 2:19 
GeneralRe: How to open notepad.exe Pin
Cedric Moonen10-Feb-06 2:22
Cedric Moonen10-Feb-06 2:22 
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 

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.