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

vb ʵÓú¯Êý

 ×ª×Ô:http://www.pconline.com.cn/pcedu/empolder/gj/vb/0506/644702.html
Time
·µ»ØÏµÍ³Ê±Öӵĵ±Ç°Ê±¼ä¡£
Date
·µ»ØÏµÍ³Ê±Öӵĵ±Ç°ÈÕÆÚ¡£
Now
·µ»Ø´ú±íµ±Ç°ÈÕÆÚºÍʱ¼äµÄ±àÂëÖµ¡£¸Ãº¯Êý¾­³£ÓÃ×÷ÆäËüϵͳʱÖÓº¯ÊýµÄ²ÎÊý¡£
Hour(Time)
·µ»ØÖ¸¶¨Ê±¼äµÄСʱ²¿·Ö£¨0µ½23£©¡£
Minute(Time)
·µ»ØÖ¸¶¨Ê±¼äµÄ·ÖÖÓ²¿·Ö£¨0µ½59£©¡£
Second(Time)
·µ»ØÖ¸¶¨Ê±¼äµÄÃ벿·Ö£¨0µ½59£©¡£
Day(Date)
·µ»ØÔ·ÝÖеÄÈÕÆÚÊý£¨1µ½31£©¡£
Month(Date)
·µ»ØÈÕÆÚÖеÄÔ·ݣ¨1µ½12£©¡£
Year(Date)
·µ»ØÈÕÆÚÖеÄÄê¶È¡£
Weekday(Date)
·µ»ØÈÕÆÚÖдú±íÒ»ÖÜÖеÄÐÇÆÚ¼¸¡£
Abs(n)
·µ»ØnµÄ¾ø¶ÔÖµ¡£
Atn(n)
·µ»ØnµÄ·´ÕýÇÐÖµ£¬ÒÔ»¡¶ÈΪµ¥Î»¡£
Cos(n)
·µ»ØnµÄÓàÏÒÖµ£¬ÒÔ»¡¶ÈΪµ¥Î»¡£
Exp(n)
·µ»ØeµÄn´Î·½¡£
Rnd(n)
²úÉú0µ½1Ö®¼äµÄÒ»¸öËæ»úÊý¡£
Sgn(n)
nСÓÚ0ʱ·µ»Ø-1£¬nµÈÓÚ0ʱ·µ»Ø0£¬n´óÓÚ0ʱ·µ»Ø1¡£
Sin(n)
·µ»ØnµÄÕýÏÒÖµ£¬ÒÔ»¡¶ÈΪµ¥Î»¡£
Sqr(n)
·µ»ØnµÄƽ·½¸ù¡£
Str(n)
°ÑÊýֵֵת»»³É×Ö·û´®¡£
Tan(n)
·µ»ØnµÄÕýÇÐÖµ£¬ÒÔ»¡¶ÈΪµ¥Î»¡£
Val(n)
°Ñ×Ö·û´®×ª»»ÎªÊýÖµÖµ¡£
Int(n)
·µ»ØÊý×ÖµÄÕûÊý²¿·Ö¡£8.4-->9
Fix(n)
·µ»ØÊý×ÖµÄÕûÊý²¿·Ö¡£8.4-->8
ÒÔÉϺ¯ÊýÔÚVB6ºÍVBScriptÖж¼ÊÊÓã¬ÔÚ¡£NETÀïÃæÒªÔÚÇ°Ãæ¼ÓÉÏÏàÓ¦µÄÃüÃû¿Õ¼ä£¬ÈçSystem.Math.Cos()£¬Microsoft.VisualBasic.Hour()¡£
Êý¾ÝÀàÐÍת»»º¯Êý£º
ת»»º¯Êý
½«±í´ïʽת»»³É
CBool
Boolean
CByte
Byte
CCur
Currency 'Ö»ÔÚVB7.0ÒÔÏÂÓÐЧ
CDate
Date
CDbl
Double
CInt
Integer
CLng
Long
CSng
Single
CStr
String
CVar
Variant ‘Ö»ÔÚVB7.0ÒÔÏÂÓÐЧ
CVErr
Error 'Ö»ÔÚVB7.0ÒÔÏÂÓÐЧ
ÈôÏëÁ˽âVisual BasicÕýÔÚʹÓÃÄÄÖÖ±äÁ¿ÀàÐÍ£¬¿ÉʹÓà VarType º¯Êý¡£
×Ö·û´®´¦Àíº¯Êý
¹Ø¼ü×Ö
˵Ã÷
ʾÀý
Ucase
½«×Ö·û´®ÖеÄ×Öĸ¸ÄΪ´óд
Ucase("Kim")·µ»ØKIM
Lcase
½«×Ö·û´®ÖеÄ×Öĸ¸ÄΪСд
Lcase("Kim")·µ»Økim
Len
È·¶¨×Ö·û´®µÄ³¤¶È£¨ÒÔ×Ö·ûΪµ¥Î»£©
Len("Mississ")·µ»Ø7
Right
·µ»Ø×Ö·û´®ÓÒ²¿Ö¸¶¨¸öÊýµÄ×Ö·û
Right("Budapest",3)·µ»Øpes
Left
·µ»Ø×Ö·û´®×ó²¿Ö¸¶¨¸öÊýµÄ×Ö·û
Left("Budapest",4)·µ»ØBuda
Mid
´Óijһָ¶¨Æðʼµã¿ªÊ¼·µ»Ø×Ö·û´®ÖÐÖ¸¶¨¸öÊýµÄ×Ö·û
Mid("Sommers", 4, 3) ·µ»Ømer
InStr
´ÓÒ»¸ö½Ï´ó×Ö·û´®ÖвéÕÒÁíÒ»¸ö×Ö·û
 start% = InStr("bob


Ïà¹ØÎĵµ£º

ÓÃVB Winsock¿Ø¼þ´´½¨TCP/IP¿Í»§»ú/·þÎñÆ÷³ÌÐò


ת×Ô£ºhttp://www.52arm.com/Article_Show.asp?ArticleID=186
 
×÷Õߣºweidian    ---±¾Õ¾Ô­´´    µã»÷Êý£º4721    ·¢±íʱ¼ä£º2008-5-7    ±à¼­£ºsanzang
 
Winsock¿Ø¼þ½¨Á¢ÔÚTCP¡¢UDPЭÒéµÄ»ù´¡ÉÏ£¬Íê³ÉÓëÔ¶³Ì¼ÆËã»úµÄ ......

VbÖд°Ìå×Ô¶¨Òå×ø±ê


¿ªÊ¼Ê¹ÓÃvbµÄʱºòϲ»¶ÓÃÊÖ»­³öÄǸö¿Ø¼þµÄλÖÃ.È»ºóÒ»¸öÒ»¸öµÄÍ϶¯,Ò»µãÒ»µãµÄÒÆ¶¯.Ö±µ½¸Ð¾õÂúÒâÁËΪֹ.Èç¹ûÊǿؼþ¶àÁËÕâ¸ö¾ÍºÜÂé·³ÁË
Ò»²»Ð¡ÐÄ¿ÉÄܻὫı¸ö¿Ø¼þÍϵ½Ò»±ßÈ¥
ËùÒÔ,ÎÒÃÇÔÚÒÔºóµÄ×÷Æ·ÖÐ
¾¡Á¿Ê¹ÓôúÂëÀ´¶¨Òå¿Ø¼þλÖÃ,,ÒªÁé»îµÄÕÆÎÕ×ø±êλÖÃ.,¿ÉÒÔʹÓÃ×Ô¶¨Òå×ø±ê.ʹÓÃÏñËØÀ´¸üºÃµÄÀ´·ÖÇøÏÔʾ¿Ø¼þ.
 
& ......

VBÓëWindows API½²×ù(¶þ) өĻץȡÓëÓ©Ä»±£»¤³Ìʽ

ÎÄÕÂÀ´Ô´:vb´óÊÀ½ç ×÷ÕߣºÍõ¹úÈÙ
¡¸VB ûÓÐÌṩÕâÑùµÄ¹¦ÄÜ£¬ ±ØÐëºô½Ð Windows API¡¹£¬ µ±±ÊÕßÕâÑù»Ø´ð¶ÁÕßÖ®áᣬÓÐЩ¶ÁÕß»áÒªÇó±ÊÕß½éÉÜ Windows API ·½ÃæµÄÊé¼®£¬ ÓÈÆäÊÇÖÐÎÄÊ飬 µ«Êµ¼ÊÉÏ£¬Ä¿Ç°ÊÐÃæÉÏÖ»¿´µ½Ò»±¾Ô­ÎÄÊé(ZD Press ³ö°æµÄ Visual Basic 5.0 Programming Guide to Win32 API)£¬ ÖÐÎÄÊéÔòδ¼û¹ý£¬ Ϊʲ÷áÃ»Ó ......

VBÎÞËù²»ÄÜÖ®Áù£º¶Ô³ÌÐòÔËÐÐµÄ¼à¿Ø ת

×÷Õß: ØýÃû, ¡¡³ö´¦:ITר¼ÒÍø,¡¡ÔðÈα༭: лåûåû,¡¡
2010-04-23 11:20
¡¡¡¡±¾ÎĽéÉÜVB¶Ô³ÌÐòÔËÐÐµÄ¼à¿Ø¡£
¡¡¡¡×ªÑۼ䣬±¾ÏµÁÐÎÄÕÂÒѾ­Ð´µ½Á˵ÚÁù¸ö£¬½ñÌìдµãÊ²Ã´ÄØ?
¡¡¡¡»¹ÊǵÃд£¬¿´ËÆVB×ö²»µ½µÄÊÂÇ飬ÄÇô½ñÌìÆð¾ÍддVB¶Ô²Ù×÷ϵͳµÄ¿ØÖưɡ£
¡¡¡¡Ê×ÏÈ£¬ËµÒ»Ëµ£¬VB¶ÔÓÚ±»µ÷ÓúóµÄ³ÌÐòµÄ¼à¿Ø·½·¨¡£
¡¡¡¡Ô­Ðͺ¯Êý¼ò ......

VBÓëC#»¥×ª¹¤¾ß

http://www.carlosag.net/Tools/CodeTranslator/ Õâ¸öÒ²Ðíѧ¼ÆËã»úµÄ¸ç¸ç½ã½ãÃÇ»áÓõõ½£¬£¬¾ÍתÁËÏ£Íû¶à¶àÖ§³ÖŶ Î÷Î÷  Óõõ½¾Í¶¥Å¶
²îµãÍüÁËŶ    £¬Åº»¹ÓÐÒ»¸ösqlµÄ²å¼þºÜºÃÓõÄѽ¡£¡£¡£¡£ÓÐÏëÒªµÄ¾ÍÁôÑÔÏÂÒª¿©¡£¡£¡£¡£¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ