Let’s look at the following example :
By using Script component I want to display a value.
Here are the steps to follow:
On the Component ToolBox panel, Click icon General.
From the General category drop-down menu, drag Script component onto the Designer Surface.
Double-click Script component and write the Vb.script for extracting a value.
Click Validate Button.
- On the Component ToolBox panel, Click before General.
From the General category drop-down menu, drag MessageBox component onto the Designer Surface.
Connect the input/output ports between the components right from Start to End components.
Connect the data ports of Script and MessageBox components.
- Press F5 key to run the activity.