home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 6_2008-2009.ISO / data / zips / Date_Time2200143192011.psc / frmCalender.frm < prev    next >
Text File  |  2011-03-20  |  31KB  |  915 lines

  1. VERSION 5.00
  2. Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
  3. Begin VB.Form frmCalender 
  4.    AutoRedraw      =   -1  'True
  5.    Caption         =   "Planet-Source-Code.com"
  6.    ClientHeight    =   6780
  7.    ClientLeft      =   225
  8.    ClientTop       =   555
  9.    ClientWidth     =   11790
  10.    LinkTopic       =   "Form1"
  11.    ScaleHeight     =   452
  12.    ScaleMode       =   3  'Pixel
  13.    ScaleWidth      =   786
  14.    StartUpPosition =   3  'Windows Default
  15.    Begin VB.Frame frmDateBy_AddDayOnDay 
  16.       Caption         =   "DateBy_AddDayOnDay"
  17.       Height          =   4335
  18.       Left            =   240
  19.       TabIndex        =   3
  20.       Top             =   240
  21.       Width           =   3615
  22.       Begin VB.TextBox txtAddDayOnDay 
  23.          Alignment       =   2  'Center
  24.          BackColor       =   &H008080FF&
  25.          Height          =   285
  26.          Index           =   8
  27.          Left            =   1920
  28.          TabIndex        =   66
  29.          Top             =   2520
  30.          Width           =   1575
  31.       End
  32.       Begin VB.TextBox txtAddDayOnDay 
  33.          Alignment       =   2  'Center
  34.          BackColor       =   &H008080FF&
  35.          Height          =   285
  36.          Index           =   7
  37.          Left            =   1920
  38.          TabIndex        =   64
  39.          Top             =   1800
  40.          Width           =   1575
  41.       End
  42.       Begin VB.TextBox txtAddDayOnDay 
  43.          Alignment       =   2  'Center
  44.          BackColor       =   &H00C0C0FF&
  45.          Height          =   285
  46.          Index           =   6
  47.          Left            =   960
  48.          TabIndex        =   52
  49.          Top             =   2160
  50.          Width           =   2535
  51.       End
  52.       Begin VB.TextBox txtAddDayOnDay 
  53.          Alignment       =   2  'Center
  54.          BackColor       =   &H00C0C0FF&
  55.          Height          =   285
  56.          Index           =   5
  57.          Left            =   960
  58.          TabIndex        =   51
  59.          Top             =   1440
  60.          Width           =   2535
  61.       End
  62.       Begin VB.TextBox txtAddDayOnDay 
  63.          Alignment       =   2  'Center
  64.          BackColor       =   &H0080FF80&
  65.          Height          =   285
  66.          Index           =   4
  67.          Left            =   960
  68.          TabIndex        =   17
  69.          Top             =   1080
  70.          Width           =   2535
  71.       End
  72.       Begin VB.TextBox txtAddDayOnDay 
  73.          Alignment       =   2  'Center
  74.          Height          =   285
  75.          Index           =   3
  76.          Left            =   960
  77.          TabIndex        =   15
  78.          Text            =   "427"
  79.          Top             =   720
  80.          Width           =   2295
  81.       End
  82.       Begin VB.TextBox txtAddDayOnDay 
  83.          Alignment       =   2  'Center
  84.          BackColor       =   &H00C0E0FF&
  85.          Height          =   285
  86.          Index           =   2
  87.          Left            =   2640
  88.          TabIndex        =   12
  89.          Text            =   "2008"
  90.          Top             =   360
  91.          Width           =   615
  92.       End
  93.       Begin VB.TextBox txtAddDayOnDay 
  94.          Alignment       =   2  'Center
  95.          BackColor       =   &H00C0E0FF&
  96.          Height          =   285
  97.          Index           =   1
  98.          Left            =   1800
  99.          TabIndex        =   10
  100.          Text            =   "12"
  101.          Top             =   360
  102.          Width           =   375
  103.       End
  104.       Begin VB.CommandButton cmdAddDayOnDay 
  105.          Caption         =   "OK"
  106.          Height          =   375
  107.          Left            =   2520
  108.          TabIndex        =   7
  109.          Top             =   3840
  110.          Width           =   975
  111.       End
  112.       Begin VB.TextBox txtAddDayOnDay 
  113.          Alignment       =   2  'Center
  114.          BackColor       =   &H0000FFFF&
  115.          Height          =   285
  116.          Index           =   0
  117.          Left            =   960
  118.          TabIndex        =   4
  119.          Text            =   "30"
  120.          Top             =   360
  121.          Width           =   375
  122.       End
  123.       Begin MSComCtl2.UpDown UpDAddDayOnDay 
  124.          Height          =   285
  125.          Index           =   0
  126.          Left            =   1320
  127.          TabIndex        =   9
  128.          Top             =   360
  129.          Width           =   255
  130.          _ExtentX        =   450
  131.          _ExtentY        =   503
  132.          _Version        =   393216
  133.          Value           =   1
  134.          Max             =   31
  135.          Enabled         =   -1  'True
  136.       End
  137.       Begin MSComCtl2.UpDown UpDAddDayOnDay 
  138.          Height          =   285
  139.          Index           =   1
  140.          Left            =   2160
  141.          TabIndex        =   11
  142.          Top             =   360
  143.          Width           =   255
  144.          _ExtentX        =   450
  145.          _ExtentY        =   503
  146.          _Version        =   393216
  147.          Value           =   1
  148.          Max             =   12
  149.          Enabled         =   -1  'True
  150.       End
  151.       Begin MSComCtl2.UpDown UpDAddDayOnDay 
  152.          Height          =   285
  153.          Index           =   2
  154.          Left            =   3240
  155.          TabIndex        =   13
  156.          Top             =   360
  157.          Width           =   255
  158.          _ExtentX        =   450
  159.          _ExtentY        =   503
  160.          _Version        =   393216
  161.          Value           =   2008
  162.          Max             =   3000
  163.          Enabled         =   -1  'True
  164.       End
  165.       Begin MSComCtl2.UpDown UpDAddDayOnDay 
  166.          Height          =   285
  167.          Index           =   3
  168.          Left            =   3240
  169.          TabIndex        =   18
  170.          Top             =   720
  171.          Width           =   255
  172.          _ExtentX        =   450
  173.          _ExtentY        =   503
  174.          _Version        =   393216
  175.          Value           =   1
  176.          Max             =   99999
  177.          Enabled         =   -1  'True
  178.       End
  179.       Begin VB.Label Label1 
  180.          Caption         =   "None"
  181.          Height          =   735
  182.          Index           =   0
  183.          Left            =   120
  184.          TabIndex        =   67
  185.          Top             =   3000
  186.          Width           =   3375
  187.       End
  188.       Begin VB.Label Label3 
  189.          Caption         =   "MonthMod"
  190.          Height          =   255
  191.          Index           =   65
  192.          Left            =   960
  193.          TabIndex        =   65
  194.          Top             =   2520
  195.          Width           =   855
  196.       End
  197.       Begin VB.Label Label3 
  198.          Caption         =   "DayMod"
  199.          Height          =   255
  200.          Index           =   64
  201.          Left            =   960
  202.          TabIndex        =   63
  203.          Top             =   1800
  204.          Width           =   615
  205.       End
  206.       Begin VB.Label Label3 
  207.          Caption         =   "YearOut"
  208.          Height          =   255
  209.          Index           =   52
  210.          Left            =   120
  211.          TabIndex        =   54
  212.          Top             =   2160
  213.          Width           =   1095
  214.       End
  215.       Begin VB.Label Label3 
  216.          Caption         =   "MonthOut"
  217.          Height          =   255
  218.          Index           =   51
  219.          Left            =   120
  220.          TabIndex        =   53
  221.          Top             =   1440
  222.          Width           =   1095
  223.       End
  224.       Begin VB.Label Label3 
  225.          Caption         =   "DateOut"
  226.          Height          =   255
  227.          Index           =   4
  228.          Left            =   120
  229.          TabIndex        =   16
  230.          Top             =   1080
  231.          Width           =   1095
  232.       End
  233.       Begin VB.Label Label3 
  234.          Caption         =   "Day"
  235.          Height          =   255
  236.          Index           =   3
  237.          Left            =   120
  238.          TabIndex        =   14
  239.          Top             =   720
  240.          Width           =   1095
  241.       End
  242.       Begin VB.Label Label3 
  243.          Caption         =   "/"
  244.          Height          =   255
  245.          Index           =   2
  246.          Left            =   2520
  247.          TabIndex        =   8
  248.          Top             =   360
  249.          Width           =   495
  250.       End
  251.       Begin VB.Label Label3 
  252.          Caption         =   "/"
  253.          Height          =   255
  254.          Index           =   1
  255.          Left            =   1680
  256.          TabIndex        =   6
  257.          Top             =   360
  258.          Width           =   1095
  259.       End
  260.       Begin VB.Label Label3 
  261.          Caption         =   "Date In"
  262.          Height          =   255
  263.          Index           =   0
  264.          Left            =   120
  265.          TabIndex        =   5
  266.          Top             =   360
  267.          Width           =   1095
  268.       End
  269.    End
  270.    Begin VB.Frame frmDateBy_AddMonthOnMonth 
  271.       Caption         =   "DateBy_AddMonthOnMonth"
  272.       Height          =   4335
  273.       Left            =   4080
  274.       TabIndex        =   35
  275.       Top             =   240
  276.       Width           =   3615
  277.       Begin VB.TextBox txtAddMonthOnMonth 
  278.          Alignment       =   2  'Center
  279.          BackColor       =   &H008080FF&
  280.          Height          =   285
  281.          Index           =   7
  282.          Left            =   1920
  283.          TabIndex        =   68
  284.          Top             =   2160
  285.          Width           =   1575
  286.       End
  287.       Begin VB.TextBox txtAddMonthOnMonth 
  288.          Alignment       =   2  'Center
  289.          BackColor       =   &H00C0C0FF&
  290.          Height          =   285
  291.          Index           =   6
  292.          Left            =   960
  293.          TabIndex        =   56
  294.          Top             =   1800
  295.          Width           =   2535
  296.       End
  297.       Begin VB.TextBox txtAddMonthOnMonth 
  298.          Alignment       =   2  'Center
  299.          BackColor       =   &H00C0C0FF&
  300.          Height          =   285
  301.          Index           =   5
  302.          Left            =   960
  303.          TabIndex        =   55
  304.          Top             =   1440
  305.          Width           =   2535
  306.       End
  307.       Begin VB.TextBox txtAddMonthOnMonth 
  308.          Alignment       =   2  'Center
  309.          BackColor       =   &H0080FF80&
  310.          Height          =   285
  311.          Index           =   4
  312.          Left            =   960
  313.          TabIndex        =   50
  314.          Top             =   1080
  315.          Width           =   2535
  316.       End
  317.       Begin VB.TextBox txtAddMonthOnMonth 
  318.          Alignment       =   2  'Center
  319.          Height          =   285
  320.          Index           =   3
  321.          Left            =   960
  322.          TabIndex        =   48
  323.          Text            =   "14"
  324.          Top             =   720
  325.          Width           =   2295
  326.       End
  327.       Begin VB.TextBox txtAddMonthOnMonth 
  328.          Alignment       =   2  'Center
  329.          BackColor       =   &H00C0E0FF&
  330.          Height          =   285
  331.          Index           =   2
  332.          Left            =   2640
  333.          TabIndex        =   46
  334.          Text            =   "2008"
  335.          Top             =   360
  336.          Width           =   615
  337.       End
  338.       Begin VB.TextBox txtAddMonthOnMonth 
  339.          Alignment       =   2  'Center
  340.          BackColor       =   &H0000FFFF&
  341.          Height          =   285
  342.          Index           =   1
  343.          Left            =   1800
  344.          TabIndex        =   44
  345.          Text            =   "12"
  346.          Top             =   360
  347.          Width           =   375
  348.       End
  349.       Begin VB.CommandButton cmdAddMonthOnMonth 
  350.          Caption         =   "OK"
  351.          Height          =   375
  352.          Left            =   2520
  353.          TabIndex        =   37
  354.          Top             =   3840
  355.          Width           =   975
  356.       End
  357.       Begin VB.TextBox txtAddMonthOnMonth 
  358.          Alignment       =   2  'Center
  359.          BackColor       =   &H00C0E0FF&
  360.          Height          =   285
  361.          Index           =   0
  362.          Left            =   960
  363.          TabIndex        =   36
  364.          Text            =   "30"
  365.          Top             =   360
  366.          Width           =   375
  367.       End
  368.       Begin MSComCtl2.UpDown UpDAddMonthOnMonth 
  369.          Height          =   285
  370.          Index           =   0
  371.          Left            =   1320
  372.          TabIndex        =   38
  373.          Top             =   360
  374.          Width           =   255
  375.          _ExtentX        =   450
  376.          _ExtentY        =   503
  377.          _Version        =   393216
  378.          Value           =   1
  379.          Max             =   31
  380.          Enabled         =   -1  'True
  381.       End
  382.       Begin MSComCtl2.UpDown UpDAddMonthOnMonth 
  383.          Height          =   285
  384.          Index           =   1
  385.          Left            =   2160
  386.          TabIndex        =   45
  387.          Top             =   360
  388.          Width           =   255
  389.          _ExtentX        =   450
  390.          _ExtentY        =   503
  391.          _Version        =   393216
  392.          Value           =   1
  393.          Max             =   31
  394.          Enabled         =   -1  'True
  395.       End
  396.       Begin MSComCtl2.UpDown UpDAddMonthOnMonth 
  397.          Height          =   285
  398.          Index           =   2
  399.          Left            =   3240
  400.          TabIndex        =   47
  401.          Top             =   360
  402.          Width           =   255
  403.          _ExtentX        =   450
  404.          _ExtentY        =   503
  405.          _Version        =   393216
  406.          Value           =   2008
  407.          Max             =   3000
  408.          Enabled         =   -1  'True
  409.       End
  410.       Begin MSComCtl2.UpDown UpDAddMonthOnMonth 
  411.          Height          =   285
  412.          Index           =   3
  413.          Left            =   3240
  414.          TabIndex        =   49
  415.          Top             =   720
  416.          Width           =   255
  417.          _ExtentX        =   450
  418.          _ExtentY        =   503
  419.          _Version        =   393216
  420.          Value           =   1
  421.          Max             =   99999
  422.          Enabled         =   -1  'True
  423.       End
  424.       Begin VB.Label Label1 
  425.          Caption         =   "None"
  426.          Height          =   735
  427.          Index           =   1
  428.          Left            =   120
  429.          TabIndex        =   70
  430.          Top             =   3000
  431.          Width           =   3375
  432.       End
  433.       Begin VB.Label Label3 
  434.          Caption         =   "MonthMod"
  435.          Height          =   255
  436.          Index           =   25
  437.          Left            =   960
  438.          TabIndex        =   69
  439.          Top             =   2160
  440.          Width           =   855
  441.       End
  442.       Begin VB.Label Label3 
  443.          Caption         =   "YearOut"
  444.          Height          =   255
  445.          Index           =   54
  446.          Left            =   120
  447.          TabIndex        =   58
  448.          Top             =   1800
  449.          Width           =   1095
  450.       End
  451.       Begin VB.Label Label3 
  452.          Caption         =   "DayOut"
  453.          Height          =   255
  454.          Index           =   53
  455.          Left            =   120
  456.          TabIndex        =   57
  457.          Top             =   1440
  458.          Width           =   1095
  459.       End
  460.       Begin VB.Label Label3 
  461.          Caption         =   "DateOut"
  462.          Height          =   255
  463.          Index           =   14
  464.          Left            =   120
  465.          TabIndex        =   43
  466.          Top             =   1080
  467.          Width           =   1095
  468.       End
  469.       Begin VB.Label Label3 
  470.          Caption         =   "Month"
  471.          Height          =   255
  472.          Index           =   13
  473.          Left            =   120
  474.          TabIndex        =   42
  475.          Top             =   720
  476.          Width           =   1095
  477.       End
  478.       Begin VB.Label Label3 
  479.          Caption         =   "/"
  480.          Height          =   255
  481.          Index           =   12
  482.          Left            =   1680
  483.          TabIndex        =   41
  484.          Top             =   360
  485.          Width           =   615
  486.       End
  487.       Begin VB.Label Label3 
  488.          Caption         =   "Date In"
  489.          Height          =   255
  490.          Index           =   11
  491.          Left            =   120
  492.          TabIndex        =   40
  493.          Top             =   360
  494.          Width           =   1095
  495.       End
  496.       Begin VB.Label Label3 
  497.          Caption         =   "/"
  498.          Height          =   255
  499.          Index           =   10
  500.          Left            =   2520
  501.          TabIndex        =   39
  502.          Top             =   360
  503.          Width           =   495
  504.       End
  505.    End
  506.    Begin VB.Frame frmDateBy_AddYearOnYear 
  507.       Caption         =   "DateBy_AddYearOnYear"
  508.       Height          =   4335
  509.       Left            =   7920
  510.       TabIndex        =   19
  511.       Top             =   240
  512.       Width           =   3615
  513.       Begin VB.TextBox txtAddYearOnYear 
  514.          Alignment       =   2  'Center
  515.          BackColor       =   &H00C0C0FF&
  516.          Height          =   285
  517.          Index           =   6
  518.          Left            =   960
  519.          TabIndex        =   60
  520.          Top             =   1800
  521.          Width           =   2535
  522.       End
  523.       Begin VB.TextBox txtAddYearOnYear 
  524.          Alignment       =   2  'Center
  525.          BackColor       =   &H00C0C0FF&
  526.          Height          =   285
  527.          Index           =   5
  528.          Left            =   960
  529.          TabIndex        =   59
  530.          Top             =   1440
  531.          Width           =   2535
  532.       End
  533.       Begin VB.TextBox txtAddYearOnYear 
  534.          Alignment       =   2  'Center
  535.          BackColor       =   &H0080FF80&
  536.          Height          =   285
  537.          Index           =   4
  538.          Left            =   960
  539.          TabIndex        =   34
  540.          Top             =   1080
  541.          Width           =   2535
  542.       End
  543.       Begin VB.TextBox txtAddYearOnYear 
  544.          Alignment       =   2  'Center
  545.          Height          =   285
  546.          Index           =   3
  547.          Left            =   960
  548.          TabIndex        =   32
  549.          Text            =   "47"
  550.          Top             =   720
  551.          Width           =   2295
  552.       End
  553.       Begin VB.TextBox txtAddYearOnYear 
  554.          Alignment       =   2  'Center
  555.          BackColor       =   &H0000FFFF&
  556.          Height          =   285
  557.          Index           =   2
  558.          Left            =   2640
  559.          TabIndex        =   30
  560.          Text            =   "2008"
  561.          Top             =   360
  562.          Width           =   615
  563.       End
  564.       Begin VB.TextBox txtAddYearOnYear 
  565.          Alignment       =   2  'Center
  566.          BackColor       =   &H00C0E0FF&
  567.          Height          =   285
  568.          Index           =   1
  569.          Left            =   1800
  570.          TabIndex        =   28
  571.          Text            =   "12"
  572.          Top             =   360
  573.          Width           =   375
  574.       End
  575.       Begin VB.TextBox txtAddYearOnYear 
  576.          Alignment       =   2  'Center
  577.          BackColor       =   &H00C0E0FF&
  578.          Height          =   285
  579.          Index           =   0
  580.          Left            =   960
  581.          TabIndex        =   21
  582.          Text            =   "30"
  583.          Top             =   360
  584.          Width           =   375
  585.       End
  586.       Begin VB.CommandButton cmdAddYearOnYear 
  587.          Caption         =   "OK"
  588.          Height          =   375
  589.          Left            =   2520
  590.          TabIndex        =   20
  591.          Top             =   3840
  592.          Width           =   975
  593.       End
  594.       Begin MSComCtl2.UpDown UpDAddYearOnYear 
  595.          Height          =   285
  596.          Index           =   0
  597.          Left            =   1320
  598.          TabIndex        =   22
  599.          Top             =   360
  600.          Width           =   255
  601.          _ExtentX        =   450
  602.          _ExtentY        =   503
  603.          _Version        =   393216
  604.          Value           =   1
  605.          Max             =   31
  606.          Enabled         =   -1  'True
  607.       End
  608.       Begin MSComCtl2.UpDown UpDAddYearOnYear 
  609.          Height          =   285
  610.          Index           =   1
  611.          Left            =   2160
  612.          TabIndex        =   29
  613.          Top             =   360
  614.          Width           =   255
  615.          _ExtentX        =   450
  616.          _ExtentY        =   503
  617.          _Version        =   393216
  618.          Value           =   1
  619.          Max             =   31
  620.          Enabled         =   -1  'True
  621.       End
  622.       Begin MSComCtl2.UpDown UpDAddYearOnYear 
  623.          Height          =   285
  624.          Index           =   2
  625.          Left            =   3240
  626.          TabIndex        =   31
  627.          Top             =   360
  628.          Width           =   255
  629.          _ExtentX        =   450
  630.          _ExtentY        =   503
  631.          _Version        =   393216
  632.          Value           =   2008
  633.          Max             =   3000
  634.          Enabled         =   -1  'True
  635.       End
  636.       Begin MSComCtl2.UpDown UpDAddYearOnYear 
  637.          Height          =   285
  638.          Index           =   3
  639.          Left            =   3240
  640.          TabIndex        =   33
  641.          Top             =   720
  642.          Width           =   255
  643.          _ExtentX        =   450
  644.          _ExtentY        =   503
  645.          _Version        =   393216
  646.          Value           =   1
  647.          Max             =   99999
  648.          Enabled         =   -1  'True
  649.       End
  650.       Begin VB.Label Label1 
  651.          Caption         =   "None"
  652.          Height          =   735
  653.          Index           =   2
  654.          Left            =   120
  655.          TabIndex        =   71
  656.          Top             =   3000
  657.          Width           =   3375
  658.       End
  659.       Begin VB.Label Label3 
  660.          Caption         =   "MonthOut"
  661.          Height          =   255
  662.          Index           =   56
  663.          Left            =   120
  664.          TabIndex        =   62
  665.          Top             =   1800
  666.          Width           =   1095
  667.       End
  668.       Begin VB.Label Label3 
  669.          Caption         =   "DayOut"
  670.          Height          =   255
  671.          Index           =   55
  672.          Left            =   120
  673.          TabIndex        =   61
  674.          Top             =   1440
  675.          Width           =   1095
  676.       End
  677.       Begin VB.Label Label3 
  678.          Caption         =   "/"
  679.          Height          =   255
  680.          Index           =   7
  681.          Left            =   2520
  682.          TabIndex        =   25
  683.          Top             =   360
  684.          Width           =   495
  685.       End
  686.       Begin VB.Label Label3 
  687.          Caption         =   "Date In"
  688.          Height          =   255
  689.          Index           =   9
  690.          Left            =   120
  691.          TabIndex        =   27
  692.          Top             =   360
  693.          Width           =   1095
  694.       End
  695.       Begin VB.Label Label3 
  696.          Caption         =   "/"
  697.          Height          =   255
  698.          Index           =   8
  699.          Left            =   1680
  700.          TabIndex        =   26
  701.          Top             =   360
  702.          Width           =   1095
  703.       End
  704.       Begin VB.Label Label3 
  705.          Caption         =   "Year"
  706.          Height          =   255
  707.          Index           =   6
  708.          Left            =   120
  709.          TabIndex        =   24
  710.          Top             =   720
  711.          Width           =   1095
  712.       End
  713.       Begin VB.Label Label3 
  714.          Caption         =   "DateOut"
  715.          Height          =   255
  716.          Index           =   5
  717.          Left            =   120
  718.          TabIndex        =   23
  719.          Top             =   1080
  720.          Width           =   1095
  721.       End
  722.    End
  723.    Begin VB.PictureBox PicStripDurasi 
  724.       Height          =   495
  725.       Left            =   7680
  726.       ScaleHeight     =   435
  727.       ScaleWidth      =   2235
  728.       TabIndex        =   1
  729.       Top             =   11760
  730.       Width           =   2295
  731.    End
  732.    Begin VB.PictureBox PicStripRP 
  733.       Height          =   495
  734.       Left            =   8280
  735.       ScaleHeight     =   435
  736.       ScaleWidth      =   2235
  737.       TabIndex        =   2
  738.       Top             =   11040
  739.       Width           =   2295
  740.    End
  741.    Begin VB.Label Label5 
  742.       Alignment       =   2  'Center
  743.       Caption         =   "BoedidaX9 - Nurfaststar@Yahoo.com"
  744.       BeginProperty Font 
  745.          Name            =   "MS Sans Serif"
  746.          Size            =   24
  747.          Charset         =   0
  748.          Weight          =   400
  749.          Underline       =   0   'False
  750.          Italic          =   0   'False
  751.          Strikethrough   =   0   'False
  752.       EndProperty
  753.       Height          =   735
  754.       Left            =   120
  755.       TabIndex        =   74
  756.       Top             =   6000
  757.       Width           =   11535
  758.    End
  759.    Begin VB.Label Label4 
  760.       Alignment       =   2  'Center
  761.       Caption         =   "Upgrade Date My Function"
  762.       BeginProperty Font 
  763.          Name            =   "MS Sans Serif"
  764.          Size            =   24
  765.          Charset         =   0
  766.          Weight          =   400
  767.          Underline       =   0   'False
  768.          Italic          =   0   'False
  769.          Strikethrough   =   0   'False
  770.       EndProperty
  771.       Height          =   735
  772.       Left            =   120
  773.       TabIndex        =   73
  774.       Top             =   5400
  775.       Width           =   11535
  776.    End
  777.    Begin VB.Label Label2 
  778.       Caption         =   "input only abs(integer)"
  779.       BeginProperty Font 
  780.          Name            =   "MS Sans Serif"
  781.          Size            =   8.25
  782.          Charset         =   0
  783.          Weight          =   700
  784.          Underline       =   0   'False
  785.          Italic          =   0   'False
  786.          Strikethrough   =   0   'False
  787.       EndProperty
  788.       Height          =   255
  789.       Left            =   120
  790.       TabIndex        =   72
  791.       Top             =   4920
  792.       Width           =   11535
  793.    End
  794.    Begin VB.Line Line2 
  795.       Index           =   1
  796.       X1              =   528
  797.       X2              =   768
  798.       Y1              =   312
  799.       Y2              =   312
  800.    End
  801.    Begin VB.Line Line2 
  802.       Index           =   0
  803.       X1              =   272
  804.       X2              =   512
  805.       Y1              =   312
  806.       Y2              =   312
  807.    End
  808.    Begin VB.Line Line1 
  809.       X1              =   16
  810.       X2              =   256
  811.       Y1              =   312
  812.       Y2              =   312
  813.    End
  814.    Begin VB.Shape Shape1 
  815.       Height          =   4695
  816.       Index           =   2
  817.       Left            =   7800
  818.       Top             =   120
  819.       Width           =   3855
  820.    End
  821.    Begin VB.Shape Shape1 
  822.       Height          =   4695
  823.       Index           =   1
  824.       Left            =   3960
  825.       Top             =   120
  826.       Width           =   3855
  827.    End
  828.    Begin VB.Shape Shape1 
  829.       Height          =   4695
  830.       Index           =   0
  831.       Left            =   120
  832.       Top             =   120
  833.       Width           =   3855
  834.    End
  835.    Begin VB.Label lblMember 
  836.       Caption         =   "Label1"
  837.       Height          =   495
  838.       Index           =   3
  839.       Left            =   9840
  840.       TabIndex        =   0
  841.       Top             =   11040
  842.       Width           =   1215
  843.    End
  844. End
  845. Attribute VB_Name = "frmCalender"
  846. Attribute VB_GlobalNameSpace = False
  847. Attribute VB_Creatable = False
  848. Attribute VB_PredeclaredId = True
  849. Attribute VB_Exposed = False
  850. Option Explicit
  851.  
  852. Dim sl_Day As Long, sl_Month As Integer, sl_Year As Integer
  853. Dim sl_Date As String
  854.  
  855. Private Sub cmdAddDayOnDay_Click()
  856. sl_Date = txtAddDayOnDay(0).Text & "/" & txtAddDayOnDay(1).Text & "/" & txtAddDayOnDay(2).Text
  857. sl_Month = 0
  858. txtAddDayOnDay(4).Text = DateBy_AddDayOnDay(sl_Date, txtAddDayOnDay(3), sl_Month, sl_Year, True)
  859. txtAddDayOnDay(5).Text = sl_Month
  860. txtAddDayOnDay(6).Text = sl_Year
  861.  
  862. DateBy_AddMonthOnMonth sl_Date, sl_Month, sl_Day
  863. txtAddDayOnDay(7).Text = Val(txtAddDayOnDay(3).Text) - sl_Day
  864. txtAddDayOnDay(8).Text = sl_Month - (sl_Year * 12)
  865.  
  866. Label1(0).Caption = ThisNameDay(sl_Date) & " " & sl_Date & " + " & txtAddDayOnDay(3) & " Day = " & vbCrLf & ThisNameDay(txtAddDayOnDay(4).Text) & " " & txtAddDayOnDay(4).Text & vbCrLf & txtAddDayOnDay(6) & " Year, " & txtAddDayOnDay(8) & " Month, " & txtAddDayOnDay(7) & " Day."
  867. End Sub
  868.  
  869. Private Sub cmdAddMonthOnMonth_Click()
  870. sl_Date = txtAddMonthOnMonth(0).Text & "/" & txtAddMonthOnMonth(1).Text & "/" & txtAddMonthOnMonth(2).Text
  871. txtAddMonthOnMonth(4).Text = DateBy_AddMonthOnMonth(sl_Date, txtAddMonthOnMonth(3), sl_Day, sl_Year)
  872. txtAddMonthOnMonth(5).Text = sl_Day
  873. txtAddMonthOnMonth(6).Text = sl_Year
  874.  
  875. txtAddMonthOnMonth(7).Text = txtAddMonthOnMonth(3) - (sl_Year * 12)
  876.  
  877. Label1(1).Caption = ThisNameDay(sl_Date) & " " & sl_Date & " + " & txtAddMonthOnMonth(3) & " Month = " & vbCrLf & ThisNameDay(txtAddMonthOnMonth(4)) & " " & txtAddMonthOnMonth(4) & vbCrLf & txtAddMonthOnMonth(6) & " Year, " & txtAddMonthOnMonth(7) & " Month, 0 Day."
  878. End Sub
  879.  
  880. Private Sub cmdAddYearOnYear_Click()
  881. sl_Date = txtAddYearOnYear(0).Text & "/" & txtAddYearOnYear(1).Text & "/" & txtAddYearOnYear(2).Text
  882. txtAddYearOnYear(4).Text = DateBy_AddYearOnYear(sl_Date, txtAddYearOnYear(3), sl_Day, sl_Month)
  883. txtAddYearOnYear(5).Text = sl_Day
  884. txtAddYearOnYear(6).Text = sl_Month
  885.  
  886. Label1(2).Caption = ThisNameDay(sl_Date) & " " & sl_Date & " + " & txtAddYearOnYear(3) & " Year = " & vbCrLf & ThisNameDay(txtAddYearOnYear(4)) & " " & txtAddYearOnYear(4).Text & vbCrLf & txtAddYearOnYear(3) & " Year, 0 Month, 0 Day."
  887. End Sub
  888.  
  889. Private Sub txtAddDayOnDay_Change(Index As Integer)
  890. UpDAddDayOnDay(3).Value = txtAddDayOnDay(3).Text
  891. End Sub
  892.  
  893. Private Sub UpDAddDayOnDay_Change(Index As Integer)
  894. txtAddDayOnDay(Index).Text = UpDAddDayOnDay(Index).Value
  895. cmdAddDayOnDay_Click
  896. End Sub
  897.  
  898. Private Sub UpDAddMonthOnMonth_Change(Index As Integer)
  899. txtAddMonthOnMonth(Index).Text = UpDAddMonthOnMonth(Index).Value
  900. cmdAddMonthOnMonth_Click
  901. End Sub
  902.  
  903. Private Sub UpDAddYearOnYear_Change(Index As Integer)
  904. txtAddYearOnYear(Index).Text = UpDAddYearOnYear(Index).Value
  905. cmdAddYearOnYear_Click
  906. End Sub
  907.  
  908. Private Sub UpDDayBy_Month_Change(Index As Integer)
  909. Dim s_Date As String
  910. txtDayBy_Month(Index).Text = UpDDayBy_Month(Index).Value
  911.  
  912. txtDayBy_Month(4).Text = DayBy_Month(txtDayBy_Month(0).Text & "/" & txtDayBy_Month(1).Text & "/" & txtDayBy_Month(2).Text, Val(txtDayBy_Month(3)), s_Date)
  913. txtDayBy_Month(5).Text = s_Date
  914. End Sub
  915.