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

VBÈçºÎÓÃWINSOCKµÇ¼ÍøÕ¾? Çë´úÂë¾ÙÀý - VB / »ù´¡Àà

ÈçºÎÓÃWINSOCKµÇ¼ÍøÕ¾? Çë´úÂë¾ÙÀý

¼ÙÉè
̞="123"
¿ÚÁî="456
ÑéÖ¤Âë="ABCD"

ÎÒÖ»ÏëÓÃWinSock
Private Sub Winsock1_Connect() 
  Dim s As String ,s1 as string
  s1="https://passport.baidu.com/?login?password=456&safeflg=0&username=123&mem_pass=on
  s = "GET " & s1 & " HTTP/1.0" + vbCrLf 
  s = s & "Accept: */*" & vbCrLf 
  s = s & "Pragma: no-cache" & vbCrLf 
  s = s & "Cache-Control: no-cache" & vbCrLf 
  s = s & "Connection: close" & vbCrLf & vbCrLf 
  s = s & vbCrLf 
  Winsock1.SendData s 
End Sub

½¨ÒéÓà xmlhttp

winsock ·â×°³Ì¶ÈºÜµÍ£¬Èç¹ûÊÇ SSL£¬¾Íû°ì·¨´¦ÀíÁË¡£Èç¹ûÍøÕ¾ÓÃÁË G-Zip ѹËõ£¬´¦ÀíÆðÀ´Ò²ºÜÀ§ÄÑ¡£

Õâ¸öÖ÷ÒªÉèÖÃͨÐŶ˿ڣ¬¶Ô·½IP£¬¼ìÑ鷽ʽ


лһ¥,û̫Ã÷°×,²»ÏñÊÇÄܵǼµÄÑù×Ó,ÒòΪû¿´³öÓÐÓû§ÃûºÍÃÜÂëµÄλÖÃ
¼ÌÐøµÈ´ý¸ßÊÖ


ÒýÓÃ
ÏÈ°Ñ·Ö¸øÎÒ£¬ÎÒÈ·ÈϺó£¬ÔÙ°Ñ´úÂë·¢µ½ÄãµÄÓÊÏ䣡·ÅÐÄÎҿ϶¨ÐÅÊسÐŵ¡«£¡

ºÃµÄ, ½Ó·Ö

ÎÒµÄÓÊÏäÊÇ:
tangxuewen@yahoo.com.cn


Ïà¹ØÎÊ´ð£º

vb³¬¼òµ¥form.showµÄÎÊÌâ - VB / ·Ç¼¼ÊõÀà

ΪʲôÎÒÓÃform.showºÍform.hide¶à´ÎÁ¬½ÓÁËÁ½¸ö´°¿ÚÖ»ÄÜ»¥»»Á´½ÓÁ½´Î°¡£¿
´úÂë¿´¿´
ÕÕµÀÀíform.show û´ÎÊýÏÞ¶¨µÄ°É

ÎÒÒ²¿ì·èÁË¡£
Â¥Ö÷ÖªµÀÔõô·¢Ìùô£¿

ÒýÓÃ
ÎÒÒ²¿ì·èÁË¡£
Â¥Ö÷ÖªµÀÔõô·¢Ìùô£¿
Â¥Ö÷Ò² ......

vb¶ÁÈ¡ÓÃwordת»»³ÉµÄxmlÀïµÄÊý¾Ý - VB / »ù´¡Àà

Private Sub Command1_Click()
Dim MyString() As String
Open "a.xml" For Binary As #1 ' ´ò¿ª¸Õ´´½¨µÄÎļþ¡£
ReDim MyString(LOF(1) - 1)
  Put #1, , MyRecord ' ¶ÁÈëËùÓÐ×Ö·ûµ½±äÁ¿ÖÐ ......

vb - VB / »ù´¡Àà

vbÖÐ ÏÖÔÚÎÒÒª°ÑÊý¾Ý¿âÀï´æ´¢µÄÒ»¸ö¸½¼þµÄÄÚÈÝÌæ»»ÁË£¬Ôõô×ö£¬Ö»ÊÇÌæ»»ÎÒÖ¸¶¨µÄλÖ㬲»ÊÇÈ«²¿Ìæ»»
Ç뽫ÎÊÌâ˵Ã÷°×£¬´æ´¢×ֶθñʽ£¬Èç¹ûÊÇBinary¸ñʽµÄ±È½ÏÂé·³£¬Èç¹ûÊÇ×Ö´®£¬Ö±½ÓÌæ»»¡£×îºÃ²»Òª½øÐÐÖ¸¶¨Î»ÖÃÌæ»»¡ ......

vbÉú³ÉEXE - VB / »ù´¡Àà

form1ÖÐÓÐtext1-8£¬ ºÍcommand1 
text8ÖÐΪ³ÌÐò´úÂ루Éú³É´°ÌåΪform2£¨ÒÑ×öºÃ£©£©
µ¥»÷command1ºó½«text2ÖеĴúÂëÉú³ÉEXEµ½d:\ ²¢ÇÒtext1-7·Ö±ð¶ÔÓ¦
²úÆ·Ãû ¹«Ë¾Ãû ºÏ·¨°æȨ ºÏ·¨É̱ê ÎļþÃèÊö ×¢ÊÍ ±êÌâ ......

vb WebBrowser СÎÊÌ⣬Çë½Ì - VB / »ù´¡Àà

vb WebBrowser СÎÊÌ⣬Çë½Ì£º
WebBrowserÀïµÄÍøÖ·Ìøתºó£¬ÔõôȡµÃÌøתºóµÄÒ³ÃæµÄURLµØÖ·

¶¥Ï¶¥ÏÂ

ÒýÓÃ
BeforeNavigate2
ºÃÏñûÓÐÕâ¸ö°É vb6.0

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