| | |
How to make it Multiuser Programme
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jul 2008
Posts: 54
Reputation:
Solved Threads: 1
'I am putting my folder in sharing then try to use these from different pc but it shows
'file already in used PLEASE GIVE ME SOLUTION
'file already in used PLEASE GIVE ME SOLUTION
visualbasic Syntax (Toggle Plain Text)
Dim dblogin As New ADODB.Connection Dim rclo As New ADODB.Recordset Private Sub cmdok_Click() dblogin.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\tmgmt.mdb;Persist Security Info=False" rclo.Open "select uname,pas from p where pas='" & txtPassword.Text & "' and uname='" & txtusername.Text & "';", dblogin, adOpenDynamic, adLockBatchOptimistic If (rclo.BOF = True And rclo.EOF = True) Then MsgBox "incorrect Username or Password", vbExclamation, "Logon Message" Else 'MsgBox "Login Successful", vbInformation, "Logon Message" lbuser.Caption = txtusername.Text: lbpass.Caption = txtPassword.Text Me.Hide MDIForm1.Show End If rclo.Close dblogin.Close Set rclo = Nothing Set dblogin = Nothing End Sub
Last edited by cscgal; Oct 17th, 2008 at 11:44 am. Reason: Added code tags
![]() |
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: So Many but no Replies
- Next Thread: VBA - shell
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





