摘要:
注册com组件有两种方法(备注:假如你用C#写的程序,想在VB中调用的话,这是方法之一)第一种方法:方法2 并且执行批处理进行注册(easyRegister.bat)cd /d %~dp0regasm.exe /tlb:CAD.PDA.Client.Console.tlb CAD.PDA.Client.Console.dll regasm.exe CAD.PDA.Client.Console.dll /codebaseregasm.exe DotNetCom.dll /tlb:DotNetCom.tlbregasm.exe DotNetCom.dll /CodeBaseregasm.exe C 阅读全文