网站中有读取居民身份证的机器,需要安装一些注册activeX控件然后进入指定目录下执行以下命令regsvr32 xxx.ocx报了个错: but the call to DIIRegisterServer failed with error code 0x80040200 度娘了一下,发现原因很简单,需要用管理员身份运行 于是控制面板中敲出cmd,右击Run as administrator 这次成功了…
来源:转载 it won't work for you unless you have some form of Visual Basic tools loaded on your system: COMDLG32.OCX : Common Dialog -- this allows you to use code to open up a dialog box , select a file , and the commit that file.... then some more cod…
在windows系统中,可以通过Regsvr32来实现注册ocx或者dl, 编程时,调用Regsvr32来注册,却不能正常执行.尤其是在Win7系统中,需要管理员身份才能运行. 使用下面的代码则能正常注册. //注册 function RegisterDllServer(FileName: string): boolean; var nDllAddr: integer; bstr: string; ProcAddr: Pointer; str: PAnsiChar; begin Result :…
导出数据时报错: 如果你是导出office 2007格式 TITLE: SQL Server Import and Export Wizard ------------------------------ The operation could not be completed. ------------------------------ ADDITIONAL INFORMATION: The 'Microsoft.ACE.OLEDB.12.0' provider is not registe…