Click here to Skip to main content
16,010,473 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to achieve right text aligned labels in Vb 2005. [modified] Pin
nishkarsh_k25-Oct-07 20:19
nishkarsh_k25-Oct-07 20:19 
AnswerRe: How to achieve right text aligned labels in Vb 2005. Pin
Tom Deketelaere25-Oct-07 20:50
professionalTom Deketelaere25-Oct-07 20:50 
GeneralRe: How to achieve right text aligned labels in Vb 2005. Pin
nishkarsh_k25-Oct-07 22:43
nishkarsh_k25-Oct-07 22:43 
AnswerRe: How to achieve right text aligned labels in Vb 2005. Pin
darkelv25-Oct-07 20:56
darkelv25-Oct-07 20:56 
GeneralRe: How to achieve right text aligned labels in Vb 2005. Pin
nishkarsh_k25-Oct-07 22:47
nishkarsh_k25-Oct-07 22:47 
GeneralRe: How to achieve right text aligned labels in Vb 2005. Pin
darkelv26-Oct-07 0:06
darkelv26-Oct-07 0:06 
AnswerRe: How to achieve right text aligned labels in Vb 2005. Pin
Luc Pattyn26-Oct-07 3:36
sitebuilderLuc Pattyn26-Oct-07 3:36 
QuestionHelp Me Pin
qauzi25-Oct-07 20:03
qauzi25-Oct-07 20:03 
Option Explicit
Dim Starttime As Date
Dim Endtime As Date
__________________________________________________
Private Sub Command1_Click()
Starttime = Format(Now, "HH:mm")
Timer1.Enabled = True
Form1.Print Starttime
End Sub
__________________________________________________
Private Sub Command2_Click()
Endtime = Format(Now, "HH:mm")
Timer1.Enabled = False
Form1.Print Endtime
End Sub
____________________________________________________
Private Sub Command3_Click()
Form1.Print Minutesdiff = (Endtime - Starttime)
End Sub
_____________________________________________________
Private Sub TxtEnd_Change()

End Sub
______________________________________________________
Private Sub txtStart_Change()

End Sub
_______________________________________________________

i have created this project with three command button two textbox and three level and a form. command1 is for login time ( Start Time) and command2 for logout button (EndTime), and command3 for calculating difference Between EndTime and StartTime. so that i could calculate the amount of billing. i.e.

0 > 30 minutes = 10 Rs.
31> 60 minutes = 20 Rs.

further i want the the log in ang Log Out detail appeares in the textbox but i dont get it how
so i have made it default apearance on the form itself.and when the total command3 button is click it should show the difference of Time in HH:MM format

help me solving it.

zrch
QuestionRe: Help Me Pin
CPallini25-Oct-07 22:12
mveCPallini25-Oct-07 22:12 
AnswerRe: Help Me Pin
qauzi26-Oct-07 3:07
qauzi26-Oct-07 3:07 
GeneralRe: Help Me Pin
CPallini26-Oct-07 3:16
mveCPallini26-Oct-07 3:16 
Questionformat painter Pin
rishidubey25-Oct-07 11:10
rishidubey25-Oct-07 11:10 
AnswerRe: format painter Pin
Christian Graus25-Oct-07 11:21
protectorChristian Graus25-Oct-07 11:21 
GeneralRe: format painter Pin
rishidubey26-Oct-07 8:36
rishidubey26-Oct-07 8:36 
GeneralRe: format painter Pin
P Mehta26-Oct-07 23:32
P Mehta26-Oct-07 23:32 
GeneralRe: format painter Pin
rishidubey29-Oct-07 7:03
rishidubey29-Oct-07 7:03 
Questionmovable and resizable controls at runtime Pin
sankalp singh25-Oct-07 9:58
sankalp singh25-Oct-07 9:58 
AnswerRe: movable and resizable controls at runtime Pin
Dave Kreskowiak25-Oct-07 10:49
mveDave Kreskowiak25-Oct-07 10:49 
AnswerRe: movable and resizable controls at runtime Pin
Luc Pattyn25-Oct-07 16:16
sitebuilderLuc Pattyn25-Oct-07 16:16 
QuestionControls at runtime Pin
sankalp singh25-Oct-07 9:26
sankalp singh25-Oct-07 9:26 
AnswerRe: Controls at runtime Pin
Dave Kreskowiak25-Oct-07 10:48
mveDave Kreskowiak25-Oct-07 10:48 
GeneralRe: Controls at runtime Pin
sankalp singh25-Oct-07 17:49
sankalp singh25-Oct-07 17:49 
GeneralRe: Controls at runtime Pin
Tom Deketelaere25-Oct-07 20:47
professionalTom Deketelaere25-Oct-07 20:47 
Questionvb6 to . net Pin
s3rro25-Oct-07 9:10
s3rro25-Oct-07 9:10 
AnswerRe: vb6 to . net Pin
pmarfleet25-Oct-07 9:58
pmarfleet25-Oct-07 9:58 

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.