# VB6 套用C# Library .dll 步驟: 1. C# 建立.dll 註冊COM Interop(需要用到的function要給GUID) 2. 用RegAsm註冊到電腦 3. VB6設定引用項目 RegAsm register library for VB6 ActiveX use https://learn.microsoft.com/en-us/dotnet/framework/tools/regasm-exe-assembly-registration-tool Export Regkey https://www.laptopmag.com/articles/create-reg-file-for-registry-hacks Example Code https://www.codeproject.com/Articles/3511/Exposing-NET-Components-to-COM