You are on page 1of 12

GOVERNMENT POLYTECHNIC, JINTUR

MICRO PROJECT
Academic year: 2023-24

TITLE OF PROJECT
Build An Errorprovider Control to validate Mobile Number

Programme:- Computer Engineering


Course: GUI Application Development Using VB.NET

Guided By : Pro. Varsha Ekhande Mam


MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION
Certificate
This is to certify that Mr. /Ms. ………………………………………………………………………………… Roll

No……………… of Forth Semester of Diploma in Computer science (engineering)

of Institute, Govt. Polytechnic, Jintur (0094) has completed the Micro Project
satisfactorily in Subject – VB.NET (22034) for the academic year 2023-24
has prescribed in the curriculum.

Place: ……………………. Enrollment No:

Date: ……………………… Exam. Seat No:

Pro. Varsha Ekhande Mam Pro. Pravin kale Sir Dr. R. T. Pachkore
Subject Teacher Head of the Department Principal

Seal of
Institution

Group Details
Roll no Name Enrolment No
236 Vikrant Shankar Mathpati 2200940136

231 Rizwankhan Fazalkhan 23510240186


Pathan

233 Vishal Subhash Satpute 23510240190

241 Bhavesh B Dawale 2200940116

INDEX
CONTENT
SR.NO. PAGE NO.

1 What is Errorprovider Control 5

2 Flow Chart Of Errorprovider Control 6

3 Steps to make Errorprovider Control 7

5 Advantages of Errorprovider Control 8

6 Disadvantages of Errorprovider Control 9

7 Program to Errorprovider Control to Validate 10


Mobile Number

8 Output 16

9 Conclusion 17

10 Reference 17
 What is Errorprovider Controlspecified by Blin

The Windows Forms ErrorProvider component is used to show the user in a


non-intrusive way that something is wrong. It is typically used in conjunction
with validating user input on a form, or displaying errors within a dataset.
NET Windows Forms ErrorProvider component is used to validate user
Flow Chart Of Errorprovider Control input on form controls. If a control
failed validation, ErrorProvider displays an error icon next to the control
and pops up a tooltip with an error message on hovering over the icon.
What is
component is used to validate user input on form controls. If a
control failed validation, with an error message on hovering over the
icon.
 Flow Chart Of Errorprovider Control
 Benefits of Errorprovider Control

• ErrorProvider presents a simple mechanism for indicating to the end


user that a control on a form has an error associated with it. If an error
description string is specified for the control, an icon appears next to the
control. The icon flashes in the manner specified by BlinkStyle, at the
rate specified by BlinkRate.

 Advantages of Errorprovider control

I. ErrorProvider component is used to validate user input on form controls.

II. If a control failed validation, ErrorProvider displays an error icon next to


the control and pops up a tooltip with an error message on hovering over
the icon

 Disadvantages of Tik Tok Toe game

I. There is no big difference in both MsgBox() and error provider in


vb. net. In case of vb.
II. Net either use one parameter or three parameters like prompt, Buttons
and title whereas for in msg box you can add additional parameter .

 Program To Errorprovider Validate Mobile Number


Imports System.Text.RegularExpressions
Public Class Form1

Private Sub Button1_Click(sender As Object, e As


EventArgs) Handles Button1.Click
Dim regex As Regex = New Regex("^[789]\d{9}$")

Dim isValid As Boolean = regex.IsMatch(TextBox1.Text)

If isValid Then
ErrorProvider1.SetError(TextBox1, "Valid")
Else
ErrorProvider1.SetError(TextBox1, "InValid")
End If
End Sub
End Class

Output:
Conclusion
In this microproject we learn about error provider control validate mobile
number. (to win or at least draw) if, each time it is their turn to play, they
choose the first available move from the following list, as used in Newell
and Simon's 1972 tic-tac-toe program. Win: If the player has two in a row,
they can place a third to get three in a row.
 Reference
https://codeforwin.org/2015/09/singly-linked-list-data-structure-in-
c.html#:~:text=Singly%20linked%20list%20is%20probably,when%20
compared%20to%20an%20array.

https://algodaily.com/lessons/what-is-the-linked-list-datastructure/
conclusion-13

You might also like