+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 25 of 25
  1. #21
    Luminous Being alanjt's Avatar
    Using
    Civil 3D 2011
    Join Date
    Apr 2008
    Posts
    5,867

    Default

    Registered forum members do not see this ad.

    I just tested it on a dll and it loaded fine.

    Code:
    (defun-q DLLSTART (/)
             (and (findfile "PolylineEdit.dll")
                  (command "_.netload" "PolylineEdit.dll")))
    
    (setq S::STARTUP (append S::STARTUP DLLSTART))
    All else, just stick (command "_.netload" "blah.dll") in your acaddoc.lsp. It doesn't have to be part of the SS:Startup.
    DropBox
    Seann: ...it went crazy ex-girlfriend on me...
    eric_monceaux...its pretty funny seeing two AutoCAD Gods give each other flak...

  2. #22
    Full Member
    Using
    AutoCAD 2011
    Join Date
    Aug 2008
    Location
    Australia
    Posts
    54

    Default

    ok the only ones that work for me are SteveK's first one he supplied and your one just then if all else failed

    (command "_.netload" "blah.dll")

    never mind, i have it working and want to thank you all :-D
    happy days

  3. #23
    Luminous Being alanjt's Avatar
    Using
    Civil 3D 2011
    Join Date
    Apr 2008
    Posts
    5,867

    Default

    Quote Originally Posted by Emily_83 View Post
    ok the only ones that work for me are SteveK's first one he supplied and your one just then if all else failed

    (command "_.netload" "blah.dll")

    never mind, i have it working and want to thank you all :-D
    happy days
    Hoo-ray!
    DropBox
    Seann: ...it went crazy ex-girlfriend on me...
    eric_monceaux...its pretty funny seeing two AutoCAD Gods give each other flak...

  4. #24
    Senior Member Kerry Brown's Avatar
    Using
    not applicable
    Join Date
    Jan 2006
    Location
    Brisbane, Australia UTC+10
    Posts
    190

    Default

    This works for me ..... a simple autoload defined in the partial menu MNL
    only loads the .NET dll when needed, so startup time in minimised ( similar to demand loading)
    Code:
    (defun c:CMD1 ()
      ;;// Codehimbelonga kwb@theSwamp 20070509
      ;;(findfile  "F:\\_VS2008Projects\\Projects\\ACAD-Managed\\CsMgdAcad-ColorLab\\bin\\Release\\CsMgdAcad-ColorLab.dll")
      (command
        "_NETLOAD"
        "F:\\_VS2008Projects\\Projects\\ACAD-Managed\\CsMgdAcad-ColorLab\\bin\\Release\\CsMgdAcad-ColorLab.dll"
      )
      (command "CMD1")
    )
    Command: cmd1
    Concept Code For AC2008, MSVS2005 :: kwb@theSwamp 20070509 ->> ...
    <dll netloads and program runs first instance>
    Command: CMD1
    <program runs subsequent instances>

    Regards
    Kerry


    re-posted from theSwamp
    Perfection is not optional.
    another Swamper

  5. #25
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2012
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    14,093

    Default

    Thanks for sorting through this guys - (yes I did go to bed - was past midnight here..)

    I'm glad you got it working in the end Emily, and thanks for your patience
    Lee Mac Programming

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

    Just another Swamper

Similar Threads

  1. problem in loading menu files
    By karthikv83 in forum AutoLISP, Visual LISP & DCL
    Replies: 0
    Last Post: 12th Nov 2009, 10:09 am
  2. Automatic opening and saving as of many files
    By Enfiel3D in forum AutoCAD General
    Replies: 3
    Last Post: 16th Sep 2009, 03:41 pm
  3. Slow loading time for CAD files printed to PDF
    By nrschmid in forum AutoCAD Drawing Management & Output
    Replies: 0
    Last Post: 5th Apr 2008, 02:20 pm
  4. Loading .vlx files from an MNU?
    By Slickrick2000 in forum AutoLISP, Visual LISP & DCL
    Replies: 2
    Last Post: 12th Dec 2005, 03:21 pm
  5. Automatic Saved files
    By Skeeps in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 15th Jun 2005, 01:33 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts