How to Register Msdatgrd OCX

Written by david somerset
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Register Msdatgrd OCX
Msdatgrd.OCX is necessary for creating and running many Visual Basic programs (computer image by martini from

An OCX file is a Windows system file that allows an application to run with a custom user interface; these files can control window sizing and scroll bar usage, for example. If a program you are trying to run needs to use the Msdatgrd.OCX file and it is not registered with your Windows operating system, you will receive an error message and will be unable to properly run the program. Although it is not something that is commonly done by standard Windows users, manually registering an OCX file can be done.

Skill level:

Other People Are Reading


  1. 1

    Click on "Start" and choose "Run" if you are using Windows XP. Click the Windows logo to open the Start menu in Windows Vista or 7. Type "cmd" in the text field and press "Enter" to open a Command Prompt.

  2. 2

    Enter "regsvr32 MSDATGRD.OCX" at the Command Prompt. Press "Enter" to register the OCX file. A confirmation message will appear if the registration was successful.

  3. 3

    Reboot your computer to ensure the changes take effect.

Tips and warnings

  • Reboot your computer and try again if you receive an error message instead of a confirmation message when entering the command at the Command Prompt.
  • Locate the Msdatgrd.OCX file on your hard drive with the standard Windows file search or download the file (see Resources) if you need a new copy of the file.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.