<?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: Accessing AutoCAD via a VB .NET form in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498465#M83221</link>
    <description>An invitation-only blog ?&lt;BR /&gt;
&lt;BR /&gt;
Lol.  What a riot.&lt;BR /&gt;
&lt;BR /&gt;
Don't waste your time.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2008&lt;BR /&gt;
Supporting AutoCAD 2000 through 2008&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;PARENT&gt; wrote in message news:5694786@discussion.autodesk.com...&lt;BR /&gt;
How do we get access to your blog? It seems to be by invitation only?&lt;/PARENT&gt;</description>
    <pubDate>Mon, 20 Aug 2007 13:51:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-08-20T13:51:40Z</dc:date>
    <item>
      <title>Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498442#M83198</link>
      <description>I am working on an existing program that a colleague of mine started and I have inherited to make work (the employee is no longer with our company).  It is a VB Windows Application project that contains a form.  The form allows the user to browse and select dwg files that will then be used to create plot files.  I am running into an error message when I first try to access AutoCAD.  Here is what I have so far:&lt;BR /&gt;
&lt;BR /&gt;
Imports System&lt;BR /&gt;
Imports System.Runtime.InteropServices&lt;BR /&gt;
Imports Autodesk.AutoCAD.Runtime&lt;BR /&gt;
Imports Autodesk.AutoCAD.ApplicationServices&lt;BR /&gt;
Imports Autodesk.AutoCAD.DatabaseServices&lt;BR /&gt;
&lt;BR /&gt;
Imports acadApp = Autodesk.AutoCAD.ApplicationServices.Application&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Public Class frmMain&lt;BR /&gt;
    Inherits System.Windows.Forms.Form&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
    Public dwgBrowse As String&lt;BR /&gt;
    Public pltBrowse As String&lt;BR /&gt;
&lt;BR /&gt;
    Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;BR /&gt;
&lt;BR /&gt;
        'load set defaults for paper tabs&lt;BR /&gt;
        Me.Text = "PBK Plot Utility " &amp;amp; System.Windows.Forms.Application.ProductVersion&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
    End Sub&lt;BR /&gt;
&lt;BR /&gt;
    Private Sub btnCreate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCreate.Click&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
       &lt;BR /&gt;
        Dim x As Integer&lt;BR /&gt;
        Dim sWait As Integer = 0&lt;BR /&gt;
&lt;BR /&gt;
       acadApp.MainWindow.Visible = True&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
There is a lot more to the program (I haven't included all the routines that browse and select files, for example), but this is what I'm trying to accomplish right now.  When the program gets to the line:&lt;BR /&gt;
&lt;BR /&gt;
acadApp.MainWindow.Visible = True, &lt;BR /&gt;
&lt;BR /&gt;
It highlights the line:&lt;BR /&gt;
&lt;BR /&gt;
Public Class frmMain&lt;BR /&gt;
&lt;BR /&gt;
And I get the following error:  &lt;BR /&gt;
&lt;BR /&gt;
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in system.windows.forms.dll&lt;BR /&gt;
Additional information: File or assembly name acmgd, or one of its dependencies, was not found.&lt;BR /&gt;
&lt;BR /&gt;
I have loaded acmgd.dll and acdbmgd.dll into the References.  I am running AutoCAD 2006 and Visual Studio 2003.  Any help would be greatly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Christy</description>
      <pubDate>Wed, 30 Nov 2005 19:29:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498442#M83198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-11-30T19:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498443#M83199</link>
      <description>Is this a windows application (e.g., an .EXE file) or a DLL&lt;BR /&gt;
that you are loading into AutoCAD via NETLOAD?&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;CCTBAILEY&gt; wrote in message news:5025884@discussion.autodesk.com...&lt;BR /&gt;
I am working on an existing program that a colleague of mine started and I have inherited to make work (the employee is no longer with our company).  It is a VB Windows Application project that contains a form.  The form allows the user to browse and select dwg files that will then be used to create plot files.  I am running into an error message when I first try to access AutoCAD.  Here is what I have so far:&lt;BR /&gt;
&lt;BR /&gt;
Imports System&lt;BR /&gt;
Imports System.Runtime.InteropServices&lt;BR /&gt;
Imports Autodesk.AutoCAD.Runtime&lt;BR /&gt;
Imports Autodesk.AutoCAD.ApplicationServices&lt;BR /&gt;
Imports Autodesk.AutoCAD.DatabaseServices&lt;BR /&gt;
&lt;BR /&gt;
Imports acadApp = Autodesk.AutoCAD.ApplicationServices.Application&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Public Class frmMain&lt;BR /&gt;
    Inherits System.Windows.Forms.Form&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
    Public dwgBrowse As String&lt;BR /&gt;
    Public pltBrowse As String&lt;BR /&gt;
&lt;BR /&gt;
    Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;BR /&gt;
&lt;BR /&gt;
        'load set defaults for paper tabs&lt;BR /&gt;
        Me.Text = "PBK Plot Utility " &amp;amp; System.Windows.Forms.Application.ProductVersion&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
    End Sub&lt;BR /&gt;
&lt;BR /&gt;
    Private Sub btnCreate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCreate.Click&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
       &lt;BR /&gt;
        Dim x As Integer&lt;BR /&gt;
        Dim sWait As Integer = 0&lt;BR /&gt;
&lt;BR /&gt;
       acadApp.MainWindow.Visible = True&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
There is a lot more to the program (I haven't included all the routines that browse and select files, for example), but this is what I'm trying to accomplish right now.  When the program gets to the line:&lt;BR /&gt;
&lt;BR /&gt;
acadApp.MainWindow.Visible = True, &lt;BR /&gt;
&lt;BR /&gt;
It highlights the line:&lt;BR /&gt;
&lt;BR /&gt;
Public Class frmMain&lt;BR /&gt;
&lt;BR /&gt;
And I get the following error:  &lt;BR /&gt;
&lt;BR /&gt;
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in system.windows.forms.dll&lt;BR /&gt;
Additional information: File or assembly name acmgd, or one of its dependencies, was not found.&lt;BR /&gt;
&lt;BR /&gt;
I have loaded acmgd.dll and acdbmgd.dll into the References.  I am running AutoCAD 2006 and Visual Studio 2003.  Any help would be greatly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Christy&lt;/CCTBAILEY&gt;</description>
      <pubDate>Wed, 30 Nov 2005 23:29:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498443#M83199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-11-30T23:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498444#M83200</link>
      <description>A windows application (.exe file).&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Christy</description>
      <pubDate>Wed, 30 Nov 2005 23:30:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498444#M83200</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-11-30T23:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498445#M83201</link>
      <description>You can't use the managed wrappers for ObjectARX&lt;BR /&gt;
in a standalone application, or from any other process.&lt;BR /&gt;
&lt;BR /&gt;
They can only be used by a DLL that's loaded into&lt;BR /&gt;
AutoCAD using NETLOAD.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;CCTBAILEY&gt; wrote in message news:5026149@discussion.autodesk.com...&lt;BR /&gt;
A windows application (.exe file).&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Christy&lt;/CCTBAILEY&gt;</description>
      <pubDate>Thu, 01 Dec 2005 00:27:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498445#M83201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-01T00:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498446#M83202</link>
      <description>Am I correct in my understanding that you cannot use forms with the DLL that's loaded into AutoCAD?  In other words, there's no way to do what I'm trying to do with VB .NET, but rather I need to use VBA?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Christy</description>
      <pubDate>Thu, 01 Dec 2005 14:25:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498446#M83202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-01T14:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498447#M83203</link>
      <description>Or, would it be possible to create dll files for the AutoCAD stuff I need to do, and then use those dlls in a WIndows application so that I can have that functionality inside a windows (.exe) application?  I've read some things that make it sound like I could do that.  Would it work?  Or would it still be better to use VBA?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Christy</description>
      <pubDate>Thu, 01 Dec 2005 16:10:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498447#M83203</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-01T16:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498448#M83204</link>
      <description>I have had success using the .NET wrapper classes from out of process by exposing them with a DLL loaded in AutoCAD and then accessing that via .NET remoting.  If this sounds like what you are looking for let me know and I will try to put together a code sample.</description>
      <pubDate>Thu, 01 Dec 2005 21:42:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498448#M83204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-01T21:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498449#M83205</link>
      <description>You can use forms in a DLL that's loaded into AutoCAD.&lt;BR /&gt;
&lt;BR /&gt;
What you can't do, is load a DLL that uses AutoCAD's&lt;BR /&gt;
managed API into another process.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;CCTBAILEY&gt; wrote in message news:5026543@discussion.autodesk.com...&lt;BR /&gt;
Am I correct in my understanding that you cannot use forms with the DLL that's loaded into AutoCAD?  In other words, there's no way to do what I'm trying to do with VB .NET, but rather I need to use VBA?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Christy&lt;/CCTBAILEY&gt;</description>
      <pubDate>Thu, 01 Dec 2005 21:49:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498449#M83205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-01T21:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498450#M83206</link>
      <description>hi mike,&lt;BR /&gt;
           i am also looking for same kind of code.if you will send the code , i will be more thankful to you.</description>
      <pubDate>Fri, 02 Dec 2005 04:59:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498450#M83206</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-02T04:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498451#M83207</link>
      <description>I am currently working on a series of posts about this topic on my blog (http:\\snippetsandmusings.blogspot.com).  I know this is a transparent effort to get some hits, but actually it is a lot easier to lay things out and present a thorough tutorial in one's own space.  Also, I am doing it anyway so why duplicate code (it's a sin).</description>
      <pubDate>Fri, 02 Dec 2005 12:43:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498451#M83207</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-02T12:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498452#M83208</link>
      <description>Thanks everyone, for the information.  I would be very interested in some code/example.  I have been asked to try and make this work in VB .NET instead of VBA, however I am finding that VB .NET is a whole different ball of wax than VB. Any help would be greatly appreciated, as I am pretty much completely confused now (it seems that what I want to do is possible, but I'm not sure yet how to pull it off).  I will check out your blog.&lt;BR /&gt;
&lt;BR /&gt;
Christy</description>
      <pubDate>Fri, 02 Dec 2005 15:39:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498452#M83208</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-02T15:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498453#M83209</link>
      <description>Here's a quick very basic exe 10 minute HOW TO that may be of help.&lt;BR /&gt;
Using Visual Studio 2005 and AutoCAD 2006.</description>
      <pubDate>Fri, 02 Dec 2005 18:11:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498453#M83209</guid>
      <dc:creator>Mikko</dc:creator>
      <dc:date>2005-12-02T18:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498454#M83210</link>
      <description>I have Visual Studio 2003, and can't open this example.  Can it be saved back to the 2003 version?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Christy</description>
      <pubDate>Fri, 09 Dec 2005 17:55:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498454#M83210</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-09T17:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498455#M83211</link>
      <description>Just create a new windows app with 2003. Set a reference to AutoCAD/ObjectDBX Common 16.0 Type Library and the AutoCAD 2006 Type Library.  Add four buttons called Go, WholeDirectory, ClearList and RetrieveDwgs.  Add  a list box.  Add a FolderBrowserDialog and OpenFileDialog control.  Unzip that 2005 app and open the Form1.vb form with textpad, notepad or some such thing and cut and paste the code from that form into your code behide form in your app.  You'll need to rem out one of the two acadDoc.Close(False, ThisDwg).  One is in the processdwg sub and the other is in the in the try catch statment in the go sub, you only can close the drawing once so the existing code I posted has an error in it.&lt;BR /&gt;
I don't have 2003 running at the moment.</description>
      <pubDate>Mon, 12 Dec 2005 11:38:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498455#M83211</guid>
      <dc:creator>Mikko</dc:creator>
      <dc:date>2005-12-12T11:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498456#M83212</link>
      <description>OK, I am confused.  Tony posted above that you can't use the managed wrappers for ObjectARX in a standalone application, however an example of a Windows application that accesses AutoCAD has been posted by Mikko above.  What gives?  Is Mikko not using the Managed Wrappers for Object ARX?  It doesn't really matter to me how it works as long as it works.  I have spend the last week and a half trying to figure out how to create a windows application that calls a dll as you have suggested, and then when I finally look at this example, there is no dll involved.  Please help me understand!!&lt;BR /&gt;
&lt;BR /&gt;
Thanks so much for your help.&lt;BR /&gt;
Christy

Message was edited by: cctbailey</description>
      <pubDate>Mon, 12 Dec 2005 19:53:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498456#M83212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-12T19:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498457#M83213</link>
      <description>AutoCAD exposes a number of API's.  The newest is the .NET API.  It has&lt;BR /&gt;
exposed a COM API since R2000.  Well, R14 if you want to get picky.  The&lt;BR /&gt;
.NET API is what is being referred to when someone says Managed Wrappers for&lt;BR /&gt;
ObjectARX.&lt;BR /&gt;
&lt;BR /&gt;
Here's where you are getting confused.  Mikko's .NET app is targeting the&lt;BR /&gt;
COM API, not the .NET API.  Just because he is using VB.NET don't assume&lt;BR /&gt;
that his code accessing the AutoCAD .NET API.&lt;BR /&gt;
&lt;BR /&gt;
The COM API allows you to run code out of process with AutoCAD, just like&lt;BR /&gt;
Mikko's code shows.  However, it's important that you understand the&lt;BR /&gt;
performance implications if you go this route.  IOW, it's slow as molasses&lt;BR /&gt;
in February.  Also, the COM API exposes a completely different set of types&lt;BR /&gt;
than the .NET API.  If this isn't a concern for your app and the COM types&lt;BR /&gt;
handle everything you need, then this is a simple route to go.&lt;BR /&gt;
&lt;BR /&gt;
It is possible to write a windows app that runs out of process from AutoCAD&lt;BR /&gt;
but loads a dll in process with it, eliminating the performance issue.&lt;BR /&gt;
However this is done via COM and you will have to expose your .NET assembly&lt;BR /&gt;
to COM in order to take advantage of it.&lt;BR /&gt;
--&lt;BR /&gt;
Bobby C. Jones&lt;BR /&gt;
http://www.acadx.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;CCTBAILEY&gt; wrote in message news:5035777@discussion.autodesk.com...&lt;BR /&gt;
OK, I am confused.  Tony posted above that you can't use the managed&lt;BR /&gt;
wrappers for ObjectARX in a standalone application, however an example of a&lt;BR /&gt;
Windows application that accesses AutoCAD has been posted by Mikko above.&lt;BR /&gt;
What gives?  Is Mikko not using the Managed Wrappers for Object ARX?  It&lt;BR /&gt;
doesn't really matter to me how it works as long as it works.  I have spend&lt;BR /&gt;
the last week and a half trying to figure out how to create a windows&lt;BR /&gt;
application that calls a dll as you have suggested, and then when I finally&lt;BR /&gt;
look at this example, there is no dll involved.  Please help me understand!!&lt;BR /&gt;
&lt;BR /&gt;
Thanks so much for your help.&lt;BR /&gt;
Christy&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: cctbailey&lt;/CCTBAILEY&gt;</description>
      <pubDate>Mon, 12 Dec 2005 21:44:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498457#M83213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-12T21:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498458#M83214</link>
      <description>Thanks so much for the clarification - it's starting to make sense to me, although it's still a little unclear since I'm pretty new to .NET (I've done plenty of VBA programming in AutoCAD, and some Visual Basic windows application programming years ago).  &lt;BR /&gt;
&lt;BR /&gt;
So I guess my question is, what would you use to write this program?  Basically, I am trying to allow the user to select drawings, and the program will create plt files, with an option to plot the files as well.  My boss has asked that I try to make this work in VB .NET, since it is "the wave of the future", but what would you recommend?&lt;BR /&gt;
&lt;BR /&gt;
Thanks again,&lt;BR /&gt;
Christy</description>
      <pubDate>Mon, 12 Dec 2005 22:04:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498458#M83214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-12T22:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498459#M83215</link>
      <description>Well, I personally would explain to the boss that what tool to use for any&lt;BR /&gt;
given application probably shouldn't be driven by Microsoft catch phrases&lt;BR /&gt;
:-)  I would review the specifications, your current AutoCAD version and&lt;BR /&gt;
your upgrade plans, your own knowledge, your timeline, and any number of&lt;BR /&gt;
other variables before making that decision.&lt;BR /&gt;
&lt;BR /&gt;
I haven't yet touched the acad .NET plot API, so I can't give you any&lt;BR /&gt;
specific advise on it at all.  I have used the COM plot API, but not to do&lt;BR /&gt;
what you are doing.  I think that the COM API can handle it.  If I were in&lt;BR /&gt;
your shoes and I had the time, I'd at least research the .NET API.&lt;BR /&gt;
&lt;BR /&gt;
Whether you go with the COM or the .NET API you can use VB.NET as your&lt;BR /&gt;
coding environment.&lt;BR /&gt;
--&lt;BR /&gt;
Bobby C. Jones&lt;BR /&gt;
http://www.acadx.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;CCTBAILEY&gt; wrote in message news:5035955@discussion.autodesk.com...&lt;BR /&gt;
Thanks so much for the clarification - it's starting to make sense to me,&lt;BR /&gt;
although it's still a little unclear since I'm pretty new to .NET (I've done&lt;BR /&gt;
plenty of VBA programming in AutoCAD, and some Visual Basic windows&lt;BR /&gt;
application programming years ago).&lt;BR /&gt;
&lt;BR /&gt;
So I guess my question is, what would you use to write this program?&lt;BR /&gt;
Basically, I am trying to allow the user to select drawings, and the program&lt;BR /&gt;
will create plt files, with an option to plot the files as well.  My boss&lt;BR /&gt;
has asked that I try to make this work in VB .NET, since it is "the wave of&lt;BR /&gt;
the future", but what would you recommend?&lt;BR /&gt;
&lt;BR /&gt;
Thanks again,&lt;BR /&gt;
Christy&lt;/CCTBAILEY&gt;</description>
      <pubDate>Mon, 12 Dec 2005 22:32:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498459#M83215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-12T22:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498460#M83216</link>
      <description>hi mike,&lt;BR /&gt;
        Wincadapp has helped me a lot for the progress in my project.....i have a small doubt..how to select the drawing which is opened using the wincadapp......it will be a great help if u send me the source code for selecting the drawing&lt;BR /&gt;
thank you....&lt;BR /&gt;
Mahesh</description>
      <pubDate>Tue, 17 Apr 2007 12:33:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498460#M83216</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-17T12:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing AutoCAD via a VB .NET form</title>
      <link>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498461#M83217</link>
      <description>Christy,&lt;BR /&gt;
   Forgive me if I am about to ask a stupid question but why are you trying to create something that seems to exist? What you are trying to do seems to be available in the PUBLISH command.&lt;BR /&gt;
&lt;BR /&gt;
Am I missing something??&lt;BR /&gt;
&lt;BR /&gt;
Josh</description>
      <pubDate>Tue, 17 Apr 2007 16:09:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/accessing-autocad-via-a-vb-net-form/m-p/1498461#M83217</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-17T16:09:46Z</dc:date>
    </item>
  </channel>
</rss>

