Click here to Skip to main content
15,916,432 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: SaveFileDialog.ShowDialog() return value Pin
Eddy Vluggen9-Apr-13 9:36
professionalEddy Vluggen9-Apr-13 9:36 
GeneralRe: SaveFileDialog.ShowDialog() return value Pin
econy9-Apr-13 9:39
econy9-Apr-13 9:39 
GeneralRe: SaveFileDialog.ShowDialog() return value Pin
Eddy Vluggen9-Apr-13 9:59
professionalEddy Vluggen9-Apr-13 9:59 
GeneralRe: SaveFileDialog.ShowDialog() return value Pin
Johnny J.17-Apr-13 1:40
professionalJohnny J.17-Apr-13 1:40 
GeneralRe: SaveFileDialog.ShowDialog() return value Pin
Eddy Vluggen17-Apr-13 1:53
professionalEddy Vluggen17-Apr-13 1:53 
GeneralRe: SaveFileDialog.ShowDialog() return value Pin
Johnny J.17-Apr-13 1:54
professionalJohnny J.17-Apr-13 1:54 
AnswerRe: SaveFileDialog.ShowDialog() return value Pin
Richard MacCutchan9-Apr-13 9:46
mveRichard MacCutchan9-Apr-13 9:46 
GeneralRe: SaveFileDialog.ShowDialog() return value Pin
econy9-Apr-13 15:22
econy9-Apr-13 15:22 
QuestionWhat is the function of Filedialog.RestoreDirectory Pin
econy9-Apr-13 6:46
econy9-Apr-13 6:46 
AnswerRe: What is the function of Filedialog.RestoreDirectory Pin
Richard MacCutchan9-Apr-13 6:59
mveRichard MacCutchan9-Apr-13 6:59 
GeneralRe: What is the function of Filedialog.RestoreDirectory Pin
econy9-Apr-13 7:05
econy9-Apr-13 7:05 
GeneralRe: What is the function of Filedialog.RestoreDirectory Pin
Richard MacCutchan9-Apr-13 7:23
mveRichard MacCutchan9-Apr-13 7:23 
GeneralRe: What is the function of Filedialog.RestoreDirectory Pin
Kenneth Haugland9-Apr-13 8:18
mvaKenneth Haugland9-Apr-13 8:18 
GeneralRe: What is the function of Filedialog.RestoreDirectory Pin
Dave Kreskowiak9-Apr-13 11:36
mveDave Kreskowiak9-Apr-13 11:36 
GeneralRe: What is the function of Filedialog.RestoreDirectory Pin
Richard MacCutchan9-Apr-13 11:47
mveRichard MacCutchan9-Apr-13 11:47 
AnswerRe: What is the function of Filedialog.RestoreDirectory Pin
Alan N9-Apr-13 9:43
Alan N9-Apr-13 9:43 
AnswerRe: What is the function of Filedialog.RestoreDirectory Pin
Richard MacCutchan9-Apr-13 22:32
mveRichard MacCutchan9-Apr-13 22:32 
QuestionHow to check if one button is active [ solved ] Pin
econy9-Apr-13 5:30
econy9-Apr-13 5:30 
AnswerRe: How to check if one button is active Pin
Dave Kreskowiak9-Apr-13 11:39
mveDave Kreskowiak9-Apr-13 11:39 
GeneralRe: How to check if one button is active Pin
econy9-Apr-13 15:24
econy9-Apr-13 15:24 
QuestionButton text related to click event [solved] Pin
econy9-Apr-13 3:59
econy9-Apr-13 3:59 
AnswerRe: Button text related to click event Pin
Kenneth Haugland9-Apr-13 4:26
mvaKenneth Haugland9-Apr-13 4:26 
GeneralRe: Button text related to click event Pin
econy9-Apr-13 5:06
econy9-Apr-13 5:06 
AnswerRe: Button text related to click event Pin
David Mujica9-Apr-13 4:26
David Mujica9-Apr-13 4:26 
QuestionTime in and time out windows form in vb.net Pin
NOORULLA KHAN8-Apr-13 23:16
NOORULLA KHAN8-Apr-13 23:16 
Hi developers .I have some problem in my project which is on employee timein and timeout.when an employee login in the morning my timein button should accept the timein and add it to the database(ms access).when an employee wants to logout in the evening the timein and timeout form should validate the timein field in the database if timein field contains the login time then form button should active as timeout ,but it is not validating in my project so kindly can anyone help me.so here is my code..:




SQL
Dim CN As New OleDbConnection(cnString)

        CN.Open()
once if the employee login by its e-id and password it shows the e-name,inthe another textbox.so to select the ename i have coded below.

 com2 = New OleDbCommand("SELECT  ename from Images WHERE eid ='" & txtemid.Text & "'  ", CN)
            dr = com2.ExecuteReader
            While dr.Read
                txtename.Text = dr(0)


                'Please below given line is to extarct the only current time except date
                txttime.Text = Now.ToShortTimeString








"Now here it is validating for timeout "
        com3 = New OleDbCommand("Select * from logtime where eid='" & txtemid.Text & "' and timein<>null and timeout=null and present=null ", CN)
        dr1 = com3.ExecuteReader

        If dr1.Read Then
            Button1.Text = "Time Out"
            txttimeout.Text = Now.ToShortTimeString
            Exit Sub
        Else


        End If

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.