« MT調教~擋住所有的TrackBack | 回到主頁面 | links for 2006-07-31 »

July 27, 2006

How to register COM DLL when UAC is on under vista


將此網頁加入【百度收藏】... 加入此網頁到【del.icio.us 書籤】 technorati

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 發表於 July 27, 2006 將此網頁加入【百度收藏】... 加入此網頁到【del.icio.us 書籤】 technorati
引用
本文的引用網址:


以下是前來引用的連結 'How to register COM DLL when UAC is on under vista' 來自 Blog E
迴響
發表迴響









記住我的資訊?




(請輸入以下的驗證碼)