I'm glad I've stumbled upon this thread. I'm about as fluent w/ VBA programming as I am w/ speaking Spanish, "Yo no hablo..."
I've been able to keep current some routines that our previous CAD Manager wrote and have been able to come up w/ my own simple ones, but that's about the extent of my programming abilities. When we had AutoCAD 2010, it was installed on 32 bit machines only. We've started replacing some of these machines w/ 64 bit Windows 7 machines and I started to put AutoCAD 2011 on them. I quickly realized that some of our VBA routines did not work in 2011. My initial thought was that something changed in 2011 that caused these not to work, so I reverted them back to 2010. It sounds like the main issue is the 64 bit compatibility and not 2011. So now I guess I need to learn how to speak Spanish in French (or something like that) since the little bit of VBA I know is now going to be useless as .NET becomes the language of use.
I'm having the same problem in AutoCAD 2011.
I have found that setting TASKBAR to 0 helps but does not solve the problem. I know that the "true" solution is to re-write all of our old VBA code in VB.NET, but that will have to wait. We're in a "transition".
Does anyone have a solution or an acceptable work-around?
I'm really glad I found this. Here are additional symptioms for those who can't move off VBA
Some more information regarding symptoms:
In Windows 7 64bit Aero Theme:
* Alt+Tab does not restore AutoCAD 2011
* Win+Tab does not restore AutoCAD 2011
In Windows 7 64bit Classic Theme:
* Alt+Tab does DOES restore AutoCAD 2011
* Win+Tab is not supported by the Windows Classic Theme.
In either theme:
* Using the minimize button [ _ ] to minimize AutoCAD 2011 will cause it not be restored without Task Manager
* Clicking on the task bar icon for AutoCAD while restored or maximized will cause it to minimize correctly and it can be restored.
* If you launch two instances of AutoCAD, the second instance will behave normally.
I really want to avoid writing a script to launch two AutoCADs and killing the first instance every time AutoCAD is launched
I have Autocad Architecture 2009 & 2012
Windows 7 Professional 64 bit OS and have the same problem only with Autocad Architecture 2009.
Autocad Architecture 2012 will minimize and maximize like they are supposed to.
None of the solutions xdanmeyerx suggested worked for me.
The solution that works for me is to hover over the icon on the taskbar (see 1.jpg Attached)
right click to get the shortcut menu (see 2.jpg Attached) then click on restore.
Any other way Autocad just pops up for 1 second then minimizes again
So I should have closed this thread earlier, but we found out what the issue was.
The VBLOAD command in ACAD.LSP causes this issue.
After removing the VBLOAD command from AutoCAD's statup (acad.lsp) it worked just fine. We then uninstalled the VBA Enabler becuase it was no longer needed.
Using the VBA Enabler will cause this issue on Windows 7 x64. We reached out to Autodesk and they mentioned that VBA is no longer officially supported and they suggested that we move to VB.NET.
We just finished the long effort of recoding our custom scripts to VB.NET and everything is just fine.
Hope that helps!
Access a broad range of knowledge to help get the most out of your products and services.