Creating A Punch Clock?
Sep 10, 2009
What do you believe is the best way to have the program find the same row it created for a "Punch-In" for a single user. To clear this up what I have is a data table with the columns: Employee Num, Date, TimeIn, Timeout, Lunchout, Lunchin. And what I want it to do is when you first punch in, create a row for the specific user, then find that row later on and continue filling out what they do next. (make sense?) I don't have a ton of the sql + vb experience and I am having trouble figuring out a way to do this.
View 3 Replies
ADVERTISEMENT
Dec 16, 2009
how to create an Analog Clock (I know only MS VB 2005 / 2008)?
View 8 Replies
Nov 7, 2009
I have created a clock in visual basics 2008, BUT it is 24 hour format (13:01:19). Here Is My Code:
Public Class Form1
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
[code].....
How can I change this to 12 hour (1:01:19 PM)?
View 1 Replies
Feb 13, 2010
I am trying to create an alarm clock. What the problem is, is that when I then the program where the default file is using
wmp.URL="SomeWhere\In\A\Music Folder\song.mp3"
I get this error: An error occurred creating the form. See Exception.InnerException for details. The error is: Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown.
When I that line of code it runs, but when the alarm goes off there is no sound. And having a alarm clock go off with no sound is not going to get one up. I do have wmp com control on the form.
View 14 Replies
Apr 21, 2010
I am currently creating a clock like the "24" clock, i have made the numbers using the drawing tools within Visual Basic, i was just wondering how i can link the current time to corrospond with the shapes i have drawn?
View 3 Replies
May 21, 2011
i am creating an alarm clock application which requires user input to switch off the alarm. I have 3 comboBoxes on the form named day month year. when the user enters the correct date ( Current date) and click the button the alarm is deactivated. the code to check that the date entered in the comboBoxes is the current date.
View 3 Replies
Apr 26, 2011
If I drew a rectangle using e.Graphics.FillRectangle() is there a way I could punch transparent holes in it?
View 16 Replies
Mar 12, 2009
I'm a totally newb to VB and I want to do this. I want to do display system clock into a textbox. The trick is that I want it to be synchronized with the Windows XP clock. I want to have something like +/- 100 ms accuracy.
Each 'second' change will trigger an output pin to ground into the parallel port. This is very important that the 'second' change in the same time the Windows XP second change. Do not care about the parallel output thing, I'm nearly there. My main concern is the synchronisation with Windows clock.
In my code, I've added a counter that increment +1 at each 'second' change. So, when the 'n' value will reach a determined value, it will trigger another event.
[Code]...
I searched on the net and I found a thing about NIST time server.. Maybe this could be an otpion, but I have even no idea about how using it... I'm a total newb, but I'm ready to learn. So, please use simple language, no hard to understand acronym etc.
View 23 Replies
Dec 12, 2011
How can I punch a hole in the middle of a circle like a donut? If you set the color to transparent it does not draw the circle.[code...]
View 4 Replies
Oct 10, 2011
we are using Punch Machine for Attendance with zkemkeeper.dll and geting AttLog using Vs.net 2010.How can Get Records from SQL Query? my table structure like this
LogID int P.K.
DeviceIP varchar
EnrollNo int
[Code]....
View 3 Replies
Jul 13, 2009
i built a small app in vb.net and i would like my icon to appear next to the computer clock in the taskbar. how can i do this?
View 1 Replies
Oct 11, 2009
i dont know what is Visual basik I want to mak a clok posible?
View 13 Replies
Sep 1, 2009
how do you make a clock in visual basic
View 8 Replies
Mar 15, 2012
Using format NOW will just show the current time but the time will not run. Is it possible to make it to make the time keep running?
View 3 Replies
Dec 29, 2010
I require the Login button on the User app to be enabled at a certain time during the day, and the Admin will specify the time. How do I go about achieving this? I have a database as wellDo I save the time in the Database that the Admin enters, and then retrieve the time from the database when the User app is running and compare the clock time on the User app to the time from the database (I will retrieve the time when the User app starts)
View 9 Replies
Jun 21, 2010
I am having some trouble drawing a circle that is constant when the program runs. right now I am able to create one of my clock hands (that is going counterclockwise), but I can't figure out how to draw the circle of the clock, any suggestions? [Code]
View 4 Replies
Apr 2, 2010
I am trying to get clock in and out times to go in one worksheet. When I coded the two buttons they created two different worksheets. What can I do to place the times together?
Public Class Form1
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Label1.Text = TimeOfDay
End Sub
[code].....
View 7 Replies
May 28, 2010
I'd like to write a small app to get the time from an "atomic" clock -- I believe the UTC time and then compare this against the system clock.
So far I've been able to get the system time details with the code below but just cannot figure out where to start on getting the atomic clock(s) time.
I did Google this for examples and have not found anything useful, I did find a list of atomic time servers @ the following URL and realise I have to connect to NIST Internet Time Service clock
Dim localDirect As Date = Date.Now
Dim utcDirect As Date = Date.UtcNow
Dim localFromUtc As Date = utcDirect.ToLocalTime()
[Code]....
View 14 Replies
Oct 31, 2006
Does anyone know how to change the system clock using code. I want to be able to set the date and time in my code.
View 1 Replies
Jul 27, 2010
I want to extract the current Date that is set on my computer. what command do I use to get it from my system clock to my date variable.
View 3 Replies
May 15, 2009
I had a Line drawn from design view, and a circle also drawn in design view. Now like a clock, I want the Line to follow around the circle, this will be mostly a timer, or something. So far i have
Public Class Form1
Public myRadians As Decimal
Public myDegrees As Decimal
Public ychange As Decimal
[code]....
but its so messed up, the lines dont follow, they go everywhere...
View 3 Replies
Jun 22, 2010
I am new to VB coding so I'm trying some easy projects.I figured an alarm clock would be a good place to start. But I'm Having a hard time with the MP3 Part of it all.I want a pre-selected MP3 to start, when my timer2 is = to the time of day.But i Have never really used MP3's in any project. So dose anyone know how i would go about.
View 5 Replies
Jun 14, 2010
How can I have a simple digital clock in my application? I need it to be a label control - thats the tricky part.
Basically it just reads '5:33 PM' or '5:33 AM' etc - not 24hr time.
View 7 Replies
May 22, 2009
I'm writing a logging program that should log some values each 10 seconds, but I want these 10 seconds to be in sync with system clock e.g 8:32:00, 8:32:10, 8:32:20 e.t.c. One way to achieve this would be to use a timer with quite small interval like 0.2 seconds and do logging if the right time has come, but maybe there is a better way?
View 2 Replies
Dec 4, 2010
I would like to make an alarm clock application, however I am having some problems in the brainstorming phase.
My main problem is the fact that I dont know how to ensure the application will be able to calculate the time and thus set off the alarm. For example, when the application is closed, how will the alarm go off?
Ideally I would like to make this app a system startup item, so if the system is rebooted, the application will automatically relaunch - but again, I dont know how to do that.
If the system is sleeping, how can I wake it up? These kind of problems.
Another dilema I have, is if this application is always running, how could I have it go to my taskbar hidden icon menu (the right section of the taskbar next to the time).
View 4 Replies
Mar 15, 2012
I'm making an alarm clock whose form's backColor should change randomlly every 5 seconds. I am not sure as to how to do this. I'm using a timer so after the alarm clock's given time matches the current time, a song will be played. But I do not know how to count the seconds, or milliseconds that pass after starting time.
View 3 Replies
Aug 6, 2010
Auto check on time clock
View 4 Replies
Feb 14, 2010
I would like to know how I could set up an automatic time checkup on the label text in each min?
Here it is the Private Sub Form1_Load1(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
[Code]...
View 4 Replies
Dec 28, 2009
My system needs to capture the daily clock -in and clock out time of each worker. Each worker is only allowed to clock-in and out once a day. Im using visual studio 2008 currently and my database is using microsoft access. Below is that i used for my login.
[Code]...
View 4 Replies
Mar 11, 2012
how to get the time using VB.Net.It has some useful information in addition to the time such as Latitude and Longitude and on what date Daylight Saving starts as in "Spring forward, fall back".This is different for different countries.
View 1 Replies