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

VB¶Á¶àÐÐÎı¾

Ò»¸ö¶àÐеÄtext
Èç¹û°ÑÿһÐзÅÈëÒ»¸ö×Ö·û´®ÉÏÄØ?
lineinput

VB code:
Private Sub Command1_Click()
Dim TextLine

Open "d:\test.txt" For Input As #1 ' ´ò¿ªÎļþ¡£
Do While Not EOF(1) ' Ñ­»·ÖÁÎļþβ¡£
Line Input #1, TextLine ' ¶ÁÈëÒ»ÐÐÊý¾Ý²¢½«Æä¸³Óèij±äÁ¿¡£
Debug.Print TextLine ' ÔÚµ÷ÊÔ´°¿ÚÖÐÏÔʾÊý¾Ý¡£
Loop
Close #1 ' ¹Ø±ÕÎļþ¡£

End Sub


»òÓÃfilesystem¡£teststream¡£readline

VB code:
Private Sub Command1_Click()
Dim TextLine(100) as string
i=0
Open "d:\test.txt" For Input As #1 ' ´ò¿ªÎļþ¡£
Do While Not EOF(1) ' Ñ­»·ÖÁÎļþβ¡£
i=i+1
Line Input #1, TextLine(i) ' ¶ÁÈëÒ»ÐÐÊý¾Ý²¢½«Æä¸³Óèij±äÁ¿¡£
Debug.Print TextLine(i) ' ÔÚµ÷ÊÔ´°¿ÚÖÐÏÔʾÊý¾Ý¡£
Loop
Close #1 ' ¹Ø±ÕÎļþ¡£

End Sub



ÒýÓÃ
VB codePrivateSub Command1_Click()Dim TextLine(100)asstring
  i=0
    Open"d:\test.txt"For InputAs #1' ´ò¿ªÎļþ¡£DoWhileNot EOF(1)' Ñ­»·ÖÁÎļþβ¡£    i=i+1
    Line Input #1, TextLine(i)' ¶ÁÈëÒ»ÐÐÊý¾Ý²¢½«Æä¸³Óèij±äÁ¿¡£    D¡­


Èç¹ûÓÃÊý×飬Ӧ¸ÃÓö


Ïà¹ØÎÊ´ð£º

vbÈçºÎµ÷ÓÃIllustrator£¨´ËǰIllustratorδÆô¶¯£©£¿

Çë½ÌһϣºÎÒÓÃvbдÁËÒ»¸öµ÷ÓÃIllustratorµÄ²âÊÔ³ÌÐò£¬´úÂëºÜ¼òµ¥£ºPrivate Sub Command1_Click()
Dim app As New Illustrator.Application
Dim doc As Illustrator.Document
Dim thislayer As Illustrator.Layer ......

ÇëºÃÐÄÈ˰ïÎÒ°ÑVBÔ´ÂëתΪVB.NET~

Ï£Íû´ó¼ÒÄܹ»°ïÎÒÏÂ.¸ÐлÁË..


Ô´Âë´«ÔÚ´óÃ×ÅÌ VB6 µÄÔ´Âë http://www.damipan.com/file/3wNoKLW.html

תΪVB.NETÔ´Âë.

СµÜÍêÈ«ÊÇÐÂÊÖ ²»¶®µÄ˵.Âé·³¸÷λ°ïæһÏÂ

ÎÒµÄEMAILÊÇ:4452 ......

ÈçºÎÓÃVB²Ù×÷Excelת»»ÎªXML¸ñʽ£¨½éÉÜ×ÊÁÏÒ²Óз֣©

¶ÔÓÚEXCELÎļþµÄÄÚÈÝ£¬Ï£Íû°´ÕÕÒ»¶¨¸ñʽת»»ÎªxmlÎļþ£¬EXCELÄÚÈÝÀýÈ磺

Voucher_Id Oper Entry_Id ZhaiYao Acc_Code JieFang DaiFang fName1 fNeiRong1 fName2 fNeiRong2
1 Admin 1 ²âÊÔÕªÒª 540401 1000 ......

vbʹÓÃpicturebox¿Ø¼þ

ÎÒÏëʹÓÃpicturebox¿Ø¼þ»­Í¼
ÎÒµÄsqlÊý¾Ý¿âÖÐÊý¾Ý±íÃû×ÖÊÇudata£¬ÆäÖÐÓÐÁ½ÁУ¬Ò»ÁÐÊÇsdatetime£¬ÁíÒ»ÁÐÊÇdata¡£ÎÒÏëÓÃÆäÖеÄsdatetimeÁеÄÊýÖµ£¨Ê±¼ä£©×÷Ϊºá×ø±ê£¬dataÁеÄÊýÖµ£¨Êý¾Ý£©×÷Ϊ×Ý×ø±ê¡£
ÔÚÒ»¸öР......

VB×ö¼à¿ØÏµÍ³

ÎÒÏëÓÃVB×ö¼à¿ØÏµÍ³£¬½çÃæÈçͼ£º


µã»÷²Ù×÷×éÉϵİ´Å¥ÓÐÏàÓ¦µÄÏÔʾ£¬µ±È»ÏÔʾµÄÄÚÈݲ»Ò»Ñù£¬ÏÔÊ¾ÇøÓòÊÇÖ÷Ì壬ÔÚÖмäÄǿ飺


ÔõôʵÏÖÕâ¸ö¹¦Äܰ¡£¿ÓÃvisibleÊôÐÔ¾ÍÌ«¸´ÔÓÁË£¡
Çë´ó¼Ò½Ì½ÌÎÒ£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ