Hi.
Sample code in System Login. And theres a 3 attempt to log.
Set rs = BASACONN(connstr, "select * from usersettings where username=txtuser and password=txtpassword")
If rs.EOF Then
MsgBox "Invalid Username/Password. Please Try again", vbExclamation, "Invalid"txtusername.SetFocus
txtcount.Text = Val(txtcount.Text) + 1
'''wrong password
If Val(txtcount.Text) > 2 Then
MsgBox "You have 3 Invalid Input of Username/Password. This Program will terminate",vbCritical, "Exit Program"
End
End If
''end
Else
Unload Me
Main.Show
Endif
Showing posts with label About Visual Basic. Show all posts
Showing posts with label About Visual Basic. Show all posts
Thursday, August 21, 2008
Thursday, April 10, 2008
Visual Basic 6.0
Visual Basic (VB) is a third-generation event driven programming language and associated development environment from Microsoft for its COM programming model.[1] Visual Basic was derived from BASIC and enables the rapid application development (RAD) of graphical user interface (GUI) applications, access to databases using DAO, RDO, or ADO, and creation of ActiveX controls and objects. Scripting languages such as VBA and VBScript are syntactically similar to Visual Basic, but perform differently.[2]
A programmer can put together an application using the components provided with Visual Basic itself. Programs written in Visual Basic can also use the Windows API, but doing so requires external function declarations.
In business programming, Visual Basic has one of the largest user bases. In a survey conducted in 2005, 62 percent of developers reported using some form of Visual Basic. It currently competes with C++, C# and Java for dominance in the business world. JavaScript is another competitor to Visual Basic.[3]
The final release was version 6 in 1998. Microsoft extended support will end in 2008 and the designated successor is Visual Basic .NET.
A programmer can put together an application using the components provided with Visual Basic itself. Programs written in Visual Basic can also use the Windows API, but doing so requires external function declarations.
In business programming, Visual Basic has one of the largest user bases. In a survey conducted in 2005, 62 percent of developers reported using some form of Visual Basic. It currently competes with C++, C# and Java for dominance in the business world. JavaScript is another competitor to Visual Basic.[3]
The final release was version 6 in 1998. Microsoft extended support will end in 2008 and the designated successor is Visual Basic .NET.
Other Information Click Me. - Topics from en.wikipedia.org
Subscribe to:
Posts (Atom)
