VBA Plugin doesn't work

VBA Plugin doesn't work

Anonymous
Not applicable
933 Views
6 Replies
Message 1 of 7

VBA Plugin doesn't work

Anonymous
Not applicable

Hello,

 

we are using Inventor Professional 2015, SP2 update 6 with network licenses in our company. Since a few weeks we have problems with the VBA plugin. If someone logs on to a new computer using his Windows network user account, the VBA Plugin doesn’t work. You can open the VBA plugin but it’s “dead” (see the picture below) – you can’t even open a project manually.

The strange thing is: if you log on to a computer you have been logged on to before, everything still works.

I work as a design engineer and have no idea what to do. We have asked out IT department for help but they also couldn’t solve the problem.

 

Thanks for your help.

 

vba.jpg

0 Likes
Accepted solutions (1)
934 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable

Hello @Anonymous

 

Have you tried to run the Inventor program as Administrator (right-click the icon or maybe shift+right-click, and thenselect "Run as Administrator...")?

 

At times it has been beneficial to run Inventor as administrator the first time a new user logs on a machine.

 

Regards,

Jens Bejer Pedersen

Developer, Symetri A/S

www.symetri.com

0 Likes
Message 3 of 7

Anonymous
Not applicable

Hello jens.bejer.Pedersen,

 

thank you for the hint.

 

I tried running Inventor as administrator but it didn't help.

It made the situation even worse -  I had no access to the network drives anymore.

 

Regards

0 Likes
Message 4 of 7

Anonymous
Not applicable
Accepted solution

Hello @Anonymous

 

Yea that should probably have been expected.

 

When you run as administrator, that process would not have access to the mapped drives of the normal user.

 

I should probably have said try to start Inventor and the VBA (Alt+F11) as administrator, stop both again and then try as the normal user.

 

Sometimes this fixes some issues with proper registration in the registry.

 

There is also some command line arguments to the Inventor program that might be usefull:

Autodesk Inventor Professional 2018
Command line help

 

IMPORTCUSTOMIZATIONS - Import customization settings from a specified XML file
IMPORTOPTIONS - Import application options from a specified XML file
IMPORTRIBBONCUSTOMIZATIONS - Import Ribbon customization settings from a specified XML file
INSTALL - installs all required registry settings
LANGUAGE - Launch with a specified available language pack
NOSTARTUPCOMMAND - Don''t open a file or create a new one on start up. Often used with RunTextCommandFile
RUNTEXTCOMMANDFILE:<FILENAME> - Runs a file containing text commands. Can be combined with NoStartCommand
UNINSTALL - removes all registry settings, resulting in a loss of user preferences

 

The /INSTALL argument could maybe help?

 

Regards,

Jens Bejer Pedersen

developer, Symetri A/S

www.symetri.com

Message 5 of 7

bradeneuropeArthur
Mentor
Mentor
Hi,

Is the VBA project file available for inventor?
Is the VBA project file on the local machine or network?
If the VBA project file is on a server, is then the path correctly defined?

Regards,

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 6 of 7

JaneFan
Autodesk
Autodesk

Hey @Anonymous,

 

Please do following check:

On the new computer, check inventor's Application options: Find Default VBA project settings in File tab.

Is it pointing to a Default.ivb file?

If yes, try to check whether Default.ivb file can be accessed manaully with the login user.

If not, please specify Default VBA project to a certain path which the login user can access it.

 

Path.jpg




Jane Fan
Inventor/Fusion QA Engineer
0 Likes
Message 7 of 7

Anonymous
Not applicable

Hello

 

 

 

the /INSTALL argument worked - thank you so much 🙂

 

Regards

0 Likes