could not run VBA Code

could not run VBA Code

Martin-Winkler-Consulting
Advisor Advisor
2,755 Views
1 Reply
Message 1 of 2

could not run VBA Code

Martin-Winkler-Consulting
Advisor
Advisor

Hi,

at one of my computers i am not able to run VBA Code any longer.

This dependents on Inventor 2016 and 2017.

There is an Error Message that a class is no longer registered. (look attachment)

How can i get more information about this class to fix the problem?

 

Best Regards Martin

Martin Winkler
CAD Developer
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.


EESignature

0 Likes
Accepted solutions (1)
2,756 Views
1 Reply
Reply (1)
Message 2 of 2

Martin-Winkler-Consulting
Advisor
Advisor
Accepted solution

Hi, thanks to google i could solve this problem.

The Class C62A69F0-16DC-11CE-9E98-00AA00574A4F belongs to C:\Windows\SysWOW64\fm20.dll

 

This class was however unregistered at the system.

 

To solve the problem go to Dos prompt as Administrator and run:

regsvr32 C:\Windows\System32\fm20.dll

 

A message that fm20.dll is correct registered will be displayed.

 

After this workarround VBA works fine again.

 

Best Regards

Martin

Martin Winkler
CAD Developer
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.


EESignature