<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can't create new inventor in standalone in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/can-t-create-new-inventor-in-standalone/m-p/2006872#M154214</link>
    <description>The global variable ThisApplication exists within Inventor's VBA.  You're &lt;BR /&gt;
using a variable with this name in the sample code.  Unless you've declared &lt;BR /&gt;
and set it in some code not shown that's probably your problem.&lt;BR /&gt;
&lt;BR /&gt;
In an external application you need to connect to and get the Inventor &lt;BR /&gt;
Application object.  In VB 6 you can use the GetObject function.&lt;BR /&gt;
&lt;BR /&gt;
Dim oApp As Inventor.Application&lt;BR /&gt;
Set oApp = GetObject(,"Inventor.Application")&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Brian Ekins&lt;BR /&gt;
Autodesk Inventor API</description>
    <pubDate>Mon, 02 Jul 2007 02:42:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-07-02T02:42:17Z</dc:date>
    <item>
      <title>Can't create new inventor in standalone</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/can-t-create-new-inventor-in-standalone/m-p/2006871#M154213</link>
      <description>I'm using VB 6 to create a stand alone application.&lt;BR /&gt;
&lt;BR /&gt;
The following lines generates error 429 &lt;BR /&gt;
ActiveX component can't create object&lt;BR /&gt;
&lt;BR /&gt;
 &lt;BR /&gt;
    Dim oDoc As Document&lt;BR /&gt;
    Set oDoc = ThisApplication.Documents.Add(kPartDocumentObject)</description>
      <pubDate>Thu, 28 Jun 2007 15:54:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/can-t-create-new-inventor-in-standalone/m-p/2006871#M154213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-06-28T15:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can't create new inventor in standalone</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/can-t-create-new-inventor-in-standalone/m-p/2006872#M154214</link>
      <description>The global variable ThisApplication exists within Inventor's VBA.  You're &lt;BR /&gt;
using a variable with this name in the sample code.  Unless you've declared &lt;BR /&gt;
and set it in some code not shown that's probably your problem.&lt;BR /&gt;
&lt;BR /&gt;
In an external application you need to connect to and get the Inventor &lt;BR /&gt;
Application object.  In VB 6 you can use the GetObject function.&lt;BR /&gt;
&lt;BR /&gt;
Dim oApp As Inventor.Application&lt;BR /&gt;
Set oApp = GetObject(,"Inventor.Application")&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Brian Ekins&lt;BR /&gt;
Autodesk Inventor API</description>
      <pubDate>Mon, 02 Jul 2007 02:42:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/can-t-create-new-inventor-in-standalone/m-p/2006872#M154214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-02T02:42:17Z</dc:date>
    </item>
  </channel>
</rss>

