title: vb6 :create object dynamically
body: <p>In vb6, i can do :</p>
  
  <pre><code>set object=new class
  </code></pre>
  
  <p>where object is a Object and Class is a class defined in the code.</p>
  
  <p>Now, i want to do the same dynamically, i want to do something like:</p>
  
  <pre><code>set object=createobject("class")
  </code></pre>
  
  <p>but it fail because createobject is apparently for activex registered class and not class modules.</p>