Problems with Microsoft ADO Data Control 6.0 control in VS2005

Source: Internet
Author: User

There is no such control in vs2005, you need to register, the steps are as follows:

1. First go to the C:\WINDOWS\system32 directory to see if your system has Msadodc.ocx and msdatgrd.ocx these two files (mostly not), do not download;

2. Register both the Msadodc.ocx and Msdatgrd.ocx controls in vs 2005. In VS 2005 Click on "Tools"--"Visual Studio 2005 Command Prompt", enter the following command:

regsvr32 msadodc.ocx

regsvr32 msdatgrd.ocx

Now go to Insert ActiveX contrls look, hehe, is not there a Microsoft Ado data control and Microsoft Data Grid control two new faces AH? OK, now you can use them in the project. In addition, I wrote the two controls are 6.0 versions, as early as VC + + 6.0 when they have appeared, but at vs 2005 can also be used normally. As for the later versions or other ADO controls that may exist, you can try to add them yourself.

Problems with Microsoft ADO Data Control 6.0 control in VS2005

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.