Using a VB based uipath code in c# based uipath code

Hello,

i have developped a VB UiPath code:
image

can i use it inside a c# based UiPath project?

Hi @abdel

You can use VB Invoke Code in C# project.

Regards

@abdel

ideally the structure is different once you copy you would see lot of compilation error and you might need to resolve all of them

cheers

Hi @abdel

No, you cannot directly use VB expressions or workflows inside a C#-based Uproject. You must rewrite the VB code using C# syntax to make it compatible.

Happy Automation

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.