Glen Smith Posted July 2, 2009 Posted July 2, 2009 I'm having a strange problem - or at least strange behavior - in migrating from ACAD Electrical 2009 to 2010. When I start 2010, the command window shows the following: Customization file loaded successfully. Customization Group: ELECTRICAL Customization file loaded successfully. Customization Group: ACAD Customization file loaded successfully. Customization Group: IMPRESSION Customization file loaded successfully. Customization Group: AUTODESKSEEK Customization file loaded successfully. Customization Group: GLENS_CUI_FILE Customization file loaded successfully. Customization Group: EXPRESS Regenerating model. Loading Electrical modules... Loader application completed. AutoCAD menu utilities loaded. AutoCAD Electrical menu utilities loaded. DInfo © by Lee McDonnell Loaded. Type "DINFO" to invoke... Command: Command: *Cancel* Command: *Cancel* Command: op OPTIONS Customization file loaded successfully. Customization Group: ELECTRICAL Customization file loaded successfully. Customization Group: ACAD Customization file loaded successfully. Customization Group: IMPRESSION Customization file loaded successfully. Customization Group: AUTODESKSEEK Customization file loaded successfully. Customization Group: GLENS_CUI_FILE Customization file loaded successfully. Customization Group: WD2CAD Customization file loaded successfully. Customization Group: EXPRESS Command: Command: DInfo © by Lee McDonnell Loaded. Type "DINFO" to invoke...; [color=red]error: Automation Error. Problem in loading[/color] [color=red]VBA[/color] AutoCAD Electrical menu utilities loaded. Command: DInfo © by Lee McDonnell Loaded. Type "DINFO" to invoke...; [color=red]error: Automation Error. Problem in loading[/color] [color=red]VBA[/color] Command: menubar Enter new value for MENUBAR <1>: Command: MENUBAR Enter new value for MENUBAR <1>: 0 Command: MENUBAR Enter new value for MENUBAR <0>: 1 As it loads Lee's DINFO LISP the first time, all looks fine. Then, I type OP to get to the options dialog box and load a profile so that all my menus are where I want them to be. As it loads the menu customizations and reloads DINFO, I get an error loading VBA. (flagged red) (Why it loads it twice is also a good question, I'll check on that next.) Further, the menu bar is not visible at the top of the screen, so i enter MENUBAR in the command window, and AutoCAD reports that it is on (1) so I turn it off, then turn it back on again, and it then shows up. THIS is why I waited 2 months until I got a short break in workload to attempt to upgrade! So far I have 4 hours or so logged installing then repairing and migrating settings. Any thoughts or hints would be appeciated. Quote
Lee Mac Posted July 2, 2009 Posted July 2, 2009 Hi, Firstly, I feel honoured that you are using my DINFO LISP VBA is not supported in the standard release of ACAD 2010. You will need to download an add-on pack. Try typing VBAIDE in 2010, and see what appears Lee Quote
Glen Smith Posted July 2, 2009 Author Posted July 2, 2009 Ok, I'm downloading and installing the VBA support module, but why does DINFO appear to load properly the first time through? I'm thrilled to have found your program, impressed by your coding ability and awed by your willingness to write code for people who often appear to expect you to do it free and fast. I guess that the switch from VBA to .net is happening sooner that I thought, I guess I'll switch from learing VBA to .net. gumble grumble grumble. Glen Quote
Lee Mac Posted July 2, 2009 Posted July 2, 2009 Ok, I'm downloading and installing the VBA support module, but why does DINFO appear to load properly the first time through? DINFO runs on LISP which is still supported on 2010 I'm thrilled to have found your program, impressed by your coding ability and awed by your willingness to write code for people who often appear to expect you to do it free and fast. Thanks - I get enjoyment from writing the programs, and also learn a great deal too. I guess that the switch from VBA to .net is happening sooner that I thought, I guess I'll switch from learing VBA to .net. gumble grumble grumble. Yeah, a lot of the guys here are going that way - a good person to talk to would be SeanT on here. - he's all clued up on the VBA side of things Lee Quote
SEANT Posted July 2, 2009 Posted July 2, 2009 Yeah, a lot of the guys here are going that way - a good person to talk to would be SeanT on here. - he's all clued up on the VBA side of things Lee Hey Lee, thanks for the plug. I guess that the switch from VBA to .net is happening sooner that I thought, I guess I'll switch from learing VBA to .net. gumble grumble grumble. Glen No need to grumble . . . . well, maybe a little. VB.NET has a bit more of a learning curve but the extended functionality makes many task easier than if they were coded in VBA. Quote
Glen Smith Posted July 2, 2009 Author Posted July 2, 2009 Another wierd thing I have discovered - once I load my profile, I can no longer get to help. If I hit F1 after starting 2010, I get the standard help screen. I load my profile, then hit F1 again and get a dialog box "Cannot find help file: acad.chm". Perhaps I need to recreate my profile nativly in 2010. It should not be this difficult. Quote
Lee Mac Posted July 2, 2009 Posted July 2, 2009 Same thing here I think: http://www.cadtutor.net/forum/showthread.php?t=36494 Quote
Glen Smith Posted July 6, 2009 Author Posted July 6, 2009 Ok, I checked the thread that Lee pointed me at, and followed the advice there. acad.chm does not exist on my C drive anywhere, but the help directory is/was full of .chm files (including acad180.chm - which I think is the help file for 2010, not acad181.chm) (no dig intended, just fyi). Rather than messing about with trying to re-install help files, I tried getting help before loading my 2009 profile. It worked fine, so I reconfigured my workspace from scratch in 2010 and saved a new profile. Help still works. If I load the 2009 profile, I get the error message - but if I then load the 2010 profile, help works again. I think that there must be something in the 2009 profile that is incompatable with or corrupts the file name or path for 2010's help function. I don't know why it would be changing anything in that area, but that's my story and I'm sticking with it. Hope this helps someone else. Glen 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.