- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
need help
- Interests
- Codes
- PC Specs
- Acer
in my work i get 03:00:00 as the total hours work..how can i make it in just 3? Dim TimeOutHours = TimeSpan.FromHours(Val(DateTime.Parse(TimeOfDay.ToString(Me.TimeOutTextBox.Text.Trim)).Hour)) Dim TimeInHours = TimeSpan.FromHours(Val(DateTime.Parse(TimeOfDay.ToString(Me.TimeInTextBox.Text.Trim)).Hour)) Dim TimeOutMins As Integer = (Val(DateTime.Parse(TimeOfDay.ToString(TimeOutTextBox.Text)).Minute)) Dim TimeInMins As Integer = (Val(DateTime.Parse(TimeOfDay.ToString(TimeInTextBox.Text)).Minute)) Dim mingreat As TimeSpan = TimeOutHours.Subtract(TimeInHours).Subtract(TimeSpan.FromHours(1)) Dim minless As TimeSpan = TimeOutHours.Subtract(TimeInHours) … |
|
i have here a code that add timeintextbox and timeouttextbox to calculate for the total hours work. my problem is that i want to subtract 1hour in the total hours work for the break time..please any idea on how should i do this? Dim TimeA As Date Dim TimeB As … |
|
i want to call items in a database based on a date range...can someone help me with this..i really don't have any idea how |
|
i want to add dates from two datetimepicker...for example the user chooses the date 1/1/2012 in the first picker and chooses 1/3/2012 in the second picker the answer should be 3 that will be shown in a textbox.. this is the codes that i tried: Dim dt1 As Date = … |
|
i have two textbox..TimeInTextbox that contains time in for example(8:00 am) and TimeOutTextbox that contains time out for example(5:00 pm), i want to add TimeInTextbox and TimeOutTextbox to get the total working hours but how am i suppposed to do that? |
|
can anyone help me in adding items to a listview? here is what i want to do: when i click the login button the date and time will be added in the column date and time in, here is my code and it works[Click Here](null): Private Sub LoginButton_Click(ByVal sender As … |
|
i have here a code for my enlistment module..this code is for the available slot. for example i have set 10 as available slot and when i enlist a student 10 will become 9 and so on..my problem is when it reach zero because i can still enlist but the … |
|
does anyone know how to make reports in vb.net become a daily, weekly and monthly basis? |
|
How do I open my Crystal Report in VB code (RPT files) on password-protected Access 2007 database? Ever since I protected my database with password, my Crystal Report generates an error. Thanks |
|
i have 2 combobox, one is for the start time and the other is for the end time. my problem is on how to set the time interval.. for example if user select 6:00am as start time and 6:00 am as end time it must prompt that is in invalid.. … |
|
hi again everyone...i have here an attach image of my problem.... items in year level came from my database...what i wanted is that their would be no repitition...is this possible? please help ![526949_423643440983941_100000148652191_1891701_429384302_n](/attachments/small/3/526949_423643440983941_100000148652191_1891701_429384302_n.jpg "align-left") |
|
i have here a code for my back up: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dbload As String = Application.StartupPath + "\Enrollment System.accdb" Dim backupdb As String = "G:{0:yyyyMMdd}" + ".accdb" System.IO.File.Copy(dbload, String.Format(backupdb, Date.Today), True) MsgBox("DB Backup Successful") End Sub but this code … |
|
i had set a password for my database to protect my data but the problem is that my database doesn't function with my codes in vb...how do i solved this? please help |
|
please kindly help me!!! what i wanted is when i select items in the combobox and it is already in the database it will prompt that it is already in the database..tnx ~~~ vb Private Sub ComboBox3_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles ComboBox3.Validating If ComboBox3.Validating Then con … |
|
hi again everyone...i'am currently making an enrollment system and it requires to be a LAN..does anyone knows how to make a system become LAN? |
|
hello! i'm trying to implement an audit trail in my system and what i wanted is that when the user click the login button, infos like username, level of access, time in and date will be save in the database and fortunately i have done it and here is my … |
|
hi how do i set a listview to only add one item from a combobox? example: when the combobox contains the items dog,cat,pig and when the user chooses pig it is added to the listview but when the user selects the pig again it must prompt that already added... i … |
|
please kindly help me!!! what i wanted is when i select items in the combobox and it is already in the database it will prompt that it is already in the database..tnx Private Sub ComboBox3_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles ComboBox3.Validating If ComboBox3.Validating Then con = New … |
|
hi everyone! below i will be showing you the codes of my scheduling module for an enrollment system..my problem is that on how to set conflict here is the code: Option Explicit On Imports System.Data Imports System.Data.OleDb Public Class Scheduling Dim con As OleDbConnection Dim com As New OleDbCommand Dim … |
|
![Untitled57](/attachments/small/3/Untitled57.png "align-left") hi everyone! below i will be showing you the codes of my scheduling module for an enrollment system..my problem is that on how to set conflict. i included a screenshot of the interface for further understanding... i hope you could help me... here is the code: Option Explicit … |
|
![maintenance](/attachments/small/3/maintenance.png "align-left") i have here below codes of my maintenance module..my problem is that when i click the edit button and search for student number it makes error in saving but when i use the listview to edit it saves successfully...please help me i'll be attaching a sample screenshot here's … |
|
please help me.. i keep searching anywhere but find no answer i want to set the default value of a combobox in my edit account module based on the levelofaccesstextbox in my login module but my codes doesn't work here's my code: Private Sub editaccount_Load(ByVal sender As System.Object, ByVal e … |
|
please help me.. i keep searching anywhere but find no answer i want to set the default value of a combobox in my edit account module based on the levelofaccesstextbox in my login module but my codes doesn't work here's my code: Private Sub editaccount_Load(ByVal sender As System.Object, ByVal e … |