Kean Walmsley

July 2009

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Twitter Updates

    follow me on Twitter



    « Getting the type of an AutoCAD solid using .NET | Main | Creating an AutoCAD table using .NET »

    June 01, 2007

    TrackBack

    TrackBack URL for this entry:
    http://www.typepad.com/services/trackback/6a00d83452464869e200d8354bd43e53ef

    Listed below are links to weblogs that reference Showing a splash-screen from your AutoCAD .NET application:

    Comments

    Hi Kean,

    Which reference I make for management of the API of the AutoCad.

    Regards.

    Hi Kélcyo,

    I'm sorry - I don't understand the question...

    If you're asking which assembly references to add to your project, then you need acdbmgd.dll and acmgd.dll.

    Regards,

    Kean

    As a non-coder, how do I find out HOW an ex-colleague made a splash screen and then remove it from the launch of AutoCAD?

    There are many ways he or she may have coded it, so there's no fixed answer, I'm afraid. A programmer should be able to work it out pretty quickly, though, by looking at the project.

    Kean

    My intention is to search given of an archive txt to work in autocad.
    Therefore I do not obtain to make one I dialogue to select the archive.

    Because, when use following code, error?

    Imports Autodesk.AutoCAD.Runtime
    Imports Autodesk.AutoCAD.GraphicsInterface
    Imports Autodesk.AutoCAD.ApplicationServices
    Imports System.Windows.Forms

    Public Class kpsCommands
    Implements Autodesk.AutoCAD.Runtime.IExtensionApplication

    ' Define command 'Asdkcmd1'
    _
    Public Sub Asdkcmd1()
    Dim ss As FrmSplash = New FrmSplash()
    Autodesk.Autocad.ApplicationServices.Application.ShowModelessDialog(Autodesk.AutoCAD.ApplicationServices.Application.MainWindow, ss, False)

    End Sub
    End Class

    It requests premission! It has some thing with the security reference. System.Security.Permission....

    Regards.

    Kelcyo

    Hi Kélcyo,

    I don't know why this is happening on your system. Are you executing code from the dialog itself, rather than just using it as a splashscreen?

    Regards,

    Kean

    Verify your Comment

    Previewing your Comment

    This is only a preview. Your comment has not yet been posted.

    Working...
    Your comment could not be posted. Error type:
    Your comment has been posted. Post another comment

    The letters and numbers you entered did not match the image. Please try again.

    As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

    Having trouble reading this image? View an alternate.

    Working...

    Post a comment

    Feed & Share

    Search