0% found this document useful (0 votes)
27 views7 pages

20BCA1447 Pragya webDEV 3.3

Uploaded by

Neha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views7 pages

20BCA1447 Pragya webDEV 3.3

Uploaded by

Neha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

WEB APPLICATION DEVELOPMENT LAB

Student Name: Pragya UID: 20BCA1447

Branch: BCA Section/Group: 1/B

Semester: 6th Date of Performance: 09/05/2023

Subject Name: Web Application Development Lab Subject Code: 20CAP-355

WORKSHEET:3.3

A.Task to be done: write steps for creation of application setup in visual studio .

B.Steps For Experiment/ Practical:

1. Open Visual Studio.

2. On the start window, choose Create a new project.


3.On the Create a new project window, select the Windows Forms App (.NET
Framework) template for Visual Basic.

You can refine your search to quickly get to the template you want. For example, enter Windows
Forms App in the search box. Next, select Visual Basic from the Language list, and
then Windows from the Platform list.

4. In the Configure your new project window, enter HelloWorld as the Project name. Then,
select CREATE.
Add a button to the form
After you select your Visual Basic project template and name your file, Visual Studio opens a form for
you. A form is a Windows user interface. You'll create a "Hello World" application by adding controls
to the form.

1. On the left side of the Visual Studio IDE, select the Toolbox tab. If you don't see it,
select View > Toolbox from the menu bar or Ctrl+Alt+X.
1. Select the Button control and then drag it onto the form.

2. In the Appearance section of the Properties window, for Text, type Click this, and
then press Enter.

If you don't see the Properties window, you can open it from the menu bar.
Select View > Properties Window or press F4.
3. In the Design section of the Properties window, change the name
from Button1 to btnClickThis, and then press Enter.
Add a label and code
Now that you've added a button control to create an action, add a label control to
send text to.
1. Select the Label control in the Toolbox window, and then drag it onto the form.
Place it beneath the Click this button.
2. In either the Design section or the (DataBindings) section of the Properties window,
change the name Label1 to lblHelloWorld, and then press Enter.
3. In the Form1.vb [Design] window, double-click the Click this button to open
the Form1.vb window.
Another option is to expand Form1.vb in Solution Explorer, and then select Form1.
4. In the Form1.vb window, between the Private Sub and End Sub lines,
enter lblHelloWorld.Text = "Hello World!" as shown in the following screenshot:
Run the application
Your application is ready to build and run.
1. Select Start to run the application.

Several things happen. In the Visual Studio IDE, the Diagnostics Tools window
opens, and an Output window opens. Outside of the IDE, a Form1 dialog box
appears. It includes your Click this button and text that says Label1.
2. Select the Click this button in the Form1 dialog box.

The Label1 text changes to Hello World!.


3. Close the Form1 dialog box to stop running the app

.
Learning outcomes (What I have learnt):

1. I have learned how to connect the database to the server.

2. I have learned how to make window form.

3. I have learned how to display the details on the data grid view.

4. I have learned how to submit the data using submit button.

Evaluation Grid:

Sr. No. Parameters Marks Obtained Maximum Marks


1. Demonstration and Performance 5
(Pre Lab Quiz)
2. Worksheet 10
3. Post Lab Quiz 5

You might also like