Intro to Visual Studio by klutzfu48

VIEWS: 22 PAGES: 4

									Intro to Visual Studio.Net for Domino Designer developers Lab


Start Visual Studio.Net [Start][Microsoft Visual Studio.Net 2003][Microsoft Visual
Studio.Net 2003]




Select “New Project”




Creating a Windows Form client for your web service

Create a new project and pick the “Windows Application” template.
Click “OK”




Expand the size of Form1

Open the tool box and drag 2 buttons, 2 textboxes, and a data picker control onto the form.
Double click on Button 1 to open the code window




Add the code: textbox1.text = “hello world”

You can use the tabs at the top of the window to navigate between code view and form
design view.
Click on the “Debug” twisty to run you’re program.
Close the Form1 window (stops debugging)

Click on the “Form1.vb[Design]” tab to go back to the form designer.
Double click “Button2” and add code bolded below:
    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click

        TextBox2.Left = Convert.ToInt16(TextBox2.Text)
        TextBox3.Text = TextBox2.Location.ToString

    End Sub

Now debug your progam, enter “99” in textbox2 and try both buttons.




If you have time, Look at the other controls in the
toolbox.

								
To top