Click here to Skip to main content
15,913,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalproblem about using ActiveX in DLL Pin
Arcrest5-Dec-04 14:53
Arcrest5-Dec-04 14:53 
GeneralRe: problem about using ActiveX in DLL Pin
Cedric Moonen5-Dec-04 20:11
Cedric Moonen5-Dec-04 20:11 
GeneralRe: problem about using ActiveX in DLL Pin
Arcrest5-Dec-04 20:45
Arcrest5-Dec-04 20:45 
GeneralRe: problem about using ActiveX in DLL Pin
Cedric Moonen5-Dec-04 20:49
Cedric Moonen5-Dec-04 20:49 
GeneralRe: problem about using ActiveX in DLL Pin
Arcrest6-Dec-04 0:13
Arcrest6-Dec-04 0:13 
GeneralAbout barcodes and displays Pin
Rafael Fernández López5-Dec-04 12:56
Rafael Fernández López5-Dec-04 12:56 
GeneralQuestion of DB programming Pin
Andy Hunter5-Dec-04 12:51
Andy Hunter5-Dec-04 12:51 
GeneralRe: Question of DB programming Pin
Steve S6-Dec-04 1:00
Steve S6-Dec-04 1:00 
Yup. You can use a variety of APIs to do this; ODBC, DAO, ADO or OLE DB, for example.
For Access only, DAO used to be the choice. However, my personal favourite is OLE DB. This (like ODBC and ADO) is driver or provider based, and allows you to write code that works against any database. That's the theory, but not always the practice, since there are driver/provider specific bits that make it more difficult.

I use the ATLDBCLI.H header (supplied with VC6 and later) which allows you to manipulate recordsets based on pre-defined SQL and known columns, as well as on dynamic (user-defined) data. To make the most of this, you should start with something like the SAMS "Database Programming with Visual C++ 6 in 21 days" book, but don't expect it to take only 21 days!
What you will miss in straight C++ is data-aware controls, and the reporting, unless you use something like Crystal Reports. I keep meaning to write a CP article on C++ report generation, but never seem to have the time Sigh | :sigh: For grid stuff you can use the excellent Grid control from Chris right here on CP.

Steve S
Developer for hire
GeneralRe: Question of DB programming Pin
Andy Hunter6-Dec-04 4:20
Andy Hunter6-Dec-04 4:20 
Generalremove default child window in MDI Pin
melliw5-Dec-04 12:36
melliw5-Dec-04 12:36 
GeneralRe: remove default child window in MDI Pin
Michael Dunn5-Dec-04 13:51
sitebuilderMichael Dunn5-Dec-04 13:51 
GeneralRe: remove default child window in MDI Pin
melliw6-Dec-04 0:17
melliw6-Dec-04 0:17 
GeneralADO Data control Pin
Don125-Dec-04 12:28
Don125-Dec-04 12:28 
GeneralRemoving border around a window Pin
Anonymous5-Dec-04 12:11
Anonymous5-Dec-04 12:11 
GeneralRe: Removing border around a window Pin
David Crow6-Dec-04 2:49
David Crow6-Dec-04 2:49 
Generaladding a icon in the Desktop Pin
Saifur Rahman5-Dec-04 11:52
Saifur Rahman5-Dec-04 11:52 
GeneralRe: adding a icon in the Desktop Pin
alex.barylski5-Dec-04 16:57
alex.barylski5-Dec-04 16:57 
Generalneed help Pin
mikara5-Dec-04 8:18
mikara5-Dec-04 8:18 
GeneralRe: need help Pin
Gary R. Wheeler5-Dec-04 10:01
Gary R. Wheeler5-Dec-04 10:01 
GeneralRe: need help Pin
mikara5-Dec-04 11:58
mikara5-Dec-04 11:58 
GeneralRe: need help Pin
Michael Dunn5-Dec-04 13:58
sitebuilderMichael Dunn5-Dec-04 13:58 
GeneralRe: need help Pin
namaskaaram5-Dec-04 16:30
namaskaaram5-Dec-04 16:30 
GeneralRe: need help Pin
David Crow6-Dec-04 2:53
David Crow6-Dec-04 2:53 
GeneralNetWork Pin
gamitech5-Dec-04 6:51
gamitech5-Dec-04 6:51 
GeneralRe: NetWork Pin
Graham Bradshaw5-Dec-04 9:35
Graham Bradshaw5-Dec-04 9:35 

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.