View Single Post
  #13  
Old 12-06-2007, 04:24 AM
RichardP1 RichardP1 is offline
Member
 
Join Date: Feb 2006
Location: UK
Posts: 438
RichardP1 is on a distinguished road
Quote:
Originally Posted by mgruber
When I try to install the program on a laptop with vista, I get an error that says:
"The module "mscomm32.ocx" was loaded but the call to DllRegisterServer failed with error code 0x8002801c."

Any idea how to resolve this issue?
You've probably got UAC (User Access Control) on.

Under Vista you can only register a DLL or OCX control when running as administrator, but even if you are an administrator you run as a user unless specifically promoted to an administrator.

Registering controls under Vista is a pain! What you have to do is this :
  • Find the shortcut to the command prompt (Show All Programs, Accessories).
  • Right click it and select Run as administrator.
  • Select OK or enter the administrator password in the dialog that is displayed.
  • Change directory to the folder where the DLL or OCX you want to use is (using the CD command, e.g. CD \NavCoder or some such)
  • Run the program regsvr32 followed by the name of the DLL or OCX, eg regsvr32 mscomm32.ocx

Sponsored Links