Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

About COleDialog class

Posted on 1998-11-18
2
Medium Priority
?
335 Views
Last Modified: 2008-03-06
I have a dialog class from which i will be storing data read
thro'the edit box into a sql server, using Ole DB consumer class. Should my dialog class be derived from COleDialog box or could it have an access from ordinary CDialog class
0
Comment
Question by:charul
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 20 total points
ID: 1178177
You can do it from an ordinary CDialog class, since you probably are not going to have ActiveX controls in your dialog.
0
 

Author Comment

by:charul
ID: 1178178
Yeah i won't be using ActiveX controls. So I think i make consumer class of Ole DB as the data member of CDialog class.
 Is that right ?....
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question