ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ³z¹L Sendkeys »yªk¶}±Ò¦³±b¸¹±K½Xªººô­¶°ÝÃD

¦³¤@ÂI°ÝÃD,
§Ú²{¦b¬Ý¨ì¨ä¤¤¤@­Óºô¯¸ªº­ì½X¦p¤U:Cancel ¬O¦³ name ªº, ³o­Ó§Ú¥i¥H¨Ï¥Î.
¦ý Login ¨S¦³ ...
jimmyhk µoªí©ó 2011-10-6 21:18



¦³¤H¹J¹L¶Ü?

TOP

¦^´_ 11# jimmyhk


    ³o¬Oªí³æ°e¥X
¥²¶·¨Ï¥Îsubmit¤èªk
©Ò¥H§A­n¥H¸Óªí³æ°µsubmit
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_  jimmyhk


    ³o¬Oªí³æ°e¥X
¥²¶·¨Ï¥Îsubmit¤èªk
©Ò¥H§A­n¥H¸Óªí³æ°µsubmit
Hsieh µoªí©ó 2011-10-10 09:14


¦pªGËÝÁ¿§Y«YÉN±o°µ?

TOP

¦^´_ 13# jimmyhk

µo¨¥½Ð¥Î´¶³q¸Ü
¥H¸gÀÙ³¡ªºº¡·N«×½Õ¬dªí¬°¨Ò
  1. Dim MyIe As InternetExplorer, MyDoc As HTMLDocument
  2. Sub CommandButton2_Click()  '¶}±Ò°Ý¨÷
  3. Set MyIe = CreateObject("InternetExplorer.Application")
  4. With MyIe
  5. .Visible = True
  6. .navigate "http://www.moeasmea.gov.tw/ap.asp?xdURL=sVote/vote01.asp&subjectId=9211&ctNode=654"
  7. Do Until .readyState = READYSTATE_COMPLETE: Loop
  8. DoEvents
  9. Set MyDoc = .document
  10. End With
  11. End Sub

  12. Private Sub CommandButton1_Click()  '°e¥X°Ý¨÷«e½Ð¥ý¶ñ§¹°Ý¨÷¦b«ö¦¹Áä°µ°e¥X°Ê§@
  13. With MyDoc
  14. .all("form1").submit
  15. MsgBox "°Ý¨÷½Õ¬dªí¤w°e¥X"
  16. End With
  17. MyIe.Quit
  18. Set MyIe = Nothing
  19. Set MyDoc = Nothing
  20. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 14# Hsieh


¹ï¤£°_, ¤@®É¤â§Ö´N¥´¤F¤f»y.

¦]¬°¦bµó¥~¤£¯à³s±µ¤ºÁpºô,
©ú¤Ñ¦^¨ì¤½¥q¸Õ¸Õ¥Î submit  .

ÁÂÁÂ

TOP

        ÀR«ä¦Û¦b : ¦n¨Æ­n´£±o°_¡A¬O«D­n©ñ±o¤U¡A¦¨´N§O¤H§Y¬O¦¨´N¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD