Autoload DVB through Startup Suite, without needing a stub loader via lisp

Discussion in 'AutoCAD' started by CraigV\(fs\), Sep 24, 2004.

  1. CraigV\(fs\)

    CraigV\(fs\) Guest

    Can this be done.

    I've got a routine with Event Handlers. I'd like to place it in the Startup
    Suite without having to run use "vl-vbarun" to initialize it.

    Thanks for your help.

    Craig
     
    CraigV\(fs\), Sep 24, 2004
    #1
  2. CraigV\(fs\)

    Matt W Guest

    Create an ACAD.DVB file, save it in the support path.
    Create an ACADStartup() sub in the ThisDrawing module

    Add your code there.

    --
    I support two teams: the Red Sox and whoever beats the Yankees.


    | Can this be done.
    |
    | I've got a routine with Event Handlers. I'd like to place it in the
    Startup
    | Suite without having to run use "vl-vbarun" to initialize it.
    |
    | Thanks for your help.
    |
    | Craig
    |
    |
     
    Matt W, Sep 24, 2004
    #2
  3. CraigV\(fs\)

    CraigV\(fs\) Guest

    I'd rather not use that filename since I may be installing it on a system
    which already uses it...
     
    CraigV\(fs\), Sep 24, 2004
    #3
  4. That's the only name you can use. If one exists, then you need to combine
    the two.

    In addition to the ACAD.DVB, you will need a file named ACAD.RX which you
    can create with NotePad. In it you need 1 line of code:

    acadvba - 2000-2002
    acvba - 2004+

    This will ensure that vba has been initialized prior to loading the
    ACAD.DVB file.

    -- Mike
    ___________________________
    Mike Tuersley
    CADalyst's CAD Clinic
    Rand IMAGINiT Technologies
    ___________________________
    the trick is to realize that there is no spoon...
     
    Mike Tuersley, Sep 25, 2004
    #4
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.