Visual Basic version in Inventor 2023

Visual Basic version in Inventor 2023

ReneRepina
Collaborator Collaborator
1,346 Views
5 Replies
Message 1 of 6

Visual Basic version in Inventor 2023

ReneRepina
Collaborator
Collaborator

Greetings!

 

We are using Inventor 2020 and I suppose that Visual Basic 7.1 is used for iLogic (I found below version in VBA Editor, probably iLogic editor has the same). Is this correct?

 

Does anybody knows which Visual Basic version does Inventor 2023 use?

 

As now, Visual Basic 16.0 was released in 2019, it would be great if it was upgraded.

 

ReneRepina_0-1661754114687.png

 

 

 

Best regards,

Rene Repina

 

0 Likes
Accepted solutions (1)
1,347 Views
5 Replies
Replies (5)
Message 2 of 6

Michael.Navara
Advisor
Advisor

Please don't confuse VBA and iLogic. VBA 7.1 is the latest version. 

iLogic is based on VB.NET and uses the latest .NET framework 4.8 runtime.

I don't know which language version of VB.NET is used in iLogic, but it is not the latest (some features is not supported like string interpolation).

0 Likes
Message 3 of 6

ReneRepina
Collaborator
Collaborator

Hello, @Michael.Navara,

 

Sorry, I am still confused about VB, VB.NET and VBA. I guess VB and VB.NET are the same thing (programming language) and VBA is implemented in some programs?

So basically Inventor 2023 uses ".NET framework 4.8", but we do not know which version of VB it uses? Any idea how to obtain this information?

 

Thank you for your answer.

 

 

Best regards,

Rene Repina

0 Likes
Message 4 of 6

Michael.Navara
Advisor
Advisor

Visual Basic is obsolete and abandoned programming language by Microsoft.

VBA is implementation of Visual Basic in application environment with its own runtime and IDE. 

VB.NET is a successor of Visual Basic based on Microsoft .NET Framework

iLogic is programming language specific for Autodesk Inventor based on VB.NET. It has its own compiler and has little bit different syntax then generic VB.NET. It enables you to use some obscure constructs like direct use of parameter name as variable.

 

0 Likes
Message 5 of 6

MartinPapez
Contributor
Contributor
Accepted solution

Hi ReneRepina,

 

what I found:

At this time, only Visual Basic 2012 (VB 11.0) syntax is supported within rule code. Additions that were made in later versions of Visual Basic do not work.

 

https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-32B66838-22E4-4A0A-B5BB-862350C76B36

 

 

Message 6 of 6

ReneRepina
Collaborator
Collaborator

@Michael.Navara 

According to informations, VB and VB.NET are the same and that ".NET" was dropped in VB 8.0.

Thank you for explanations though!

 

@MartinPapez 

Nice! That is what we wanted to find. Thank you!

0 Likes