¹ØÓÚVBÓÃCDO·¢ËÍÓʼþ
ÎÒÓÃCDO·¢ËÍÓʼþ£¬µ«ÊǺóÀ´·¢ÏÖ·¢ËÍÒ»µã¶¼²»Îȶ¨£¬×î²îµÄÇé¿öÊÇ·¢ËÍ10´ÎÖ»ÓÐ5´ÎÊdzɹ¦µÄ¡£ÇëÎÊÊÇʲôÔÒòÄØ¡£
»òÕßÊÇ»¹ÓÐʲôºÃµÄ·½·¨¿ÉÒÔ±£Ö¤·¢ËÍÓʼþ¿ÉÒÔ±£Ö¤Îȶ¨ÄØ£¿£¨²»Òª°²×°ÆäËû¿Ø¼þµÄÇé¿öÏ£¬¼´ÆäËûÓû§Ê¹ÓõÄʱºò²»ÐèÒª°²×°ÆäËû¿Ø¼þ£©
ÒÔÏÂÊÇÎҵĴúÂë
VB code:
Dim objEmail As Object
Dim strName As String
Private Sub Command2_Click()
Open "D:\Îʾíµ÷²é.txt" For Append As #1
txtBody.Text = txtAn1 & "¹þ" & txtAn2 & "¹þ" & txtAn3 & "¹þ" & txtAn4 & "¹þ" & txtAn5 & "¹þ" & txtAn6 & "¹þ" & txtAn7 & "¹þ" & txtAn8 & "¹þ" & txtAn9
Print #1, txtBody.Text
Print #1,
Close #1
MsgBox "Îʾí½á¹ûÒѾ±£´æÔÚÄúµÄDÅÌ£¬ÎļþÃûÊÇ¡°Îʾíµ÷²é.txt¡±"
End
End Sub
Private Sub Form_Load()
strName = "http://schemas.microsoft.com/cdo/configuration/"
Set objEmail = CreateObject("CDO.Message")
End Sub
Private Sub Command1_Click()
Me.Caption = "Sending..."
Command1.Enabled = False
txtBody.Text = txtAn1 & "¹þ" & txtAn2 & "¹þ" & txtAn3 & "¹þ" & txtAn4 & "¹þ" & txtAn5 & "¹þ" & txtAn6 & "¹þ" & txtAn7 & "¹þ" & txtAn8 &
Ïà¹ØÎÊ´ð£º
ÔÚÏÂÊÇvbµÄÐÂÊÖ£¬Ïëд¶Î³ÌÐò£¬ÔÚvbÖУ¬Ê¹ÓÃwscriptµ÷ÓÃһЩÍⲿµÄÃüÁµ«ÊdzÌÐòÖ´ÐÐÒ»Ö±ÓдíÎó£¬Çë¸÷λ¸ßÊÖ°ïæ½â´ðÏ£¬Ð»Ð»¡£
´úÂëÈçÏ£º
VB code:
Private Function getFile_CMD(filename, filepath) As Bo ......
vbÊDz»ÊǺÜÅ£°¡ ÔõôÄÇô¶àµÄ²¡¶¾¶¼ÊÇvb×öµÄ°¡ c#Ðв»ÐУ¿
c#ÔÚXPÔËÐв»ÁË£¬³ý·ÇÈñðÈËÏÈ×°ÉÏ.net.
VBÏà¶ÔÓÚC,C++,ASMµÈµÈ£¬¾ÖÏÞÐÔ´ó¶àÁË¡£
±ðÔÙ˵ʲôÓïÑÔ²»ÈçʲôÓïÑԵϰÁË£¬Ö»ÓÐÄã²»»áÓûòÓÃ×Ų»Ë³ÊÖµÄÓ ......
°ïÎÒ¸Ä¸Ä ÎÒ×ܾõµÃÓÐÎÊÌâ
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 ......
ÓÃvc±àдµÄdllÔÚdebugģʽºÍreleaseģʽÏÂÆô¶¯vbµÄexe³ÌÐòµ÷ÓÃvcµÄdll¿ÉÒԵõ½ÕýÈ·½á¹û£¬µ«ÊÇÈç¹ûÖ±½ÓË«»÷vbµÄexe³ÌÐòµ÷ÓÃdll±¨´í£¬ÔÚdllÄÚ²¿Ìí¼Ómessageboxºó·¢ÏÖÖ»ÒªÔÚº¯ÊýÄÚ²¿ÉùÃ÷std::stringÀàÐ͵ıäÁ¿¾Í»á³öÏÖÄ ......
ΪʲôÎÒÏëÑ»·×Ô¶¯·¢ËÍÓʼþµÄʱºò,¾ÍÖ»ÓеÚÒ»·âÄÜ×Ô¶¯·¢ËÍ,ÆäËüºóÃæµÄÓʼþ¶¼Ö»ÄÜ´´½¨,²»ÄÜ×Ô¶¯·¢ËÍ
Private Sub send_mail_Click() '·¢ËÍÓʼþ֪ͨ
Do While Not TDBG_Dept.EOF
If A> ......