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

ºô­¶±±¨î¥X¤F°ÝÃD¡I ½Ð°ª¤â«üÂI¡C

ºô­¶±±¨î¥X¤F°ÝÃD¡I ½Ð°ª¤â«üÂI¡C

¦U¦ì°ª¤â¡A¤p§Ì¹J¨ì³Â·Ð¤F¡IÀµ½Ð¦U¦ì°ª¤â«üÂI¡C

´Á±æÅã¥Ü¡G§Æ±æ¯àÅã¥Ü©Ò¦³ªº¸ê®Æ¤º®e¡C
¥Ø«e°ÝÃD´y­z¡G¥Ø«e¥u¯à±N°Ñ¼Æ§ï¦¨¡y¥þ³¡¡z¡A¦ýºô­¶¸ê®Æ¨S¿ìªk§ó·s¬°Åã¥Ü¥þ³¡ªº¸ê®Æ¡C

§Æ±æ¦U¦ì°ª¤â¯à«üÂI°g¬z...
  1.    
  2. my_url = "http://www.tpex.org.tw/web/stock/exright/preAnnounce/PrePost.php"
  3.     With CreateObject("InternetExplorer.Application")
  4.         .Visible = True
  5.         .navigate my_url
  6.         Do While .Busy Or .readyState <> 4: DoEvents: Loop
  7.         With .document
  8.                For Each A In .getElementsByTagName("SELECT")
  9.                    If A.Name = "PrePost_result_length" Then A.Value = -1
  10.                Next
  11.         End With
  12.    End with
½Æ»s¥N½X

¦U¦ì°ª¤â¡A¤p§Ì¹J¨ì³Â·Ð¤F¡IÀµ½Ð¦U¦ì°ª¤â«üÂI¡C

´Á±æÅã¥Ü¡G§Æ±æ¯àÅã¥Ü©Ò¦³ªº¸ê®Æ¤º®e¡C
¥Ø«e°ÝÃD´y­z¡G ...
justintoolbox µoªí©ó 2015-6-17 10:20


¦³¨S¦³°ª¤â¥i¥H«üÂI°g¬z¤@¤U¡H
§Ú¥Ø«e¥d¦b¥u¯à¦bºô­¶¤W§ïÅܰѼƬ°¡y¥þ³¡¡zÅã¥Ü¡A¦ý¬Oºô­¶«o¤£¯à§ó·s¬°¡y¥þ³¡¸ê®Æ¡z¡C

«ô°U¡I¦U¦ì°ª¤â¡I¡ã ¸Ñ¶}§ÚªººÃ´b¡I

TOP

¦^´_ 2# justintoolbox
  1. Option Explicit
  2. Sub Ex()
  3.     Dim my_url As String, A As Object
  4.     my_url = "http://www.tpex.org.tw/web/stock/exright/preAnnounce/PrePost.php"
  5.     With CreateObject("InternetExplorer.Application")
  6.         .Visible = True
  7.         .Navigate my_url
  8.         Do While .Busy Or .ReadyState <> 4: DoEvents: Loop
  9.         With .document
  10.                For Each A In .getElementsByTAGName("SELECT")
  11.                     If A.Name = "PrePost_result_length" Then
  12.                         A.Value = -1
  13.                         A.fireEvent ("onchange")
  14.                     End If
  15.                Next
  16.         End With
  17.    End With
  18. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_  justintoolbox
GBKEE µoªí©ó 2015-6-18 16:02


GBKEEª©¥D¡A±z¦n¡C

­è­è´ú¸ÕÁÙ¬O¤@¼Ë¨S¦³¿ìªk§ó·s¬°¥þ³¡¸ê®Æ¡A¥u¯àÅã¥Ü«e10µ§¸ê®Æ¡]¦p¤U¹Ï)¡C¬O¤£¬O­þ¸Ì¸Ó­×¥¿©O¡H

TOP

¦^´_ 4# justintoolbox
§Ú¥ÎXP, IE8 ¥iÅã¥Ü59µ§¸ê®Æ!!
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_  justintoolbox
§Ú¥ÎXP, IE8 ¥iÅã¥Ü59µ§¸ê®Æ!!
GBKEE µoªí©ó 2015-6-19 14:43

GBKEEª©¥D¡AÁÂÁ§Aªº¦^ÂСC
¥u¬O§Ú¥Ø«e¥Îªº¬OWin8.1+IE11 ¶]¥X¨Óµ²ªG¤´µM¬O¨S¦³¿ìªk§ó·sÅã¥Ü¥þ³¡¸ê®Æ  :'( ¡C
©Ò¥H·Q¦A°Ý°Ýª©¥D¬O¤£¬O¦³¨ä¥Lªº¸Ñ¨M¿ìªk©O¡H·PÁ§A:P ¡C

TOP

¥i½Ð¦³IE11ªÌ©Î¨ä¥LPC¸Õ¸Õ¬Ý,¬O§_¬O§AIEªº°ÝÃD.
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¥i½Ð¦³IE11ªÌ©Î¨ä¥LPC¸Õ¸Õ¬Ý,¬O§_¬O§AIEªº°ÝÃD.
GBKEE µoªí©ó 2015-6-20 14:15

GBKEEª©¥D§A¦n¡A
ÁÂÁª©¥D´£¥Ü¡A§Ú¦³¥Î¥t¤@¥xµ§¹q¡]WIN8.1+IE11+OFFICE2010)´ú¸Õ¡A
¤]¥Hª©¥Dªº¥¨¶°¶]¤@¦¸¡Aµ²ªGÁÙ¬O¤@¼Ë... ¦P¼Ë¬O¥u¯à¦b¿ï¶µ§ï¦¨¡y¥þ³¡¡z¡A¦ý¦bIE¤£¯à§ó·sÅã¥Ü¥þ³¡¸ê®Æ¡C

³o´N­W´o¤F... ¬Ý°_¨ÓµL¸Ñ¤F>_<..

ª©¥D¡A·Q½Ð°Ý§A
¦pªG°h¦Ó¨D¨ä¦¸¡G§ï¦¨"ÂI¿ï¤U¤@­¶"¡]¦p¤U¹Ï)¡A
¥u¬O³o³¡¤À§Ú¤£ª¾¹D¸Ó«ç»ò¼g¡H
¤£ª¾¹Dª©¥D¯à¤£¯à¦AÀ°­Ó¦£¡A«D±`·PÁ¡I

TOP

§Ú¥ÎWin7+IE11 §ï¦¨¤U­±¥N½X´N¥i¥HÅã¥Ü¥þ³¡¡A§A¥i¥H¸Õ¸Õ¬Ý...
  1. Option Explicit
  2. Sub Ex()
  3.     Dim my_url As String, A As Object, evt As Object
  4.     my_url = "http://www.tpex.org.tw/web/stock/exright/preAnnounce/PrePost.php"
  5.     With CreateObject("InternetExplorer.Application")
  6.         .Visible = True
  7.         .Navigate my_url
  8.         Do While .Busy Or .ReadyState <> 4: DoEvents: Loop
  9.         
  10.         Set evt = .document.createEvent("HTMLEvents")
  11.         evt.initEvent "change", True, False
  12.         
  13.         With .document
  14.                For Each A In .getElementsByTAGName("SELECT")
  15.                     If A.Name = "PrePost_result_length" Then
  16.                         A.Value = -1
  17.                         'A.fireEvent ("onchange")
  18.                         A.dispatchEvent evt
  19.                     End If
  20.                Next
  21.         End With
  22.    End With
  23. End Sub
½Æ»s¥N½X

TOP

§Ú¥ÎWin7+IE11 §ï¦¨¤U­±¥N½X´N¥i¥HÅã¥Ü¥þ³¡¡A§A¥i¥H¸Õ¸Õ¬Ý...
azrael19 µoªí©ó 2015-6-20 15:51


«z¡I¤Ó´Î¤F¡I §Ú­è­è¤]§ä¤F°ê¥~ºô¯¸¦³¤H¤]´£¬Û¦Pªº°ÝÃD¡]http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_27990183.html¡^¡A
·Ó¥Lªº¤è¦¡­×§ï¡Aµ²ªG¤]¦¨¥\¤F¡I¥¿­nPO¤W¨Ó§i¶D¤j®a§Ú¸Ñ¨Mªº¤è¦¡¡A
³o®É­Ô´N¦³¦n¤ß¤Hazrael19¤]PO¤W¨Ó¤F¡I¤Ó·PÁÂazrael19¡I¡I¡I

¤]ÁÂÁª©¥D¡I­@¤ßªºµªÂСI·PÁÂ

TOP

        ÀR«ä¦Û¦b : ¯à·F¤£·F¡A¤£¦p­W·F¹ê·F¡C
ªð¦^¦Cªí ¤W¤@¥DÃD