VB.net locals

VB.net locals

Eyal.Admon
Contributor Contributor
510 Views
3 Replies
Message 1 of 4

VB.net locals

Eyal.Admon
Contributor
Contributor

Hi,

 

I'm trying to create ad-ins from my VBA codes.

one thing i cant seem to get working is the locals window in VB Express.

The tree seems incomplete and i get an error messege "to inspect the native object, enable native code debugging."

please see picture of local window of VBA vs VB.net where im looking for the selecset information.

vbavsvb.png

0 Likes
511 Views
3 Replies
Replies (3)
Message 2 of 4

bradeneuropeArthur
Mentor
Mentor

you try to convert VBA code to Vb.net code, right?

What is the code like.

Do you have a add-in template configured already?

 

Please a bit more for me to understand?

 

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 3 of 4

Eyal.Admon
Contributor
Contributor

Hi,

I'm using the "nifty inventor add in" (https://ekinssolutions.com/nifty_addin_template/).

I can get it to work but debugging is harder because the locals has less information then when i use VBA.

Maybe its a limitation of vb.net when compared to VBA...

0 Likes
Message 4 of 4

bradeneuropeArthur
Mentor
Mentor

You better use your inventor Help file to create an add in from scratch.

Or install the inventor API SDK tools, then you have a good template to start with.

 

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