Manual install of DX7VB.DLL

Posted On 2015-01-13 by dwirch
Tags: VB6 Miscellaneous Tutorial Tip Windows
Views: 38161

A recent tip for installing VB6 on Windows 7 has included the installation of an old version of the DirectX 7 library. Here is that process.

Note: this process can be used for any .dll that you'd like to register.

Download and Install

First things first. You need to download the zip file, extract it, then copy it to the correct location. This process assumes that you already have a copy of the file in place, which may or may not be the case.

  • Download the dx7vb.dll file, if required. This download has been compressed using the ZIP file format. Extract the .dll file from the ZIP to the folder of your choice.
  • Make a backup copy of the original file. You can do this by simply highlighting the file, press control-v, then control-c.
  • Copy the dx7vb.dll to your system directory. On Windows 7, 8, and 10, the default is C:\Windows\System32.
  • If you use a 64-bit version of Windows, you should also copy the file to C:\Windows\SysWOW64.
  • Overwrite any existing files
  • Reboot your computer.

Register the DLL

Now, you've got to register that dll for use. This gives Windows the information it needs to find the file, which in turn gives programs that need this file the necessary information to use it.

Open an elevated command prompt and type: regsvr32 dx7vb.dll and press Enter.

About the Author

dwirch has posted a total of 190 articles.

Comments On This Post

By: AnonymousCoward
Date: 2015-03-11

Hi, I follow the step and show me the message :

'The module "dx7vb.dll" may not compatible with the version of Windows that you're running. Check if the module is compatible with an x86 (32-bit) or x64 (64-bit) version of regsvr32.exe."

What I should I do?

By: dwirch
Date: 2015-03-11

This error can occur, for example, if regsvr32.exe is run on an x86 computer and the module specified in the command line is a 64-bit module.

In other words, the version of Regsvr32.exe must match the 32-/64-bitness of the dll you're trying to register. The 64-bit regsvr32 cannot load a 32-bit dll, and vice versa.

You may need explicitly call the 32-bit version of regsrv32 located in %systemroot%\SysWoW64\regsvr32.exe.

By: AnonymousCoward
Date: 2015-03-19

when running regsvr32 on a win7 64 bit get the following msg


By: AnonymousCoward
Date: 2015-03-19

disregard my regsvr32.  worked ok after reboot.

By: AnonymousCoward
Date: 2015-05-31

Dear Sir

I am trying to install VB6 on windows 8.1 64 bits per your “Install VB6 on Windows 7

“ tutorial. After rebooting had a problem registering dx7vb.dll with C:\Windows\System32\regsvr32 dx7vb.dll

and C:\Windows\SysWOW64\regsvr32 dx7vb.dll (Same error as “AnonymousCoward” got).

I put dx7vb.dll in C:\Windows\SysWOW64\ and C:\Windows\System32\

Thank you very much

By: AnonymousCoward
Date: 2015-08-01

You may need explicitly call the 32-bit version of regsrv32 located in %systemroot%\SysWoW64\regsvr32.exe.

Actually, I accidentally did regsvr32 %systemroot%\SysWOW64\dx7b.dll and it worked! (I had copied the DLL to System32 and SysWOW64). 

By: AnonymousCoward
Date: 2015-12-11

RUN cmd as adminsitartor


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Code Links