mcguirepm Posted April 1, 2009 Posted April 1, 2009 I hvae a VB program that is automatically loaded whenever a drawing is opened. It is tied to a menu bar. The problem is that, just recently and only on one machine, AutoCAD is adding its own blank VB project for each drawing file that is openned. When it does this the menu bar cannot find my program, just the blank one. How do I stop it from creating this blank project? Quote
CmdrDuh Posted April 1, 2009 Posted April 1, 2009 You need to provide a little more info, like the name of the dvb file being loaded, network or local search paths, etc Quote
mcguirepm Posted April 1, 2009 Author Posted April 1, 2009 The VB project that AutoCAD creates "ACADProject" and is the drawing path and name and only shows the 'This Drawing' window with nothing in it. The error thrown is, "Run Time Error 424, Object Required." Quote
CmdrDuh Posted April 1, 2009 Posted April 1, 2009 but what is the actual dvb file name? What your getting is in every drawing, the default global project that could be embedded in that file. What is the module your trying to run? Quote
CmdrDuh Posted April 1, 2009 Posted April 1, 2009 it also sounds like you might have a pathing issue on the 1 machine Quote
mcguirepm Posted April 1, 2009 Author Posted April 1, 2009 The file name is the drawing name. The project we want to run is GPToolBox and is automatically loaded whenever a drawing opened. It has been running fine since ACAD 2005. All other PCs running the program never have this additional file created. Quote
CmdrDuh Posted April 1, 2009 Posted April 1, 2009 the filename of the drawing loads in every drawing. sounds like you have a pathing issue, where the 1 machine cannot see the dvb file you want it to Quote
mcguirepm Posted April 1, 2009 Author Posted April 1, 2009 The dvb file is on the local hard dirve and does load it. The menu bar calls teh proper sub-routines properly for awhile, but them AutoCAD autimatically adds this ACADProject and then teh error pops up. Quote
CmdrDuh Posted April 1, 2009 Posted April 1, 2009 what does your menu code look like? what is the module name etc Quote
mcguirepm Posted April 16, 2009 Author Posted April 16, 2009 Attached are screen shots ofthe VB Mgr and the VB Editor. In the VB Mgr I can not select the 'ACADProject' to Unload it. As you can see in the VB Editor it has been created as a completely blank project with the name of teh file is the drawing name. Once this appears, my guys get a 424-Object not found error becasue the menu calls can no longer see the Glidepath_Toolbox. BTW, we also scanned all systems for any viruses, but nothing popped up. Any insights would be appreciated. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.