Acad Aplication Visibility

Discussion in 'AutoCAD' started by John McDowell, Apr 7, 2004.

  1. When I run VB programs which open Autocad, the instance of the autocad
    application sometimes opens visibly even though I coded ".visible = False".
    How can I make sure that it runs in the background? Below is the code I use
    to open an autocad session.

    Private Sub Open_Acad()
    Set objAcad = CreateObject("Autocad.Application")
    If Err.Number Then
    MsgBox "Unable to launch AutoCad session!", vbCritical, _
    "Update Attributes"
    End
    End If
    objAcad.Visible = False
    End Sub
     
    John McDowell, Apr 7, 2004
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.