My users are reporting that 2014 64 bit VBA crashes on program launch randomly.
I have 12 to 14 apps written in VBA. Randomly they crash when the user trys to run them.
Sometimes they load and work fine other times they crash inventor without reporting an error.
Has anyone else seen this behavior?
I've had the same problem frequently in Inventor 2012 and hoped it was gone in Inventor 2014. But still it's occurring, it's not reproducable however. Most of the occurrances happened after an Inventor crash, but it has also happened from one day to another. As some of the people here I've created a backup-scheme so that in case of described problem I can revert back to a working projectfile.
Hello again,
this update is already installed ion my computer an unfortunately nothing changed for me.
This doesn't prevent my installation from randoly chrashing when running macros.
BR
I don’t if maybe any of you may have already come across my topic of VBA not working pains, but it may help (despite the fact that I don’t think you have to deal with the 32bitHost.exe program due to VBA being 64x native in later Inventor versions).
http://forums.autodesk.com/t5/Inventor-General/Inventor-32-Bit-Host-Not-Working-As-Intended/m-p/4627...
Even though you don’t have the middle man program, I would recommend possibly checking to see if there aren’t differences in the way drives are being assigned across computers, or if any external accessories may be helping to make your struggle even more ‘random’.
I hope that you all solve your problems eventually.
Does anyone have any news on this?
I also have some macro's written in VBA in Inventor 2014.
Most of the time, the first time I run the macro, it works perfectly.
But when trying to use it again after working for a while, it crashes almost always.
So far I haven't found anything on the internet that cures this problem.
I'm running Inventor Professional 2014 SP2 (on 4 different brands of workstations).
Thanks in advance
I have the same problem. The VBA made with Inventor 2011 works fine in 2014. But if I modified VBA in 2014 it will crash whenever I loaded it. I seems I could not do any modification on my old VBA files. No solution yet.
Still no solution....
What a pity... No interest on behalf of Autodesk...
With the transition to VBA 7 instead of VBA 6, I started with a new project file and copy-pasted every macro I could use in it.
The reason I did this was that after 5 years of macro writing, we had a ivb file of 7,5 MB but 80% of the code we didn't use.
Copy pasting only the useful stuff helped us to keep the code cleaner.
A side affect that I only now notice is that we never had any issues since we moved to a completely new ivb file.
When you copy pasted into the new .ivb, what did you do with your forms (if you had any)?
I imported the frm-files. Do you mean that the form should be created new from scratch?
At the moment I had a crash when starting VBA-Editor via Alt-F11... *gr*
The solution I received by email lead me to http://office.microsoft.com/en-gb/visio-help/HV080353032.aspx
This is a MS-site which says "Sorry, the page you're looking for can't be found."
we had this same error recently, we solved it by doing the following thing but we are not sure what exactly solved the problem:
CD ..
DEL /S /A:H /A:-H *.EXD
Here is my problem with the VBA macros:
Case 1) I am able to open Inventor, start a new drawing/part/or assembly, try to run a macro and Inventor will crash.
Case 2) If I start Inventor, then start the VBA Editor, close the editor, start a new drawing/part/or assembly, then the macros function correctly and Inventor does not crash.
Now I have more than 25 computers, all bought at the same time, all have the same software and updates, but I have 4 computers that this problem of crashing occurs if we forget initiate the macros.
We are running Inventor 2014 with SP2 and Update 3 for SP2.
It appears that the default VBA project file does not get loaded on some computers, but why on only a select few computers?
@h.schkorwaga wrote:
I imported the frm-files. Do you mean that the form should be created new from scratch?
At the moment I had a crash when starting VBA-Editor via Alt-F11... *gr*
The solution I received by email lead me to http://office.microsoft.com/en-gb/visio-help/HV080353032.aspx
This is a MS-site which says "Sorry, the page you're looking for can't be found."
This has just happened with one of our customers as well... Autodesk need to fix that link in the automated reply.
Scott Moyse
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Design & Manufacturing Technical Services Manager at Cadpro New Zealand
Co-founder of the Grumpy Sloth full aluminium billet mechanical keyboard project
@scottmoyse or @h.schkorwaga, can one of you please attach a copy of the email so that we can help track down the origin and make the appropriate edits?
Here you go Phil.
Gavin Bath
MFG / CAM Technical Specialist
Design and Motion Blog
Facebook | Twitter | LinkedIn | YouTube