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
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 | |
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...