Results 1 to 2 of 2

Thread: why does the acadApp need to be visible?

  1. #1
    agonzalez Guest

    why does the acadApp need to be visible?

    I'm wondering if there is a reason for why when manipulating the AutoCAD
    application via COM is it necessary to have it's window be visible:

    acadApp.Visible = true;

    If it is not visible this ocurrs:

    An unhandled exception of type
    'System.Runtime.InteropServices.COMException' occurred in ConvertDWG.exe
    Additional information: AutoCAD main window is invisible

    Any insight:

    Thanks,

    Alex

  2. #2
    Wyatt Earp Guest
    What API call does the exception occur on? I have done quite a bit of
    stuff with c# (looks like the language you are using) without any bit
    of AutoCAD visible (though I did have my form visible).

Similar Threads

  1. Replies: 1
    Last Post: 12-08-2005, 01:10 AM
  2. E-Drawings - Edges Visible
    By BWelch@carrollhealthcare. in forum SolidWorks
    Replies: 6
    Last Post: 09-20-2005, 01:10 AM
  3. Replies: 0
    Last Post: 03-17-2005, 05:15 PM
  4. PLT Files - No Text Visible
    By andyww14 in forum AutoCAD
    Replies: 11
    Last Post: 02-24-2005, 08:13 AM
  5. Visible-Invisible
    By ...megan in forum Customization
    Replies: 6
    Last Post: 01-21-2005, 01:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - Exchange Server Forum