title: how can i access C# dll from VBScript on client machine
body: <p>i have created a C# dll file on my machine as shown below: </p>
  
  <pre><code>namespace myDLL
  {   
     public class myClass
     {
        public string myFunction()
        {
            return "I am Here";
         }
     } 
  }
  </code></pre>
  
  <p>then i created a tlb file with "tlbexp" command,
  then i used the "regasm" command n registered this dll on my machine.</p>
  
  <p>When i created an object of type myClass on my machine using VBScript, everything is working fine... here i used the CreateObject() method as shown below:</p>
  
  <pre><code>Set myObj = CreateObject("myDll.myClass")
  </code></pre>
  
  <p>Now i want to create an object of type myClass from VBScript that is running on another machine, how can i do this. please help me how can i access that dll file, am using the <code>CreateObject()</code> function as shown below:</p>
  
  <pre><code>Set HD = CreateObject("myDll.myClass","myMachineName")
  </code></pre>
  
  <p>now am getting error as "permission denied".</p>