title: Why is activeX failing to create an object from a Labview executable?
body: <p>Here is my scenario.  I am using Quicktest Pro (VB) to create an ActiveX object from a Labview VI that I built into an executable.  In the build specs of the VI I have enabled ActiveX server option (ActiveX server name: "MyLabviewProgram") and in the VI Tools>Options>VI Server: Configuration the ActiveX box is checked.</p>
  
  <p>So in QTP my code is:</p>
  
  <pre><code>Set IvApp = CreateObject("MyLabviewProgram.Application")
  Set Vi = IvApp.getVIReference("MyLabviewVI.vi")
  Vi.Call ParamNames, ParamVals
  </code></pre>
  
  <p>Upon running this I get a Run Error on the first line: </p>
  
  <blockquote>
    <p>ActiveX component can't create object: 'MyLabviewProgram.Application'</p>
  </blockquote>
  
  <p>I am having trouble figuring out why it errors.  From National Instruments website they have a step in on one of their community pages about "LabVIEW Executable Used as ActiveX Server".  The step is after building the EXE, 5. Run the EXE at least once on the target to activate the .TLB file.  I've run the executable but not sure what they mean by on the target.</p>
  
  <p>Does anyone have a suggestion on what I need to do to get this working?</p>