Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.
All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!
sir need help sa vb6 need ko program para sa makita ung zodiac sign at age mo pag enter mo ng date of birth mo sino meron?
Dim Bday As String
Dim YourZodiac As String
Bday = Format(dtpBday.Value, "mm/dd" 'Sabihin omit the year
Public Function GetZodiac
Select Case Bday
Case "03/21" To "04/19"
Zodiac="Aries"
Case "04/20" TO "05/20"
Zodiac="Taurus"
Case "05/21" TO "06/20"
Zodiac="Gemini"
Case "06/21" TO "06/22"
Zodiac="Gemini"
Case "07/23" TO "08/22"
Zodiac="Leo"
Case "08/23" TO"09/22"
Zodiac="Virgo"
Case "09/23" TO "10/21"
Zodiac="Libra"
Case "11/22" TO "12/21" Then
Zodiac="Sagitarius"
Case "12/22" TO "01/19" Then
Zodiac="Capricorn"
Case "01/20" TO "02/18"
Zodiac="Aquarius"
Case "02/19" TO "03/20"
Zodiac="Pisces"
End Select
ENd FUnction
Public Function GetAge(Bday As Date) As String
Dim MyMonth As Integer
Dim MyDay As Integer
Dim Age As Integer
MyMonth = Month(Bday)
MyDay = Day(Bday)
Age = DateDiff("yyyy", Bday, Now)
If Age > 1 Then
If MyMonth > Month(Now) Then
Age = Age - 1
ElseIf MyMonth = Month(Date) Then
If MyDay <= Day(Now) Then
Age = Age
Else
Age = Age - 1
End If
End If
End If
GetAge = Age
End Function
Msgbox "Your zodiac is " & Zodiac
GetAge(dtpBday.Value)
Msgbox Age
Hello mga bosing..... may tanong lang po ... paano ba ma e connect young Visual basic program through internet database? possible po ba yon? mas maganda kasi pag nasa internet yong database mo...
Hello mga bosing..... may tanong lang po ... paano ba ma e connect young Visual basic program through internet database? possible po ba yon? mas maganda kasi pag nasa internet yong database mo...
Example may DTpicker na may Name na dtpBday
/Code:Dim Bday As String Dim YourZodiac As String Bday = Format(dtpBday.Value, "mm/dd" 'Sabihin omit the year Public Function GetZodiac Select Case Bday Case "03/21" To "04/19" Zodiac="Aries" Case "04/20" TO "05/20" Zodiac="Taurus" Case "05/21" TO "06/20" Zodiac="Gemini" Case "06/21" TO "06/22" Zodiac="Gemini" Case "07/23" TO "08/22" Zodiac="Leo" Case "08/23" TO"09/22" Zodiac="Virgo" Case "09/23" TO "10/21" Zodiac="Libra" Case "11/22" TO "12/21" Then Zodiac="Sagitarius" Case "12/22" TO "01/19" Then Zodiac="Capricorn" Case "01/20" TO "02/18" Zodiac="Aquarius" Case "02/19" TO "03/20" Zodiac="Pisces" End Select ENd FUnction Public Function GetAge(Bday As Date) As String Dim MyMonth As Integer Dim MyDay As Integer Dim Age As Integer MyMonth = Month(Bday) MyDay = Day(Bday) Age = DateDiff("yyyy", Bday, Now) If Age > 1 Then If MyMonth > Month(Now) Then Age = Age - 1 ElseIf MyMonth = Month(Date) Then If MyDay <= Day(Now) Then Age = Age Else Age = Age - 1 End If End If End If GetAge = Age End Function Msgbox "Your zodiac is " & Zodiac GetAge(dtpBday.Value) Msgbox Age
Private Sub cboUsername_Click()
Connection
sql = "SELECT User_Position,UserName FROM tblUseraccount WHERE (UserName = ' " & cboUsername.Text & " ' )"
Set rs = New ADODB.Recordset
rs.Open sql, conn, adOpenDynamic, adLockOptimistic
With rs
If cboUsername.Text = !UserName Then
txtPosition.Text = !User_Position
End If
End With
rs.Close: Set rs = Nothing
txtPassword.SetFocus
End Sub
____ Pa help naman po I get runtime error 3021, gusto ko lang sana i acces ang record then display
pm me. naka upload sa mediafire ko. madali kasi magdelete mediafire eh or tignan mo sa thread ko kung buhay pa ung mga links
naman po about sa daily time record ng employee . atsaka salary computation sa payroll system thanks in advance