

As for their possible higher versions or other ADO controls, you can try to add it yourself. In addition, these two controls are both in version 6.0, they have appeared as early as VC++ 6.0, but experiments found that it can also be used normally under VS 2005, VS2008, VS2010. Now let’s check under Insert ActiveX Contrls, are there two Microsoft Ado Data Control and Microsoft Data Grid Control Options? You can now use them in your project. The method is to open the command prompt window and enter the following command: regsvr32 msadodc.ocx and press Enter regsvr32 msdatgrd.ocx and press Enter. Register the two controls, MSADODC.ocx and MSDATGRD.ocx. After downloading these two files, place them in C:/WINDOWS\system32 directory Ģ. First go to the C:\WINDOWS\system32 directory to see if you already have the two files MSADODC.ocx and MSDATGRD.ocx in your system. Registration is required, the steps are as follows:ġ. If you can't find the Microsoft ADO Data Control 6.0 (SP6) (OLEDB) and Microsoft DataGr id controls above in vs2008 or 2010, the reason is that these two ActiveX controls are not registered.

Therefore, this may be a system version problem.

When I try to insert Microsoft ADO Data Control 6.0 (SP6) (OLEDB) with 2008, it can be inserted correctly. Under dos: regsvr32 C:\windows\system32\MSDATGRD.OCX Note that if the next gallery There is no ADO Data control or DataGrid control, it may not be registered: search under C:\windows\system32 directory: MSDATGRD.OCX and MSADODC.OCX, then register Microsoft ADO Data Control 6.0 (SP6) (OLEDB) When in VC++6.0 "Project"->"A dd to Project"->"Componets and Con tro ls "->"Register ActiveX Controls", find Microsoft ADO Data Control 6.0 (SP6) (OLEDB ), when inserting, the following message box appears. These controls were designed to take advantage of the ActiveX Data Object (ADO) component library.System environment: Windows 7 + VC6.0 + VS2008

GUI controlssuch as DataGrid, DataList, and DataCombowere also added to allow programmers to quickly prototype data-oriented applications. Version 6.0 of Microsoft Visual Basic (VB) shipped with several enhancements designed to facilitate database programming using OLE DB and ODBC data access methods.
