Skip to main content

Run VB.NET code

Run VB.NET statements (the body of a function that gets args and returns a value); compiled by the .NET Framework on Windows.

Command in the .NET, Java and COM toolkit · id ooa.dotnet/run_vbnet · 7 inputs (1 required), 3 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
CodeStringYesVB.NET statements; args is an IDictionary(Of String, Object) of the arguments; Return a value.
ArgumentsDictionaryNoValues the code reads as args("name").
ImportsStringNoExtra namespaces, one per line.
MembersStringNoOther functions or fields of the same module.
ReferencesListNoAssemblies the code needs beyond the usual ones: names or DLL paths.
Timeout (seconds)NumberNo120Stop the call after this many seconds.
Fail on errorBooleanNotrueFail the step when the code throws; when off, the error goes to 'error' and the run goes on.

Outputs​

OutputTypeWhat it is
resultAnyWhat the code returns (text, numbers, true/false, lists and dictionaries; other objects as text).
outputStringWhat the code wrote with Console.WriteLine.
errorStringThe exception, when fail on error is off.