{"id":6198,"date":"2015-09-07T16:35:46","date_gmt":"2015-09-07T07:35:46","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=6198"},"modified":"2015-09-07T22:16:07","modified_gmt":"2015-09-07T13:16:07","slug":"vba%e3%81%8b%e3%82%89registration-free%e3%81%a7-net%e3%83%99%e3%83%bc%e3%82%b9%e3%81%aedll%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=6198","title":{"rendered":"VBA\u304b\u3089Registration-Free\u3067.NET\u30d9\u30fc\u30b9\u306eDLL\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5"},"content":{"rendered":"<p>C#\u88fd\u306eDLL\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059\u306e\u306b\u3044\u3061\u3044\u3061<a href=\"\/\/www.ka-net.org\/blog\/?p=5464\" title=\"VBA\u304b\u3089\u6271\u3048\u308bDLL\u3092C#\u3067\u66f8\u3044\u3066\u307f\u308b\u3002 | \u521d\u5fc3\u8005\u5099\u5fd8\u9332\" target=\"_blank\">RegAsm<\/a>\u3059\u308b\u306e\u3082\u9762\u5012\u304f\u3055\u3044\u306a\u30fc\u3001\u3068\u601d\u3063\u3066\u3044\u305f\u3068\u3053\u308d\u3001\u6570\u5e74\u524d\u306e<a href=\"https:\/\/twitter.com\/kumatti1\" title=\"kumatti(@kumatti1)\u3055\u3093\" target=\"_blank\">kumatti\u3055\u3093<\/a>\u306e\u30c4\u30a4\u30fc\u30c8\u3092\u601d\u3044\u51fa\u3057\u307e\u3057\u305f\u3002<\/p>\n<blockquote class=\"twitter-tweet\" lang=\"ja\">\n<p lang=\"ja\" dir=\"ltr\">XL2013CP\u306e\u4ef6\u306f\u3053\u308c\u3067\u89e3\u6c7a\u3002&#10;\u30ec\u30b8\u30b9\u30c8\u30ea\u672a\u767b\u9332\u3067\u306eCOM\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5229\u7528&#10;<a href=\"http:\/\/t.co\/4neJuVk1\">http:\/\/t.co\/4neJuVk1<\/a>&#10;(DataObject \u306f\u7121\u7406\u3067\u3057\u3087\u3046\u3051\u3069)<\/p>\n<p>&mdash; kumatti (@kumatti1) <a href=\"https:\/\/twitter.com\/kumatti1\/status\/279004867530457089\">2012, 12\u6708 12<\/a><\/p><\/blockquote>\n<p><script async src=\"\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<p>\u305d\u3046\u3044\u3048\u3070<a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/aa375644.aspx\" title=\"Microsoft.Windows.ActCtx object (Windows)\" target=\"_blank\">Microsoft.Windows.ActCtx<\/a>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3048\u3070\u30ec\u30b8\u30b9\u30c8\u30ea\u767b\u9332\u4e0d\u8981\u3067COM\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u547c\u3073\u51fa\u305b\u305f\u306a\u30fc\u3001\u3068\u3002<\/p>\n<ul>\n<li>Microsoft.Windows.ActCtx\u3067WSH\u3067\u3082Reg\u2010Free COM<\/li>\n<li style=\"list-style-type:none;\"><a href=\"http:\/\/dev.activebasic.com\/egtra\/2012\/07\/07\/498\/\" target=\"_blank\" title=\"Microsoft.Windows.ActCtx\u3067WSH\u3067\u3082Reg\u2010Free COM\">http:\/\/dev.activebasic.com\/egtra\/2012\/07\/07\/498\/<\/a><\/li>\n<li>.NET\u3067\u306eRegFree-COM<\/li>\n<li style=\"list-style-type:none;\"><a href=\"http:\/\/dev.activebasic.com\/egtra\/2014\/10\/06\/685\/\" target=\"_blank\" title=\".NET\u3067\u306eRegFree-COM\">http:\/\/dev.activebasic.com\/egtra\/2014\/10\/06\/685\/<\/a><\/li>\n<\/ul>\n<p>\u3084\u3063\u305f\u3053\u3068\u306a\u3044\u3057\u3001\u4e00\u56de\u304f\u3089\u3044\u306f\u3084\u3063\u3066\u307f\u308b\u304b\uff01<br \/>\n\u30fb\u30fb\u30fb\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u3055\u3063\u305d\u304f\u8a66\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<h4 class=\"style4a\">\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u6e96\u5099<\/h4>\n<p>\u307e\u305a\u306f\u547c\u3073\u51fa\u3059DLL\u306e\u30b3\u30fc\u30c9\u3092C#\u3067\u66f8\u304d\u307e\u3059\u3002<\/p>\n<p><strong>C:\\System\\SampleNameSpace.cs<\/strong><\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">using System;\r\nusing System.Reflection;\r\nusing System.Runtime.InteropServices;\r\n\r\n&#x5B;assembly:AssemblyVersion(&quot;1.0.0.0&quot;)]\r\n\r\nnamespace SampleNameSpace\r\n{\r\n  &#x5B;ComVisible(true), Guid(&quot;3ea27b1a-ac62-492e-8659-fd20402a629f&quot;), InterfaceType(ComInterfaceType.InterfaceIsDual)]\r\n  public interface ISample {\r\n    string Hoge(string str);\r\n  }\r\n  \r\n  &#x5B;ClassInterface(ClassInterfaceType.None), Guid(&quot;14c829c3-4c16-4cb8-b1f1-7bec0528d009&quot;), ProgId(&quot;Sample.ProgId&quot;)]\r\n  public class SampleClass : ISample\r\n  {\r\n    public string Hoge(string str)\r\n    {\r\n      return &quot;hogehoge:&quot; + str;\r\n    }\r\n  }\r\n}<\/pre>\n<p>\u6587\u5b57\u5217\u3092\u8fd4\u3059\u3060\u3051\u306e\u5358\u7d14\u306a\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<h4 class=\"style4a\">\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/h4>\n<p>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u6e96\u5099\u304c\u3067\u304d\u305f\u3089\u3001\u6b21\u306f\u300c<a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/eew13bza.aspx\" title=\"\u65b9\u6cd5: \u767b\u9332\u3092\u5fc5\u8981\u3068\u3057\u306a\u3044\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30b7\u30e7\u30f3\u7528\u306e .NET Framework \u30d9\u30fc\u30b9\u306e COM \u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u69cb\u6210\u3059\u308b\" target=\"_blank\">\u65b9\u6cd5: \u767b\u9332\u3092\u5fc5\u8981\u3068\u3057\u306a\u3044\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30b7\u30e7\u30f3\u7528\u306e .NET Framework \u30d9\u30fc\u30b9\u306e COM \u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u69cb\u6210\u3059\u308b<\/a>\u300d\u3092\u53c2\u8003\u306b\u3001DLL\u306b\u57cb\u3081\u8fbc\u3080\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><strong>SampleNameSpace.manifest<\/strong><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;\r\n&lt;assembly xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; manifestVersion=&quot;1.0&quot;&gt;\r\n  &lt;assemblyIdentity name=&quot;SampleNameSpace&quot; \r\n                    version=&quot;1.0.0.0&quot; \r\n                    processorArchitecture=&quot;MSIL&quot; \/&gt;\r\n  &lt;clrClass clsid=&quot;{14C829C3-4C16-4CB8-B1F1-7BEC0528D009}&quot; \r\n            progid=&quot;Sample.ProgId&quot; \r\n            threadingModel=&quot;Both&quot; \r\n            name=&quot;SampleNameSpace.SampleClass&quot; \r\n            runtimeVersion=&quot;v4.0.30319;v2.0.50727&quot; \/&gt;\r\n  &lt;file name=&quot;SampleNameSpace.dll&quot; \/&gt;\r\n&lt;\/assembly&gt;<\/pre>\n<p>\u4e0a\u8a18\u53c2\u8003\u30da\u30fc\u30b8\u3092\u898b\u308b\u9650\u308a\u300c<a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/Bb545961.aspx\" title=\"\/win32manifest (C# \u30b3\u30f3\u30d1\u30a4\u30e9 \u30aa\u30d7\u30b7\u30e7\u30f3)\" target=\"_blank\">\/win32manifest<\/a>\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u3092\u57cb\u3081\u8fbc\u3093\u3067\u3082\u826f\u3055\u305d\u3046\u306a\u611f\u3058\u304c\u3057\u307e\u3059\u304c\u3001\u624b\u9806\u3068\u3057\u3066<span style=\"color: #ff0000; font-weight: bold;\">\u201c\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8 \u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u306f\u30ea\u30bd\u30fc\u30b9\u3068\u3057\u3066\u30a2\u30bb\u30f3\u30d6\u30ea\u306b\u57cb\u3081\u8fbc\u3080\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u201d<\/span>\u3068\u3042\u308b\u306e\u3067\u3001\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u624b\u9806\u306b\u5f93\u3046\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<h4 class=\"style4a\">\u30ea\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/h4>\n<p>\u53c2\u8003\u30da\u30fc\u30b8\u306b\u306f<span style=\"color: #ff0000; font-weight: bold;\">Rc.exe<\/span>\u3092\u4f7f\u7528\u3059\u308b\u65e8\u304c\u66f8\u3044\u3066\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u300c<a href=\"http:\/\/dobon.net\/vb\/dotnet\/programing\/embedwin32resource.html\" title=\"Win32\u30bd\u30fc\u30b9\u3092\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u306b\u57cb\u3081\u8fbc\u3080: .NET Tips: C#, VB.NET\" target=\"_blank\">Win32\u30bd\u30fc\u30b9\u3092\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u306b\u57cb\u3081\u8fbc\u3080: .NET Tips: C#, VB.NET<\/a>\u300d\u306b\u3088\u308b\u3068<a href=\"http:\/\/www.godevtool.com\/\" title=\"Jeremy Gordon's Go Tools for Win32 and Win64 (assembler, resource compiler, linker, debugger and information)\" target=\"_blank\">GoRC.exe<\/a>\u3067\u3082\u30ea\u30bd\u30fc\u30b9\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u3067\u304d\u308b\u3088\u3046\u306a\u306e\u3067\u3001\u3053\u308c\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u300c<a href=\"http:\/\/www.godevtool.com\/#64\" title=\"Jeremy Gordon's Go Tools for Win32 and Win64 (assembler, resource compiler, linker, debugger and information)\" target=\"_blank\">64-bit programming using the &#8220;Go&#8221; tools<\/a>\u300d\u304b\u3089\u300c<span style=\"color: #ff0000; font-weight: bold;\">Gorc.zip<\/span>\u300d\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">C:\\System\\Gorc<\/span>\u300d\u30d5\u30a9\u30eb\u30c0\u306b\u89e3\u51cd\u3057\u307e\u3059\u3002<\/li>\n<li>\u4e0a\u8a18\u624b\u9806\u3067\u4f5c\u6210\u3057\u305f\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb(SampleNameSpace.manifest)\u3092GoRC.exe\u3068\u540c\u3058\u30d5\u30a9\u30eb\u30c0(C:\\System\\Gorc)\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/li>\n<li>\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u4e0b\u8a18\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<p><strong>C:\\System\\Gorc\\SampleNameSpace.rc<\/strong><\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">#include &lt;windows.h&gt;\r\n#define MANIFEST_RESOURCE_ID 1\r\nMANIFEST_RESOURCE_ID RT_MANIFEST SampleNameSpace.manifest<\/pre>\n<li>\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001\u30ea\u30bd\u30fc\u30b9(res)\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">C:\\System\\Gorc&gt;GoRC \/r &quot;SampleNameSpace.rc&quot;<\/pre>\n<li>\u4f5c\u6210\u3057\u305f<span style=\"color: #ff0000; font-weight: bold;\">SampleNameSpace.res<\/span>\u30d5\u30a1\u30a4\u30eb\u3092\u300c<span style=\"color: #ff0000; font-weight: bold;\">C:\\System<\/span>\u300d\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<h4 class=\"style4a\">\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u30b3\u30f3\u30d1\u30a4\u30eb<\/h4>\n<p>\u30ea\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u306e\u6e96\u5099\u304c\u3067\u304d\u305f\u3089\u3001\u6b21\u306f\u30b3\u30f3\u30d1\u30a4\u30eb(<a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/8f2f5x2e.aspx\" title=\"\/win32res (C# \u30b3\u30f3\u30d1\u30a4\u30e9 \u30aa\u30d7\u30b7\u30e7\u30f3)\" target=\"_blank\">\/win32res<\/a>\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30ea\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u6307\u5b9a)\u3057\u3066DLL\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><textarea rows=\"2\" cols=\"60\">&#34;C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\csc.exe&#34; \/target:library \/win32res:&#34;C:\\System\\SampleNameSpace.res&#34; \/out:&#34;C:\\System\\SampleNameSpace.dll&#34; &#34;C:\\System\\SampleNameSpace.cs&#34;<\/textarea><\/p>\n<p>\u554f\u984c\u304c\u7121\u3051\u308c\u3070\u300c<span style=\"color: #ff0000; font-weight: bold;\">C:\\System<\/span>\u300d\u30d5\u30a9\u30eb\u30c0\u306b\u300c<span style=\"color: #ff0000; font-weight: bold;\">SampleNameSpace.dll<\/span>\u300d\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<h4 class=\"style4a\">VBA\u304b\u3089\u306e\u547c\u3073\u51fa\u3057<\/h4>\n<p>VBA\u304b\u3089\u547c\u3073\u51fa\u3059\u524d\u306b\u3001\u547c\u3073\u51fa\u3057\u5143(\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074)\u306e\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u6e96\u5099\u3057\u307e\u3059\u3002<\/p>\n<p><strong>C:\\System\\SampleNameSpace.client.manifest<\/strong><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;\r\n&lt;assembly xmlns=&quot;urn:schemas-microsoft-com:asm.v1&quot; manifestVersion=&quot;1.0&quot;&gt;\r\n  &lt;assemblyIdentity name = &quot;client&quot; version = &quot;1.0.0.0&quot; \/&gt;\r\n  &lt;dependency&gt;\r\n    &lt;dependentAssembly&gt;\r\n      &lt;assemblyIdentity name=&quot;SampleNameSpace&quot; version=&quot;1.0.0.0&quot; processorArchitecture=&quot;MSIL&quot; \/&gt;\r\n    &lt;\/dependentAssembly&gt;\r\n  &lt;\/dependency&gt;\r\n&lt;\/assembly&gt;<\/pre>\n<p>\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u6e96\u5099\u304c\u3067\u304d\u305f\u3089\u3001\u3044\u3088\u3044\u3088VBA\u304b\u3089\u306e\u547c\u3073\u51fa\u3057\u3067\u3059\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Public Sub Sample()\r\n  Dim obj As Object\r\n  \r\n  With CreateObject(&quot;Microsoft.Windows.ActCtx&quot;)\r\n    .Manifest = &quot;C:\\System\\SampleNameSpace.client.manifest&quot;\r\n    Set obj = .CreateObject(&quot;Sample.ProgId&quot;)\r\n    MsgBox obj.Hoge(&quot;ABC&quot;)\r\n  End With\r\nEnd Sub<\/pre>\n<p>ProgId\u3092\u6307\u5b9a\u3057\u3066Microsoft.Windows.ActCtx.CreateObject\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u3066\u3001\u4e0a\u624b\u304f\u3044\u3051\u3070Hoge\u30e1\u30bd\u30c3\u30c9\u306e\u7d50\u679c\u304c\u30e1\u30c3\u30bb\u30fc\u30b8\u30dc\u30c3\u30af\u30b9\u3067\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u30fb\u30fb\u30fb\u304c\u3001\u8fd4\u3063\u3066\u304d\u305f\u306e\u306f\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u5b9f\u884c\u6642\u30a8\u30e9\u30fc &#8216;-2147024894 (80070002)&#8217;:\u30aa\u30fc\u30c8\u30e1\u30fc\u30b7\u30e7\u30f3 \u30a8\u30e9\u30fc\u3067\u3059\u3002\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002<\/span>\u300d\u30a8\u30e9\u30fc\u3002<\/p>\n<p>\u300c<a href=\"http:\/\/stackoverflow.com\/questions\/15503117\/cannot-get-registration-free-com-working-from-vba\" title=\".net - Cannot get registration-free COM working from VBA - Stack Overflow\" target=\"_blank\">Cannot get registration-free COM working from VBA<\/a>\u300d\u3084\u300c<a href=\"http:\/\/stackoverflow.com\/questions\/9805228\/regfree-com-working-from-c-not-working-from-vba\" title=\".net - RegFree COM working from C#, NOT working from VBA - Stack Overflow\" target=\"_blank\">RegFree COM working from C#, NOT working from VBA<\/a>\u300d\u3092\u898b\u308b\u3068\u3001<span style=\"color: #ff0000; font-weight: bold;\">\u201cDLL\u3092VBA\u306e\u5b9f\u884c\u5143(Excel\u306a\u3089EXCEL.EXE)\u3068\u540c\u3058\u30d5\u30a9\u30eb\u30c0\u306b\u7f6e\u3044\u305f\u3089\u52d5\u3044\u305f\u201d<\/span>\u3068\u306e\u3053\u3068\u3060\u3063\u305f\u306e\u3067\u3001DLL\u30d5\u30a1\u30a4\u30eb\u3092Office\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0\u306b\u30b3\u30d4\u30fc\u3057\u3066\u518d\u5b9f\u884c\u3057\u305f\u3068\u3053\u308d\u3001\u7121\u4e8b\u306b\u30b3\u30fc\u30c9\u304c\u5b9f\u884c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u3057\u304b\u3057\u306a\u304c\u3089\u3001RegAsm\u3057\u305f\u304f\u306a\u3044\u304b\u3089Microsoft.Windows.ActCtx\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3063\u305f\u3068\u3044\u3046\u306e\u306b\u3001\u7d50\u5c40Office\u30d5\u30a9\u30eb\u30c0\u3078\u306e\u30b3\u30d4\u30fc\u304c\u5fc5\u8981\u3068\u306f\u30fb\u30fb\u30fb\u3002<br \/>\n\u3053\u308c\u306a\u3089\u7d20\u76f4\u306bRegAsm\u3057\u305f\u65b9\u304c\u30de\u30b7\u306a\u3088\u3046\u306a\u6c17\u304c\u3057\u307e\u3059\u3002<\/p>\n<p>\u3082\u3057\u304b\u3057\u305f\u3089\u3001\u30b3\u30d4\u30fc\u4e0d\u8981\u3067DLL\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u304c\u3042\u308b\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u305d\u3053\u307e\u3067\u8abf\u3079\u304d\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u4f55\u304b\u9032\u5c55\u304c\u3042\u3063\u305f\u3089\u307e\u305f\u8ffd\u8a18\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e2d\u9014\u534a\u7aef\u306a\u30aa\u30c1\u3067\u3059\u304c\u3001\u53c2\u8003\u306b\u3057\u305fWeb\u30b5\u30a4\u30c8\u3068\u3068\u3082\u306b\u30e1\u30e2\u3068\u3057\u3066\u6b8b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h4 class=\"style4a\">\u53c2\u8003Web\u30da\u30fc\u30b8<\/h4>\n<ul>\n<li>Registration-Free Activation of .NET-Based Components: A Walkthrough<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/ms973915.aspx\" target=\"_blank\" title=\"Registration-Free Activation of .NET-Based Components: A Walkthrough\">https:\/\/msdn.microsoft.com\/ja-jp\/library\/ms973915.aspx<\/a><\/li>\n<li>\u65b9\u6cd5: \u767b\u9332\u3092\u5fc5\u8981\u3068\u3057\u306a\u3044\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30b7\u30e7\u30f3\u7528\u306e .NET Framework \u30d9\u30fc\u30b9\u306e COM \u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u69cb\u6210\u3059\u308b<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/eew13bza.aspx\" target=\"_blank\" title=\"\u65b9\u6cd5: \u767b\u9332\u3092\u5fc5\u8981\u3068\u3057\u306a\u3044\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30b7\u30e7\u30f3\u7528\u306e .NET Framework \u30d9\u30fc\u30b9\u306e COM \u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u69cb\u6210\u3059\u308b\">https:\/\/msdn.microsoft.com\/ja-jp\/library\/eew13bza.aspx<\/a><\/li>\n<li>Microsoft.Windows.ActCtx\u3067WSH\u3067\u3082Reg\u2010Free COM<\/li>\n<li style=\"list-style-type:none;\"><a href=\"http:\/\/dev.activebasic.com\/egtra\/2012\/07\/07\/498\/\" target=\"_blank\" title=\"Microsoft.Windows.ActCtx\u3067WSH\u3067\u3082Reg\u2010Free COM\">http:\/\/dev.activebasic.com\/egtra\/2012\/07\/07\/498\/<\/a><\/li>\n<li>.NET\u3067\u306eRegFree-COM<\/li>\n<li style=\"list-style-type:none;\"><a href=\"http:\/\/dev.activebasic.com\/egtra\/2014\/10\/06\/685\/\" target=\"_blank\" title=\".NET\u3067\u306eRegFree-COM\">http:\/\/dev.activebasic.com\/egtra\/2014\/10\/06\/685\/<\/a><\/li>\n<li>Genman32 &#8211; A tool to generate Sxs manifest for managed assembly for Registration Free COM\/.Net Interop<\/li>\n<li style=\"list-style-type:none;\"><a href=\"http:\/\/blogs.msdn.com\/b\/junfeng\/archive\/2007\/04\/14\/genman32-a-tool-to-generate-sxs-manifest-for-managed-assembly-for-registration-free-com-net-interop.aspx\" target=\"_blank\" title=\"Genman32 - A tool to generate Sxs manifest for managed assembly for Registration Free COM\/.Net Interop\">http:\/\/blogs.msdn.com\/b\/junfeng\/archive\/2007\/04\/14\/genman32-a-tool-to-generate-sxs-manifest-for-managed-assembly-for-registration-free-com-net-interop.aspx<\/a><\/li>\n<li>Side-by-side Assembly Development Tools<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/aa376592.aspx\" target=\"_blank\" title=\"Side-by-side Assembly Development Tools\">https:\/\/msdn.microsoft.com\/ja-jp\/library\/aa376592.aspx<\/a><\/li>\n<li>Registration-Free COM components try-out<\/li>\n<li style=\"list-style-type:none;\"><a href=\"http:\/\/jwbs-blog.blogspot.jp\/2009\/06\/registration-free-com-components.html\" target=\"_blank\" title=\"Registration-Free COM components try-out\">http:\/\/jwbs-blog.blogspot.jp\/2009\/06\/registration-free-com-components.html<\/a><\/li>\n<li>Registration-free COM components try-out (continued)<\/li>\n<li style=\"list-style-type:none;\"><a href=\"http:\/\/jwbs-blog.blogspot.jp\/2009\/06\/registration-free-com-components_16.html\" target=\"_blank\" title=\"Registration-free COM components try-out (continued)\">http:\/\/jwbs-blog.blogspot.jp\/2009\/06\/registration-free-com-components_16.html<\/a><\/li>\n<li>Regfree COM einer .NET-COM-dll mittels Activation Context API unter VB6\/VBA<\/li>\n<li style=\"list-style-type:none;\"><a href=\"https:\/\/social.msdn.microsoft.com\/Forums\/de-DE\/b25144d7-f99a-4951-b16e-b1e1d1194207\/regfree-com-einer-netcomdll-mittels-activation-context-api-unter-vb6vba?forum=dotnetframeworkde\" target=\"_blank\" title=\"Regfree COM einer .NET-COM-dll mittels Activation Context API unter VB6\/VBA\">https:\/\/social.msdn.microsoft.com\/Forums\/de-DE\/b25144d7-f99a-4951-b16e-b1e1d1194207\/regfree-com-einer-netcomdll-mittels-activation-context-api-unter-vb6vba?forum=dotnetframeworkde<\/a><\/li>\n<li>Cannot get registration-free COM working from VBA<\/li>\n<li style=\"list-style-type:none;\"><a href=\"http:\/\/stackoverflow.com\/questions\/15503117\/cannot-get-registration-free-com-working-from-vba\" target=\"_blank\" title=\"Cannot get registration-free COM working from VBA\">http:\/\/stackoverflow.com\/questions\/15503117\/cannot-get-registration-free-com-working-from-vba<\/a><\/li>\n<li>RegFree COM working from C#, NOT working from VBA<\/li>\n<li style=\"list-style-type:none;\"><a href=\"http:\/\/stackoverflow.com\/questions\/9805228\/regfree-com-working-from-c-not-working-from-vba\" target=\"_blank\" title=\"RegFree COM working from C#, NOT working from VBA\">http:\/\/stackoverflow.com\/questions\/9805228\/regfree-com-working-from-c-not-working-from-vba<\/a><\/li>\n<li>COM Side by Side Assemblies using dll&#8217;s from another directory?<\/li>\n<li style=\"list-style-type:none;\"><a href=\"http:\/\/stackoverflow.com\/questions\/9004299\/com-side-by-side-assemblies-using-dlls-from-another-directory\" target=\"_blank\" title=\"COM Side by Side Assemblies using dll's from another directory?\">http:\/\/stackoverflow.com\/questions\/9004299\/com-side-by-side-assemblies-using-dlls-from-another-directory<\/a><\/li>\n<li>COM-Schnittstellen-Elemente<\/li>\n<li style=\"list-style-type:none;\"><a href=\"http:\/\/source.access-codelib.net\/listing.php?repname=CodeLib&#038;path=%2Fbranches%2Fdraft%2Fcom%2F#path_branches_draft_com_\" target=\"_blank\" title=\"COM-Schnittstellen-Elemente\">http:\/\/source.access-codelib.net\/listing.php?repname=CodeLib&#038;path=%2Fbranches%2Fdraft%2Fcom%2F#path_branches_draft_com_<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"C#\u88fd\u306eDLL\u3092VBA\u304b\u3089\u547c\u3073\u51fa\u3059\u306e\u306b\u3044\u3061\u3044\u3061RegAsm\u3059\u308b\u306e\u3082\u9762\u5012\u304f\u3055\u3044\u306a\u30fc\u3001\u3068\u601d\u3063\u3066\u3044\u305f\u3068\u3053\u308d\u3001\u6570\u5e74\u524d\u306ekumatti\u3055\u3093\u306e\u30c4\u30a4\u30fc\u30c8\u3092\u601d\u3044\u51fa\u3057\u307e\u3057\u305f\u3002 XL2013CP\u306e\u4ef6\u306f\u3053\u308c\u3067\u89e3\u6c7a\u3002&#10;\u30ec\u30b8\u30b9\u30c8\u30ea\u672a\u767b\u9332\u3067 [&hellip;]","protected":false},"author":1,"featured_media":7111,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u4e2d\u9014\u534a\u7aef\u306a\u30aa\u30c1\u3002\u3082\u3046\u3061\u3087\u3063\u3068\u4f55\u3068\u304b\u3057\u305f\u3044\u3068\u3053\u308d\u3002 [VBA\u304b\u3089Registration-Free\u3067.NET\u30d9\u30fc\u30b9\u306eDLL\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5]","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,48,49,58],"tags":[],"class_list":["post-6198","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office","category-excel-office","category-word-office","category-powerpoint"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-Excel.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-1BY","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6198"}],"version-history":[{"count":5,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6198\/revisions"}],"predecessor-version":[{"id":6203,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/6198\/revisions\/6203"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7111"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}