ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] call ¼Ò²Õ«á²Å¦X±ø¥ó®É¡A¦p¦ó°±¤îµ{¦¡½X°õ¦æ?

¥»©«³Ì«á¥Ñ reangame ©ó 2014-5-25 22:48 ½s¿è

¦^´_ 10# c_c_lai

c_c_lai¤j¤j¡A±z¦n¡G
¸g´ú¸Õ±z´£¨Ñªºµ{¦¡½X«á¥X²{¿ù»~¡A¦p¤U¹Ï¡G
5555.jpg
¿ù»~¥X²{¦b¥H¤Uµ{¦¡½X¡G
  1. Private Sub ComboBox2_Change()
  2.     ComboBox1.Clear
  3.     rday = Day((DateSerial(ComboBox3.Text, ComboBox2.Text + 1, 1) - 1))
  4.     For i = 1 To rday
  5.         ComboBox1.AddItem i
  6.     Next i
  7.     ComboBox1.Text = Day(Date)
  8.     Me.Label1.Caption = week
  9. End Sub
½Æ»s¥N½X
µ{¦¡½X¿ù»~¥X²{¦b²Ä8¦æªºweek¡A
½Ð±z¦A«ü¾É¤@¤U¡I
§Ú¬O´µ¦h

TOP

¥»©«³Ì«á¥Ñ c_c_lai ©ó 2014-5-26 07:28 ½s¿è

¦^´_ 11# reangame
§Aªº week() ¨ç¼Æ¨Ã¨S¦³±a¤J¤Þ¼Æ¤§¬G¡C
  1. Function week(Text3 As String, Text2 As String, Text1 As String) As String
  2.     week = Format(DateSerial(Text3, Text2, Text1), "[$-404]aaaa;@")
  3. End Function
½Æ»s¥N½X
Á|¨Ò¡G
  1.     Me.Label1.Caption = week(ComboBox3.Text,ComboBox2.Text,ComboBox1.Text)
  2.     '   ComboBox3.Text µ¥¬°¤Þ¤J­È¡A¥ç§Y¥i¬°¥ô¦ó¤§¦r¦ê¤Þ¼Æ¡A©Î³\¥¦¬°¤£¦Pªí³æ¤§ "¿ï¾Ü¦¬½L¤é´ÁB.ComboBoxA.Text"
½Æ»s¥N½X

TOP

¦^´_ 9# reangame

ªí³æ¤¤ªºµ{§Ç¡A¦p¤U¡G
Function week() ......
ÁÙ¬O«Ü·Qª¾¹Dªí³æ¤¤¡Aµ{§Ç©Ò²£¥Íªº­È¦³¤°»ò¿ìªk¥i¥HÅý¼Ò²Õª½±µ¨ú¥Î???


Âç²M¤@¤U
tutu¬°¼Ò²Õ¤¤function¡Aweek¬°ªí³æ(¿ï¾Ü¦¬½L¤é´Á)¤¤function
­n¦btutu¤¤©I¥sweek¡A»Ý­n«e­±±¾¤W­þ¤@­Óªí³æ
¦p:
If ¿ï¾Ü¦¬½L¤é´Á.week = "¬P´Á¤»" Or ¿ï¾Ü¦¬½L¤é´Á.week = "¬P´Á¤é" Or md = "" Then

TOP

¦^´_ 12# c_c_lai
¦^´_ 13# stillfish00

c_c_lai¤j¤j¡Bstillfish00¤j¤j¡G
¤£¦n·N«ä¬Q¤Ñ¥X®t¥h¤F¡A¨S¿ìªk¤Wºô¡A
¨Ì·Óstillfish00¤j¤j©Ò»¡ªº¡G¦bweek«e­±¥[¤Wªí³æ¦WºÙ´N§ì¨úªº¨ìweekªº­È¤F¡A
­ì¨Ó´N³o»ò²³æ¡A¯u¬O¦½ÃC  =.=....
¤£¹L¡A¤]§ó¥[²`¤F§Úªº¦L¶H¡AÁÙ¬O«Ü·PÁ¨â¦ì¤j¤jªº«ü¾É¡A·PÁ­ò¡I
§Ú¬O´µ¦h

TOP

        ÀR«ä¦Û¦b : ¤ß¤¤±`¦sµ½¸Ñ¡B¥]®e¡B·P«ä¡Bª¾¨¬¡B±¤ºÖ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD