Let's create a new Wink project.
So go to your desktop, find Semantic Wink Explorer and just double click.
And if you have previously opened a project as I have, we'll just click File New.
We're just going to do a single user project and we'll click okay.
We're going to give this project a name wink DB class and just hit create.
Once the project has been created, we're just going to create a quick screen in graphics designer.
So I'll double click Graphics Designer.
It's going to open a PDL and name it some version of new PDL.
The first thing I'm going to do is go to geometry, and I'm just going to make this page 1280 by 1024
you can make it whatever you want.
And then with the screen selected under effects, I'm going to turn off the global color scheme and
I'm just going to add a button.
I'm just going to put Hello World on this button.
We will create a quick script to just print out hello world!
I'm going to make this font a little bigger and on events we'll go to mouse and I'll right click on
release Left and choose VBS action.
And we're going to write our first VB script.
So I'm just going to make a comment.
Notice this green just like in SQL.
And this is the Hello World script.
And it prints out Hello World to debug.
And I'm just going to right click.
And from my object list I'm going to choose my runtime dot trace.
And we're going to be going over these functions in the course.
So if you haven't used this before don't worry about it.
HMI runtime dot trace basically just prints out statements from a script into a debug console.
So we're going to print out.
Hello World.
And we're going to concatenate that with a carriage return and line feed and just click okay.
The debug console we could either use the AP diag application.
But for now on the standard pallet under Smart Objects I'm just going to grab an application window.
Pull this out.
This is basically a debug console.
We're going to highlight global script and click okay.
And then GSC diagnostics at Script Diagnostics will click okay.
And it's just going to look basically like a big gray rectangle with GSC diagnostics.
And we're going to save this screen as my first screen.
Click save.
And then we'll hit the run time button.
And when the runtime window comes up we can click the button.
And there is our Hello World script.
Coming up next we're going to begin writing some SQL code to execute from Visual Basic script using
ActiveX Data Objects.
I will see you in the next lecture.