Inventor crashing when opening .ivb file

Inventor crashing when opening .ivb file

Anonymous
Not applicable
1,203 Views
6 Replies
Message 1 of 7

Inventor crashing when opening .ivb file

Anonymous
Not applicable

I've managed to get my VBA project messed up such that Inventor crashes when I try to load the project.  The ivb file in question is attached, in case it helps.

 

Is there any way I can either open the .ivb file in some other more crash resistant program, or a suggestion on how to get Inventor to not crash opening this file?

0 Likes
1,204 Views
6 Replies
Replies (6)
Message 2 of 7

ekinsb
Alumni
Alumni

I am able to open load your .ivb file without a problem.  There was a problem similar to what your reporting in Inventor 2014 that seems to resolved in Inventor 2014 SP1.  Have you tried it?


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes
Message 3 of 7

Anonymous
Not applicable

I had not tried SP1.  I upgraded this morning, and that fixed the problem for a while, but I now have another .ivb file with the same problem.

 

The zip file is attached, any ideas?

0 Likes
Message 4 of 7

ekinsb
Alumni
Alumni

I'm able to open this new .ivb file without any problems.  Is there something special about it's location?  For example, is it local or is it accessed through the network?  I did find an issue logged where there are problems if the full path to the .ivb exceeds 128 characters.  Could this be the problem in your case?

 

When does the crash occur?  When you load the ivb project using the "Load Project..." command or is it defined as your default VBA project and crashes when Inventor loads it at startup, or somewhere else?


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes
Message 5 of 7

Anonymous
Not applicable

Is there a soulution to this problem? I'm having the exact same issue with a .ivb file.

The wierd thig is that I havt changed the file in a few days and today inventor started crashing when loading it, both at startup and if I choose another ivb file and trying to load it in the application. An empty .ivb file with the exact same name and path can be loaded so it must be something in the code that does not work.

Im attaching the file that generates the issue.

0 Likes
Message 6 of 7

ekinsb
Alumni
Alumni

Which version of Inventor are you using?  I just tried loading your ivb in Inventor 2015 SP1 and it opened without any problems.  When do you see the crash?  Is there a specific action you take one Inventor is loaded to cause the crash?


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes
Message 7 of 7

Anonymous
Not applicable

I'm using release 2014 SP2. If I have this .ivb file as default project inventor will not start at all, after the startup image the crash report will be shown. If i choose another file as default and open the VBA editor inside inventor and load my .ivb file inventor will crash in the exact same way.

Is there a way I can open my file and get to my code? Right now i cannot change anything, my idea is to start commenting the latest parts to see whats causing the crash but its hard to do if I cant edit my code.

0 Likes