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 have the exact same problem. It seems as though it happens when Inventor crashes it has been corrupting the vba file. After its corrupted, everytime you try and run inventor it just crashes after trying to load. Its happened about 6 times so far. It is very annoying.
What I have to do to recover the vba is open it in Inventor 2013 (Strange that the previous versions of Inventor can use the vba without any issues) export all of the modules/classes/forms, then import them into a brand new blank vba.
Because I have so many modules i have resorted to keeping regular backup copies so I can just swap them out when they corrupt.
Can I get a copy of one or more of these corrupted .ivb files? This is a new issue and not one that has been reported before now. I use VBA quite a bit and haven't seen it myself yet. You can send them directly to me at brian.ekins@autodesk.com
There were a couple of VBA related issues. One had to do with roaming profiles. The other one you can test by unloading the Navisworks add-in, if you have it, and see if you still have the problem. Both of these were identified through error reports from crashes so I suspect the issue you're seeing is different.
Brian, I have worked out that the problem is machine specific, not sure why they are different because the machines are all from the same image and identical software + hardware.
I have submitted a crash report via Inventor crash reporting tool. If you want I can still send you the vba and dump files if necessary.
Thanks, Matt.
I have seen some macros that became corrupted when we were having network difficulties.
You could tell as the .ivb file was much smaller than it should have been.
Each of our engineers uses a copy of the master.ivb with their names.
All of these .ivb files are located in a single folder in a network location.
A glance at it will show whether all files are the same size.
Any file size outliers must be corrupted.
Currently though I see only three machines in engineeringt that are crashing as described.
We buy Dell precision machines very few are identical.
Could it be some bios setting is different?
I had that VBA issue and a few others after upgrading to 2014.
I Installed Service Pack 1 & SP1 Update 1, both which helped the stability out.
If your file crashes Inventor immediately upon opening I don't know what to tell you. I've had that happen once or twice and there was no saving it. Chats with the error reporting guys revealed it was related to the default *.ivb file, and they were able to open my file on their systems by renaming that file and letting Inventor create a new one, but we didn't have the same success on this end.
Update 1 doesn't make any improvements to my installation concerning the VBA crash topic.
Is it possible that VBA macros with user forms are mor likely to crash than macros without forms?
Maybe the difference to others is that i launch my macros using a ilogic form which displays short rules as buttons...
Forums typically are not live. People answer when they get around to it. Could be minutes or days.
@h.schkorwaga wrote:
Update 1 doesn't make any improvements to my installation concerning the VBA crash topic.
Is it possible that VBA macros with user forms are mor likely to crash than macros without forms?
Maybe the difference to others is that i launch my macros using a ilogic form which displays short rules as buttons...
Do you have a VBA project that consistently demonstrates the problem that we can use to reproduce it?
Hello together,
the behaviour on my installation is like Gruff explained in his initital post. Random crashes. For example: 5 times the on emacro runs fine next time INV crashes. I'm not sure but is it possible that macros with displaying user forms are more affected? Most of the time I have more documents open. Sometime it seems, that INV crashes after I close one of them and then start a macro. How I said - not sure...
I have only one large IVB-File. After crashing and restarting INV the file loads fine so I can't see that this is corrupt. I made a test and exported all code and forms and reimported them to a new IVB. Same issues.
Additionally, as I wrote in a post before, I start the Macros from a simple ilogic form with buttons targeting simple rules which only make a VBA-call
Should I send my IVB to you Brian? Then I hope you can reproduce the Problem or find an error with the file.
Thank you for your help!
BR
Hel
Does someone know a solution to this problem?
This is becoming one of the most annoying features of Autodesk Inventor 2014 and it obstructs my work drastic!!
regards,
Klaas De Smedt
We have a customer with this problem also. Apologies for hopping on existing post.
Attached .ivb file causes Inventor 2014 SP1 to crash when Inventor is started (if it is the default .ivb file), or when it is loaded into VBA editor (if it is not the default ivb file).
Can anyone advise?
PS - the attached pdf needs renaming to .ivb!