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

vb¶ÁÈ¡ÎļþÄÚÈݲ¢Ê¶±ð»Ø³µ·û

¶ÁÈ¡Îı¾ÖеÄÄÚÈÝ£¬×¢ÒâÊÇtxt »òÕßwordÖеÄÄÚÈÝ£¬²»ÊÇtext¿Ø¼þÖеģ¬ÒªÊ¶±ð»Ø³µ·û£¬Ò²¾ÍÊǶÁȡ֮ºóÓÃSPLIT()µÃµ½»Ø³µ·û£¬¾ßÌå·½·¨ Çë½Ì~£¡£¡£¡
VB code:
Set o = GetObject("", "Scripting.FileSystemObject").OpenTextFile("a.bat")
Do Until o.AtEndOfStream
MsgBox o.ReadLine()
Loop


filenum% = FreeFile
Open CommonDialog1.FileName For Input As #filenum
Input #filenum, a
y = Split(a, "vbcrlf")
DataBaseForm.Text1.Text = y(0) & "1111" & y(1)
¾ßÌå´úÂ룬Y£¨1£©¾­³£Ï±êÔ½½ç£¬ËµÃ÷ÎÞ·¨Ê¶±ðVBCRLF £¬°ï°ïæ £¬ÔÚÏßµÈ~

°´ÐжÁȡʹÓþͿÉÒÔÁË

Private Sub Command1_Click()
dim a() as string
Dim i As integer
Open App.Path & "\1.txt" For Input As #1
Dim Lstr As String
Do While Not EOF(1)
            Line Input #1, Lstr
            i=i+1
            redim preserve a(i)
            a(i)=lstr
            MsgBox a(i)
Loop
Close #1
End Sub




ÒýÓÃ
°´ÐжÁȡʹÓþͿÉÒÔÁË

Private Sub Command1_Click()
dim a() as string
Dim i


Ïà¹ØÎÊ´ð£º

¹ØÓÚASP.net(vb)²¥·Å¼à¿ØÂ¼ÏñµÄÎÊÌâ

ÎÒÓг§¼Ò×öµÄASPµÄ¼à¿ØÂ¼Ïñ£¨DVR£©µÄ¾ÖÓòÍø²¥·ÅµÄÔ´³ÌÐòÓë¿Ø¼þ£¬ÏëÒªÓÃASP.net×öÒ»¸öÊÓÆµ»Ø·ÅµÄ³ÌÐò£¨ÀûÓÃËûµÄ¿Ø¼þ£©µ«²»ÖªÈçÏÂÈ¥×ö£¬Íû¸÷λָµã¡£
ÏȸãÇå³þËûÃǵĿؼþÊÇÔõôÓõÄ,
È»ºó¾ÍÖ±½ÓÓúÃÁË.
²»¹ý,Èç ......

vb´òÓ¡ÎÊÌâ


Printer.ScaleMode = 6
6±íʾºÁÃ×
Printer.PaperSize = vbPRPSA4

'³õÊ¼×ø±ê
x = 1
y = 4


'×î´óµÄÏß¿ð
Printer.DrawStyle = 0
Printer.Line (x, y)-(x + 132.5, y) ......

vb´òÓ¡

ÒªÓÃvb´òÓ¡Ò»ÌõÏߣ¬³¤¶ÈÊÇ100ºÁÃ×Ôõôд£¿
¹Ø×¢

VB code:
Printer.ScaleMode = vbMillimeters
Printer.Line (10, 10)-(110, 10)

    Printer.ScaleMode = vbMillimeters
    Print ......

vb Á¬½ÓORACLE ´òÓ¡

ÕâÊÇÎÒÔ­À´Á¬½ÓSQLµÄ´òÓ¡µÄ´úÂë
Connection1.Open "Provider=MSDataShape.1;Persist Security Info=True;Data Source=mm;User ID=sa;Password=sa;Initial Catalog=lc-liuh2;Data Provider=SQLOLEDB.1"Ê ......

VB ÒÆÎ»²Ù×÷

ÔÚVB£¬
dim a as long
Ôõô¶Ô a ½øÐÐÓÒÒÆÎ» 24?
Ôõô¶Ô a ½øÐÐÓÒÒÆÎ» 16?
Ôõô¶Ô a ½øÐÐÓÒÒÆÎ» 8?
Ôõô¶Ô a ½øÐÐÓÒÒÆÎ» 0?
VB³ÌÐòÖÐʵÏÖ×Ö½ÚÒÆÎ»²Ù×÷



VB code:
'2.Âß¼­ÓÒÒÆ
Public ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ