UAC (User Account Control)  is complicate as I disussed before. Even you are a “Administrators” (Yes~~ it has ‘s’, in Vista you only have one “Administrator” but much “Administrators”), you can not register the COM component. There is a way to tell you how to work it out!!

  1. Write a batch file “regsvr32 foo.dll” and use right click “Run as administrator”.
  2. Open Programs–>Accessories–>Command Prompt.   (right click “Run as administrator”.)

Such you can register your COM component, or you can use “Administrator” account (it will be disable by default, just go to “Manage–>Local Users and Groups–> Users” to open it.


Evan

Attitude is everything