In AutoCAD Release 2000, Visual LISP will no longer compile ARX files, only VLX files. You cannot demand load VLX files with settings in the Windows registry. The attached program, VLXLoad.arx, can be used to demand load VLX files. Using the attached ARX file VLXLoad.arx, you can demand load a vlx file of the same name in the same folder as the ARX file. If you wish, you can recompile the ARX program with the filename of your VLX file hard-coded. 1. Open the attachment in this email. 2. Copy VLXLoad.arx to the same folder where you have your VLX file and rename VLXLoad.arx to the same name as your VLX file. Example: Your VLX file is called MyApp.vlx and is in the C:\Program Files\My Company\MyProduct folder. Copy VLXLoad.arx to the C:\Program Files\My Company\MyProduct folder and rename it to MyApp.arx. 3. Create your registry settings the same way you would set them up for demand loading any other ARX file. You only need the Loader key in your application's registry tree. 4. Open AutoCAD 2000 and try using one of the command functions that you have defined in your VLX file. 5. Open a new document and try to use the same command function again. If you would prefer to hard-code a VLX filepath into the ARX file you can use Visual C++ 6.0 to recompile the CPP with the filename as an argument to the LoadVLX function. The file MyApp.vlx must be in the same folder as MyApp.arx. Example: case AcRx::kInitAppMsg: //Initialize application acrxUnlockApplication( pkt ); acrxDynamicLinker->registerAppMDIAware( pkt ); LoadVLX("MyApp.vlx"); Many thanks to the following people for their assistance in creating this public domain program: Autodesk Developer Consulting Owen Wengerd, President, ManuSoft ==> http://www.manusoft.com I could not have done this without their help. Please note that if you have any questions about this program, it will probably turn out that I know even less than you do about C++ programming. I'm not kidding, I don't even know how to concatenate two strings in C++. So as much as I would prefer to be helpful to other people, it will almost certainly be a waste of time asking me about it! If you have any questions about AutoLISP, that I know about! Robert Albert Director of Technical Services Microsol Resources Corporation www.microsolresources.com