VB.NET - STAFF ATTENDANCE APPLICATION
Asked By zero one
11-Feb-12 01:25 PM
am trying to develop an application for my staff. the logic is that, every morning and evening, workers will have to enter their staffID and password to sign in and sign out respectively. the problem am having is that, how will able to know that it is not yet 4:00pm and for that matter the worker can not logout. how will i also know that it is the same day so the user can not login again. finaly workers can give their password to their friends to login for then even the day they will not come to work. how will i solve these exceptions
dipa ahuja replied to zero one
You already have logic how the working should be. so what are you waiting for?
just start developing the project.
First decide you have power in Windows applications or in Website development.
Then decide on which field you have about idea to develop project
Next after deciding topic first learn the concept of your topic and what will you need for it. Understand whole concept
After that do some paper work , how many tables u will need, how many forms , relationship between tables etc
then start developing your project.
you can ask anytime if you have any query
zero one replied to dipa ahuja
thanks alot. the difficulty am having is that, i dont want the user to sign in twice the same day. something like if (if is the same day) then (msgbox("ur already login"). else update acculumator
zero one replied to dipa ahuja
thanks alot. i need something like this if (user has login already) then msgbox("u have login already") else update accululator
zero one replied to dipa ahuja
thanks alot. i need something like this if (user has login already) then msgbox("u have login already") else update accululator
zero one replied to dipa ahuja
thanks alot. i need something like this if (user has login already) then msgbox("u have login already") else update accululator
D Company replied to zero one
hello friend,
thats very real time case , if an employee logged in for the day he/should not be able to logged in for same day twice.
here i'm assuming thAT U HAVE db WHERE you are saving all your information, the logic that you can implement is, when an user loges in just save his time log in time in DB and at second time when he tried to login fetch the value from DB for particular day, if there is no value allow him else so the message.
Even u can customize this logic as per your exact business scenario.
Here i'm assuming that u have prior knowledge of ADO.net.
Hope its clear to you!!
Regards
D
zero one replied to D Company
if am getting u right then there is problem with my table defination. my table accumulator column where it is updated(one is added to the existed value) anytime the worker login. is it a good idea that i have a column for each day of the month (about 32 columns in addition to the workers personal details) so that i can verify that a particular days column is empty or not? am a bit ok with ado.net usage. are there special classes aside (dataset,dataadapter,datarow,....) that will be helpful in this case?

Problem on migrating VB to VB NET I'm beginner for VB.NET. This is my code that migrating from VB to VB.NET. I'm selecting a group of data in the same data table from my MSSQL implement your own datareader on .Net by using IDataReader. IDataReader is being used by most db provider like you have OledbDataReader to read forward-only stream of data rows, in which you can have your own as KanDataReader. returns an integer type, specifically a 32-bit integer. Create New Account
Use of Mid Statement in VB.Net .NET Framework Hi All If anyone has the time, I think feedback on the following eg aba format. The beauty of the old VB6 Mid statement (which is available in VB.Net) is that it allows me to replace n chars at a specified position in a mfRecordType Mid(buffer, pointer, MyFields.mfTransactionType ) = "AB" pointer + = mfTransactionType 'etc etc There appears no native VB.Net equivalent to this method. The StringBuilder Class does not have this method either. It should as used above) for the Mid Statement in VS (any language)? Thanks for your time. VB.NET Discussions ASCIIEncoding (1) System.Runtime.CompilerServices (1) System.Text.StringBuilder (1) MyFields.mfTransactionType (1) MyFields
Access Query from VB.NET DataBase Has anyone successfully used an Access quety from VB.NET? I am trying to do this and am getting a weird error. VB.NET calles queries 'stored procedures'. The error I am getting says "Schema could not be retrieved procedure' . . . "The underlying enumerator did not support enumerating objects of type 'ProcedureParamater'. Access Queries Discussions VB.NET (1) VB (1) NET (1) OleDbConnection (1) FirstName (1) PROVIDER (1) ProcedureParamater (1) LastName (1
Scheduled VB.NEt program .NET Framework I'm having problems using Windows Task scheduler (or AT or SCHTASKS) to run a VB.NET program unattended. I'm able to reduce it to some really simple code that still machine. Why is this so hard, when VB6 can do this no problem? Thanks Rob VB.NET Discussions InvalidOperationException (1) Environment.UserInteractive (1) Graphics.FromImage (1) VB.NET (1) VB (1) MainForm.showdialog (1) Application (1) Environment (1) On which statements does it
Fallbeispiel1, VB6 - VB.NET .NET Framework Hi @ll, ausgehend vom ellenlangen Thread "Migration auf .NET. . ." habe ich mal ein skizziert, welches auf Fragen basiert, die sowohl in der VB6-NG, als auch in der VB.NET-NG mehrmals gestellt wurden. Ziel des Beispieles ist es, den Entwicklungsaufwand und den Umfang des jetzt gleich? Hi Aldi, die Frage ist, wie sieht die Lösung in VB6 und in VB.NET aus und wie viel Zeit braucht man für die Lösung in VB6 und VB.NET (nur für das Codieren) und welche Fremdkomponenten werden ggf. einbezogen (z.B. bei Mehrsprachigkeit)? - - Viele