1 / 16

ActiveX + Picnic + 簡訊傳輸

ActiveX + Picnic + 簡訊傳輸. 雷華德、方煒、陳育瑋. Outline. 準備項目 API 指令說明 利用 VB 專業控制項發送簡訊 範例. 準備項目. 到台灣簡訊公司的網站申請一個帳號 申請帳號 http://www.twsms.com/ 花 100 元買 80 點數,允許傳輸約 80 通簡訊 有安裝 MS VB 的電腦,本身在系統的 system32 目錄就有相關的 MSinet.ocx 否則需將 MSinet.ocx 檔案安裝到 windows/system32 目錄. 台灣簡訊公司. API 說明.

von
Télécharger la présentation

ActiveX + Picnic + 簡訊傳輸

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ActiveX + Picnic + 簡訊傳輸 雷華德、方煒、陳育瑋

  2. Outline • 準備項目 • API指令說明 • 利用VB專業控制項發送簡訊 • 範例

  3. 準備項目 • 到台灣簡訊公司的網站申請一個帳號 • 申請帳號 http://www.twsms.com/ • 花100元買80點數,允許傳輸約80通簡訊 • 有安裝MS VB的電腦,本身在系統的system32 目錄就有相關的MSinet.ocx • 否則需將MSinet.ocx檔案安裝到windows/system32目錄

  4. 台灣簡訊公司

  5. API說明 • 採用HTTP協定中的GET Method來發送簡訊,使用方式如下: • http://api.twsms.com/send_sms.php?Tag=Value&Tag=Value…

  6. 引用VB控制項 在一般的情況下,工具箱裡所看到的東西就這麼多個。

  7. 想要讓它變多嗎? 在工具箱上面按一下滑鼠右鍵,選擇跳出是選單的〝設定使用元件〞。

  8. 選擇所需要的元件,再按〝確定〞按鈕。

  9. 工具箱裡就出現新的物件可供使用。

  10. Inet 控制項(Microsoft Internet Transfer Control ) • 依照台灣簡訊公司所提供API http://api.twsms.com/send_sms.php?Tag=Value&Tag=Value… • Inet1.Execute "http://api.twsms.com/send_sms.php?username=***&password=***&type=now&encoding=big5&mobile=***&message=***&vldtme=3600", "GET"

  11. 以上指令必須寫在同一列

  12. 執行畫面

  13. 執行結果: 手機畫面

  14. 記得點選Stop ICON 清除內容

More Related