Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Çóvb´óϺ¿´Ò»Ï°¡£¡£¡£¡

Private Sub Form_Load()
  recs = Adodc1.Recordset.RecordCount 'Çóµ±Ç°¼Ç¼Êý
  If recs > 0 Then 'ÒÑÓп¼Éú
  Adodc1.Recordset.MoveLast 'ÒƵ½×îºóÒ»Ìõ¼Ç¼
  num = Val(Adodc1.Recordset.Fields("±¨ÃûºÅ")) 'Çó×îºóÒÔΪ¿¼Éú±¨ÃûºÅ
  Adodc1.Recordset.MoveFirst 'ÒƵ½¿ªÍ·¼Ç¼
  Else
  num = 0 'ûÓп¼ÉúÊÇ£¬ÏÂÒ»¸ö±¨ÃûºÅ´Ó0+1=1¿ªÊ¼
  End If
End Sub
ʲôÎÊÌâ°¡£¿

Private Sub Form_Load() 
  recs = Adodc1.Recordset.RecordCount ¾ÍÊÇÕâÀïËü»áÌáʾ¶ÔÏó»òwith±äÁ¿¿ìδÉèÖÃ
  If recs > 0 Then 'ÒÑÓп¼Éú 
  Adodc1.Recordset.MoveLast 'ÒƵ½×îºóÒ»Ìõ¼Ç¼ 
  num = Val(Adodc1.Recordset.Fields("±¨ÃûºÅ")) 'Çó×îºóÒÔΪ¿¼Éú±¨ÃûºÅ 
  Adodc1.Recordset.MoveFirst 'ÒƵ½¿ªÍ·¼Ç¼ 
  Else 
  num = 0 'ûÓп¼ÉúÊÇ£¬ÏÂÒ»¸ö±¨ÃûºÅ´Ó0+1=1¿ªÊ¼ 
  End If 
End Sub

Ìí¼ÓAdodc1¿Ø¼þ

¹¤³Ì——¡µ¿Ø¼þ——¡µmicrosoft ado data control6.0

¹¤³Ì——¡µ²¿¼þ——¡µmicrosoft ado data control6.0

ÒѾ­Ìí¼ÓÁË°¡¡£¡£ÊDz»ÊǺÍÊý¾Ý¿âµÄÁ¬½ÓÓÐÎÊÌâ°¡£¿£¿£¿

ÒýÓÃ
ÒѾ­Ìí¼ÓÁË°¡¡£¡£ÊDz»ÊǺÍÊý¾Ý¿âµÄÁ¬½ÓÓÐÎÊÌâ°¡£¿£¿£¿


Ó¦¸ÃÊÇ

Ŷ¡£¡£¡£Ð»Ð»ÁË°¡ °¡°¡°¡

ûÁ¬ÉÏ.

À´ÍíÁË¡£¡£¡£¡£¿É°®µÄLZ»á²»»á·Öµã·


Ïà¹ØÎÊ´ð£º

Çó½ÌÏÂVBÈçºÎ¸øD3DÓÎϷдÆÁ - VB / API

ÏëÔÚwarcraft3Àï½øÐÐдÆÁ²Ù×÷¡¾Èç¶Ôսƽ̨ÖеÄʤ¸ºÌáʾÐÅÏ¢¡¿£¬Ð§¹û¾ÍÏñÓÎϷƽ̨ÖÐÒ»Ñù£¬ÎÒÊÔ¹ýÔÚÒ»´°¿ÚÖÐдÈëÎÄ×Ö£¬È»ºóÒ»Ö±Èô°¿ÚÇ¿ÖÆ×îÇ°£¬ËäÈ»ÄÜʵÏÖÎÄ×ÖÏÔʾ£¬µ«ÊÇÎÄ×ֻ᲻¶ÏÉÁ˸£¬¶øÇÒÓв»È·¶¨BUG£¬Í¨¹ýÂÛ̳ËÑ ......

VB µÄ PictureBOX ¿Ø¼þ»æͼÎÊÌâ - VB / ¿Ø¼þ

³õѧ£¬´óµ¨ÌáÎÊ£¬Çë¸ßÊÖ²»ÁߴͽÌ
1¡¢¹ö¶¯Ìõµã»÷Óë»æͼ°å£¨ÆÁÄ»,Piceure1£©µÄÒƶ¯ÎÊÌâÒѾ­½â¾ö¡£
  Picture1.Top = -VScroll1.Value + bcW '´¹Ö±Òƶ¯
  Picture1.Left = -HScroll1.Value + bcW ' ......

100·Ö£¡¹ØÓÚvbµ÷ÓÃdelphi±àдµÄdllµÄÎÊÌ⣬¼±£¡£¡£¡

¸÷λ¸ßÊָϿì°ï°ïæ¡£
ÏÖÔÚÓÐÒ»¸ödelphiдµÄdll£¬º¯ÊýÖÐÓÐPIntegerµÄ·µ»Ø²ÎÊý£¬ÔÚdelphiÖпÉÒÔÕý³£µ÷Ó㬵«ÊÇÎÒÔÚvbÀïдµÄʱºò¾Í²»ÖªµÀ¸ÃÔõôÀ´µ÷ÓÃÁË¡£
Çë¿´´úÂë
ÒÔÏÂÊÇdelphiÖеĺ¯Êý¶¨ÒåºÍµ÷ÓôúÂ룬ÄÜÕý³£ÔËÐ ......

°ïÎҸĸÄÕâVBÌâ - VB / »ù´¡Àà

°ïÎÒ¸Ä¸Ä ÎÒ×ܾõµÃÓÐÎÊÌâ
Type ID
  number As Single
  score As Integer
  name As String * 6
End Type
Dim personl As ID, i%
Private Sub Command1_Click()
 i = 0
&nbs ......

ÇóÖú£ºVBµ÷Óö¯Ì¬¿âÎÊÌâ - VB / »ù´¡Àà

¸÷λ´óϺ£º
  ÎÒÊǸÕѧVB£¬ÏÖÔÚÏëÓÃVBµ÷ÓÃÒ»¸ö¶¯Ì¬¿â£¬¶¯Ì¬¿âÀïÃæÓкܶຯÊý¡£ÎÒÖªµÀʹÓÃVBµ÷Óö¯Ì¬¿âµ÷Óú¯Êý£¬ÐèÒª½«Òªµ÷Óõĺ¯ÊýÔÚ³ÌÐòÖÐÉùÃ÷¼´¿É£¬µ«ÊÇÀïÃæÓкܶຯÊý£¬²»»áÿһ¸öº¯Êý¶¼ÒªÉùÃ÷°É¡£Çë¸ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ