Using ADO in Visual C++ 7
Posted on 2003-12-03
I'm trying to write an application in Visual C++ 7 (Visual Studio .Net) that connects to a access database using ADO. I'm fairly new to C++/MFC and so i'm following instructions from a book; the problem is that the book is written to use Visual C++ 6 and the Visual C++ 7 GUI has changed such that the instructions don't work.
So my question is how do I insert an ADO Data Grid Control into my application? My book says to do this:
* Invoke the Components and Controls Galery and select registered ActiveX Controls
* Select Microsoft ADO Data Control Version 6.0 (OLEDB), Click Insert and Confirm.
* The controls are then supposed to be located on the resource editor controls toolbar under MS Ado Data Control.
I cant even find the Components and Controls Gallery to register the ADO components.
I'm sure the answer is right under my nose but any help would be much appreciated
Kind Regards and Thanks in advance