群益API 觀念類

Steven Wang
Aug 9, 2017 · 1 min read

類別是概念 物件是實體
Excel物件類別模組 定義類別 其中放類別
Excel模組 是可執行的程序 是個實體

方法跟事件的不同 :

事件方法都是程序
方法是主動我呼叫的
事件是別人呼叫的 例如主機傳回的

完整程序:

先登入檢查帳密Login
登入報價伺服器 EnterMonitor
並傳回nKind 3001 3001 /nCode 0

群益呼叫本機OnConnection事件

format(Now,”HH:mm:ss”)
vbcrlf 換行字元

onNotifyQuote內含GetStockByIndex

 by the author.

Steven Wang

Written by

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade