<?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: Loading app inside AutoCAD app only in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/loading-app-inside-autocad-app-only/m-p/1515324#M83046</link>
    <description>See Tony's first reply in the following thread.&lt;BR /&gt;
http://discussion.autodesk.com/thread.jspa?messageID=4898361&lt;BR /&gt;
&lt;BR /&gt;
Regards - Nathan</description>
    <pubDate>Wed, 21 Dec 2005 21:43:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-12-21T21:43:29Z</dc:date>
    <item>
      <title>Loading app inside AutoCAD app only</title>
      <link>https://forums.autodesk.com/t5/net-forum/loading-app-inside-autocad-app-only/m-p/1515323#M83045</link>
      <description>I am trying to load my .NET application inside of AutoCAD.  I do not want it &lt;BR /&gt;
to run outside the AutoCAD application.  So when minimized it does not show &lt;BR /&gt;
minimized in the taskbar it only shows minimized in the AutoCAD app.  In VB6 &lt;BR /&gt;
I would do this:&lt;BR /&gt;
&lt;BR /&gt;
Option Explicit&lt;BR /&gt;
Private Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, &lt;BR /&gt;
ByVal hWndNewParent As Long) As Long&lt;BR /&gt;
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal &lt;BR /&gt;
lpClassName As String, ByVal lpWindowName As String) As Long&lt;BR /&gt;
&lt;BR /&gt;
Dim ObjAcad As AcadApplication&lt;BR /&gt;
&lt;BR /&gt;
Private Sub Form_Load()&lt;BR /&gt;
    Dim Hwnd As Long&lt;BR /&gt;
    Set ObjAcad = GetObject(, "AutoCAD.application")&lt;BR /&gt;
    Hwnd = FindWindow(vbNullString, ObjAcad.Caption)&lt;BR /&gt;
    SetParent Me.Hwnd, Hwnd&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Any Ideas would be appreciated!!&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Wed, 21 Dec 2005 16:57:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/loading-app-inside-autocad-app-only/m-p/1515323#M83045</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-21T16:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Loading app inside AutoCAD app only</title>
      <link>https://forums.autodesk.com/t5/net-forum/loading-app-inside-autocad-app-only/m-p/1515324#M83046</link>
      <description>See Tony's first reply in the following thread.&lt;BR /&gt;
http://discussion.autodesk.com/thread.jspa?messageID=4898361&lt;BR /&gt;
&lt;BR /&gt;
Regards - Nathan</description>
      <pubDate>Wed, 21 Dec 2005 21:43:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/loading-app-inside-autocad-app-only/m-p/1515324#M83046</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-21T21:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Loading app inside AutoCAD app only</title>
      <link>https://forums.autodesk.com/t5/net-forum/loading-app-inside-autocad-app-only/m-p/1515325#M83047</link>
      <description>I looked at the link and can not figure out how to create this form.  This &lt;BR /&gt;
is a stand alone application that will only display inside of AutoCAD.  I am &lt;BR /&gt;
just learning VB.NET so I could be missing something.  When I created my &lt;BR /&gt;
form I just created a Windows form.  Should I have created something else?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;NATHAN taylor=""&gt; wrote in message news:5043832@discussion.autodesk.com...&lt;BR /&gt;
See Tony's first reply in the following thread.&lt;BR /&gt;
http://discussion.autodesk.com/thread.jspa?messageID=4898361&lt;BR /&gt;
&lt;BR /&gt;
Regards - Nathan&lt;/NATHAN&gt;</description>
      <pubDate>Thu, 22 Dec 2005 14:57:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/loading-app-inside-autocad-app-only/m-p/1515325#M83047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-22T14:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Loading app inside AutoCAD app only</title>
      <link>https://forums.autodesk.com/t5/net-forum/loading-app-inside-autocad-app-only/m-p/1515326#M83048</link>
      <description>If it is in dot net, it cannot be a stand alone application unless you are using com interop. &lt;BR /&gt;
&lt;BR /&gt;
You could make it a .dll and use netload.&lt;BR /&gt;
&lt;BR /&gt;
Chris Arps</description>
      <pubDate>Thu, 22 Dec 2005 21:27:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/loading-app-inside-autocad-app-only/m-p/1515326#M83048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-22T21:27:42Z</dc:date>
    </item>
  </channel>
</rss>

