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

vb´òÓ¡ÎÊÌâ

´ó¼ÒºÃ£¬Îʸövb´òÓ¡ÎÊÌâ


printer.print "dsff"
.....
....


Printer.EndDoc


´òÓ¡³É¹¦ºóÎÒ½«Ö´ÐÐ

sqlstr = "update vc_yh set pr=' ÒÑ´òÓ¡ ',czry='" & user & "',czrq=to_date('" & Format(Get_NowDate, "YYYY-MM-DD ") & "','yyyy-mm-dd ') where clsbdh='" & Trim(Text1(0).text) & "'  "
If DBexecute(sqlstr, DBconnect) Then
End If


µ«ÊÇÔõÑùÅжϴòÓ¡ÊÇ·ñ³É¹¦ÄØ£¿
²»³É¹¦»áÓдíÎó
VB code:
Private Sub Command1_Click()
On Error GoTo ErrHandler

Printer.Print "dsff"
....
Printer.EndDoc

sqlstr = "update ..."
If DBexecute(sqlstr, DBconnect) Then
End If

ExitEntry:
Exit Sub
ErrHandler:
MsgBox Err.Description, vbCritical
Resume ExitEntry
End Sub


³ý·Ç´òӡ֮ǰÏȼì²é´òÓ¡»ú̬ ÊÇ·ñȱֽµÈ
µ«ÕâÑùÒ²²»Äܱ£Ö¤´òÓ¡¹ý³ÌÖв»³öÏÖÎÊÌâѽ,±ÈÈ翨ֽµÈ

ºÃµÄ°ì·¨Êǽ«´òÓ¡ºÍ¸üÐÂÊý¾Ý¿â×ö³ÉÁ½¿é

´òÓ¡»ú×Ô´ø»º´æ£¬Ð¡¹ÊÕÏ¿ÉÒÔÊÖ¹¤Åųýºó¼ÌÐø´òÓ¡£¬³ÌÐò²»ÐèÒª¹ØÐÄ¡£


Ïà¹ØÎÊ´ð£º

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

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

ÎÒҪѧ´æ´¢¹ý³Ì£¨VB.NET,SQL£©¹òÇó½Ì³Ì~~

ÈçÌâ~~
MSDN£¬Google£¬Ïëϵͳѧ½¨Ò黹ÊÇÂò±¾Êé¿´°É£¬±Ï¾¹ÊÖ´òµÄ´úÂë¼ÇÒäÒª±È¸´ÖƵÄÉî¿Ì¡£

ÎÒÒª±ßѧ±ßÓÃÔÚ´úÂëÀïÃ棬¿Ï¶¨ÒªÊÖ´òµÄÁË


¿´¿´sql server 2005µÄ°ïÖúºÜÈ«Ãæ»ò¿´¿´Êé
http://topic.csdn.net/u/2 ......

VB HOOK API

    ¸÷룬ÇëÎʹ³×ÓÊÇÔõôÔËÐеİ¡£¿ÇëÏÈ¿´¿´ÎÒдµÄ´úÂ룺
Public hhook
Private Sub Command1_Click()
hhook = SetWindowsHookEx(2, AddressOf testhook, 0, App.ThreadID)
End Sub
ÒÔϵ ......

VBµ÷ÓÃwordºó³öÏÖµÄÎÊÌâ

ÎÒÓÃVBµ÷ÓÃWord ǶÈëVB´°ÌåÖÐ(ÕâЩ¶¼ÊÇÕý³£)

È»ºóÔÚ×ÀÃæ´ò¿ªÁíÒ»¸öword a.doc

ÏÖÔÚÎÊÌâ³öÀ´ÁË.....ÎҹرÕVB´°Ìå,֮ǰµÄÄǸöwordÒ²Õý³£¹Ø±ÕÁË

½ÓÏÂÀ´±Õ¹Øa.doc »á³öÏÖÎÊÌâ


Õâ¸öÒªÔõà ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ