SkypeのチャットメッセージをVB.NETで受信

投稿日 : 2008年12月2日 23:50

 とりあえず動くものを作ってみました。簡単ですがはまった……w

 Skype APIは更新されていないイメージですがどうなんでしょう。調べていません。とりあえず以下の内容でSkype3.8.0と合わせて動きました。

 まず、Docs/Skype4COM - Skype Developer Zone からSkype4COMをダウンロードします。バージョンは、1.0.28でした。

 VB.NETのプロジェクトでSkype4COM.dllの参照を追加します → Interop.SKYPE4COMLib.dllとしてコピーされる。

 コードにて、

Private WithEvents Skype As SKYPE4COMLib.Skype

Private Sub MainForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Skype = New SKYPE4COMLib.Skype
    If Not Skype.Client.IsRunning Then
        ' 起動していない
    End If
    Skype.Attach(7, False)
End Sub

 こんな感じでオブジェクトを生成、利用。

 メッセージ受信時にはMessageStatusイベントが発生するようです。あとはフィーリングで。

Private Sub Skype_MessageStatus(ByVal pMessage As SKYPE4COMLib.ChatMessage, ByVal Status As SKYPE4COMLib.TChatMessageStatus) Handles Skype.MessageStatus

    If Status = SKYPE4COMLib.TChatMessageStatus.cmsReceived OrElse _
       Status = SKYPE4COMLib.TChatMessageStatus.cmsSending Then

        Dim line = String.Format("{0} {1} {2}: {3}", pMessage.Chat.FriendlyName, pMessage.Timestamp, pMessage.FromDisplayName, pMessage.Body)
        Console.WriteLine(line)
    End If
End Sub

 

 はまったところ。

  • ターゲットはx86を選択すること。
  • 管理者権限でVSを起動しない。

以上です。

フィードバック

# qWcqatHbWvJWulO

2011/12/13 18:37 by http://www.d4women.net/clomid.php
The text is promising, will place the site to my favorites..!

# pCuxoFdTFxQFIWHAPoe

2011/12/19 21:27 by http://paydayloansnocreditcheck.biz/
Right from this article begin to read this blog. Plus a subscriber:D

# VTkSRmVxwCjCMEsICbT

2011/12/27 19:12 by http://www.spytown.com/
I do`t see a feedback or the other coordinates from the blog administration!...

# qmqikhRRtbLUjsV

2011/12/29 20:35 by http://www.healthinter.org/health/page/provera.php
I am getting married on the 15th of November. Congratulate me! Then will be here rarely!...

# ???????????????????????????????????? | ????????????????????????????????????

2013/04/02 1:32 by Pingback/TrackBack
???????????????????????????????????? | ????????????????????????????????????

# re: [Tips][Visual Studio]Visual Studio 2008で、ソースコードの行数をカウントする方法

2017/09/29 10:00 by chenlina
http://www.polo-ralphlaurenoutlet.in.net
http://www.nfljerseysfromchina.us.com
http://www.cheapralphlaurensale.co.uk
http://www.toryburchoutletoff.us.com
http://www.uggoutletsonline.us.com
http://www.uggsoutletstore.org
http://www.poloshirt.in.net
http://www.uggsonline.in.net
http://www.truereligion-jeans.us
http://www.uggbootsclearanceoutlet.com.co
http://www.air-jordanpascher.fr
http://www.katespadehandbagsoutlet.us.org
http://www.uggbootsaustralia.us.org
http://www.jordanretro.us
http://www.blackhawksjersey.com
http://www.mlbjerseys.org
http://www.michael-kors-outlet.eu.com
http://www.timberlandoutlet.name
http://oakley.sunglassescheap.us.com
http://www.cheaplouboutinshoesuk.org.uk
http://www.north-face-outlet.in.net
http://www.cheapairjordans.us.com
http://www.cheapjerseysnflwholesale.us
http://www.adidastore.co.uk
http://www.burberry.us.org
http://www.nikeairforce1.net
http://www.ugg-bootscheap.com.co
http://www.uggbootsoutlets.org
http://www.pandora-rings.net
http://www.michaelkorsukoutlet.me.uk
http://www.uggsslippers.com.co
http://www.coach-factoryoutletusa.com
http://www.outletuggboots.com.co
http://www.adidastrainersuk.uk
http://www.raybans-sunglassesoutlet.us.com
http://www.the-northfaceoutlet.net.co
http://www.coachfactory-outletonline.org
http://www.oakleysungalsses.nom.co
http://www.cheap-ugg-boots.us.org
http://www.christianlouboutinoutletusa.us.com
http://www.christianlouboutindown.com
http://www.northfaceclearance.us.com
http://www.burberryscarfsale.in.net
http://www.nikerunningshoes.co.uk
http://www.canadagoosecanada.name
http://www.ray-banaviatorsunglasses.org.uk
http://www.katespade-outlet.in.net
http://www.nike-air-huarache.org.uk
http://www.outletlongchamp.us.org
http://www.uggoutletstore.net.co
http://www.jordanshoes.us.org
http://www.giuseppe-zanotti.us.com
http://www.uggoutlets.com.co
http://www.montblanc-pens.name
http://www.ferragamoshoesoutlet.us.com
http://www.thenorthface-outlet.in.net
http://www.longchamp-handbags.us.org
http://www.uggs-outlet-online.us
http://www.uggbootsonsale75off.in.net
http://www.replica-watches.us.com
http://www.pradaoutletonlinestore.us.com
http://www.montblanc.com.co
http://www.uggboots70off.com.co
http://www.cheapraybansunglasses.net.co
http://www.basketballshoesstore.us.com
http://www.uggbootscheaponline.in.net
http://www.saleuggboots.co.uk
http://www.adidasyeezy-boost.us.com
http://www.adidasshoesforsale.in.net
http://www.nikefootballbootsuk.org.uk
http://www.pandora-jewelry.me.uk
http://www.coachwallets.us.com
http://www.coachfactoryoutlet-onlinestore.us.com
http://www.michaelkorstotehandbags.us.com
http://www.uggbootsoutlets.in.net
http://www.thenorthfaceclearance.us.com
http://www.outletuggs.net.co
http://www.hermesbags.me.uk
http://www.michael--kors.us.org
http://www.canadagooseclearance.us.com
chenlina20170929

# qqVUlmFSdwJlNaHIhFp

2022/04/19 11:59 by johnansog
http://imrdsoacha.gov.co/silvitra-120mg-qrms

# Generic Name. All trends of medicament.
https://canadianfast.com/
Everything information about medication. Get warning information here.

2023/02/20 5:28 by CanadaBest
Generic Name. All trends of medicament.
https://canadianfast.com/
Everything information about medication. Get warning information here.

# generic for doxycycline - https://doxycyclinesale.pro/#

2023/04/22 4:10 by Doxycycline
generic for doxycycline - https://doxycyclinesale.pro/#

# how to get prednisone tablets - https://prednisonesale.pro/#

2023/04/22 15:16 by Prednisone
how to get prednisone tablets - https://prednisonesale.pro/#

# Cytotec 200mcg price - https://cytotecsale.pro/#

2023/04/29 4:46 by Cytotec
Cytotec 200mcg price - https://cytotecsale.pro/#

# ed treatments: https://edpills.pro/#

2023/05/16 3:26 by EdPillsPro
ed treatments: https://edpills.pro/#

# pills for erection https://edpill.pro/# - best ed drug

2023/06/27 14:42 by EdPills
pills for erection https://edpill.pro/# - best ed drug

# paxlovid price https://paxlovid.store/
paxlovid generic

2023/07/13 21:47 by Paxlovid
paxlovid price https://paxlovid.store/
paxlovid generic

# non prescription ed pills https://edpills.ink/# - top ed pills

2023/07/27 0:57 by EdPills
non prescription ed pills https://edpills.ink/# - top ed pills

# plenty fish free dating

2023/08/09 14:16 by WayneGurry
best free date sites: http://datingtopreview.com/# - matchmaking dating

# paxlovid buy

2023/08/23 15:21 by Davidvat
https://paxlovid.top/# п»?paxlovid

# Misoprostol 200 mg buy online

2023/08/26 4:23 by Georgejep
http://misoprostol.guru/# Abortion pills online

# farmacia online

2023/09/25 9:39 by Archieonelf
https://onlineapotheke.tech/# internet apotheke

# comprare farmaci online con ricetta

2023/09/26 10:48 by Archieonelf
http://farmaciabarata.pro/# farmacia 24h

# versandapotheke deutschland

2023/09/26 15:02 by Williamreomo
https://onlineapotheke.tech/# gГ?nstige online apotheke
п»?online apotheke

# п»їonline apotheke

2023/09/26 23:23 by Williamreomo
http://onlineapotheke.tech/# online apotheke versandkostenfrei
п»?online apotheke

# online apotheke gГјnstig

2023/09/27 3:12 by Williamreomo
https://onlineapotheke.tech/# versandapotheke deutschland
internet apotheke

# gГјnstige online apotheke

2023/09/27 7:32 by Williamreomo
http://onlineapotheke.tech/# versandapotheke
versandapotheke

# п»їonline apotheke

2023/09/27 9:34 by Williamreomo
http://onlineapotheke.tech/# п»?online apotheke
gГ?nstige online apotheke

# migliori farmacie online 2023

2023/09/27 10:44 by Archieonelf
https://pharmacieenligne.icu/# Pharmacie en ligne sans ordonnance

# online apotheke preisvergleich

2023/09/27 12:41 by Williamreomo
https://onlineapotheke.tech/# versandapotheke
versandapotheke

# farmacie online autorizzate elenco

2023/09/27 18:51 by Rickeyrof
acheter sildenafil 100mg sans ordonnance

# farmacia online senza ricetta

2023/09/27 20:28 by Rickeyrof
acheter sildenafil 100mg sans ordonnance

# farmacie online sicure

2023/09/27 22:22 by Rickeyrof
acheter sildenafil 100mg sans ordonnance

# farmacia online piГ№ conveniente

2023/09/27 22:54 by Rickeyrof
acheter sildenafil 100mg sans ordonnance

# top ed pills https://edpillsotc.store/# - best treatment for ed

2023/10/08 1:17 by EdPills
top ed pills https://edpillsotc.store/# - best treatment for ed

# doxycycline compare prices

2023/10/08 16:46 by GaylordPah
Their global distribution network is top-tier. https://doxycyclineotc.store/# doxycycline pills

# pharm canada

2023/10/15 18:56 by Kiethamert
http://gabapentin.world/# gabapentin online

# canadian pharamacy

2023/10/17 3:39 by Dannyhealm
Cautions. https://mexicanpharmonline.shop/# mexican pharmaceuticals online

# canadian cheap rx

2023/10/18 6:09 by Dannyhealm
Read here. http://mexicanpharmonline.com/# reputable mexican pharmacies online

# buying prescription medications online

2023/10/18 10:16 by Dannyhealm
Their global presence ensures prompt medication deliveries. http://mexicanpharmonline.shop/# mexican mail order pharmacies

# canada mail order prescriptions

2023/10/18 17:49 by Dannyhealm
Their global perspective enriches local patient care. https://mexicanpharmonline.shop/# mexico drug stores pharmacies

# paxlovid buy https://paxlovid.bid/ paxlovid cost without insurance

2023/10/25 23:02 by Paxlovid
paxlovid buy https://paxlovid.bid/ paxlovid cost without insurance

# paxlovid covid

2023/10/26 4:09 by LarryNef
http://paxlovid.bid/# paxlovid price

# п»їpaxlovid

2023/10/27 3:52 by LarryNef
https://plavix.guru/# buy clopidogrel bisulfate

# pharmacies in mexico that ship to usa

2023/11/19 20:03 by DavidFap
http://withoutprescription.guru/# best non prescription ed pills

# cheap erectile dysfunction pills

2023/11/22 2:43 by WilliamApomb
https://edpills.monster/# ed pills for sale

# cheap erectile dysfunction pills https://edpills.tech/# ed dysfunction treatment

2023/12/23 8:15 by EdPills
cheap erectile dysfunction pills https://edpills.tech/# ed dysfunction treatment

# can i get clomid

2023/12/29 11:05 by RaymondGrido
http://clomid.site/# cost of generic clomid pills

# best ed pills

2024/01/09 10:03 by CharlesDioky
http://tadalafildelivery.pro/# tadalafil compare prices

# zestril online

2024/01/12 21:39 by CharlieThecy
http://furosemide.pro/# furosemide 100mg

# farmacia online miglior prezzo

2024/01/16 21:34 by Wendellglaks
http://tadalafilitalia.pro/# farmacie online autorizzate elenco

# top 10 pharmacies in india

2024/01/19 9:51 by Jamesspity
http://indiapharm.life/# reputable indian pharmacies

# buy prednisone without rx https://prednisonepharm.store/ prednisone pills for sale

2024/01/20 13:03 by Prednisone
buy prednisone without rx https://prednisonepharm.store/ prednisone pills for sale

# clomid generic

2024/01/20 21:30 by LarryVoP
Making global healthcare accessible and affordable https://clomidpharm.shop/# order clomid price

# tamoxifen generic

2024/01/21 12:50 by Normantug
http://prednisonepharm.store/# buy prednisone canada

# how to buy clomid online

2024/01/21 18:09 by LarryVoP
Global reach with a touch of personal care https://clomidpharm.shop/# cost of cheap clomid tablets

# does tamoxifen cause bone loss

2024/01/22 12:29 by Normantug
https://clomidpharm.shop/# can you buy cheap clomid now

# Pharmacies en ligne certifiées

2024/01/28 19:00 by JerryNef
http://pharmadoc.pro/# Pharmacie en ligne France

# stromectol drug

2024/01/30 7:11 by Andrewamabs
http://ivermectin.store/# ivermectin 8000

# stromectol 15 mg

2024/01/30 23:08 by Andrewamabs
http://prednisonetablets.shop/# prednisone over the counter south africa

# ivermectin 0.08

2024/01/31 7:11 by Andrewamabs
http://ivermectin.store/# minocin 50 mg for scabies

# rx canada

2024/02/11 16:23 by Williamzelia
http://edwithoutdoctorprescription.pro/# best non prescription ed pills

# zestoretic

2024/02/22 16:31 by Charlesmax
http://furosemide.guru/# furosemide 40 mg

# 100% free dating sites

2024/03/03 10:31 by RodrigoGrany
https://lanarhoades.fun/# lana rhoades izle

# dating match

2024/03/03 10:38 by Thomasjax
http://angelawhite.pro/# ?????? ????

# abella danger izle https://abelladanger.online/ abella danger izle

2024/03/03 14:50 by Adella
abella danger izle https://abelladanger.online/ abella danger izle

# best dating site online

2024/03/03 18:45 by Thomasjax
https://sweetiefox.online/# Sweetie Fox

# free gay dating sites chat

2024/03/04 23:46 by Thomasjax
http://angelawhite.pro/# ?????? ????

# facebook dating

2024/03/05 4:44 by Thomasjax
https://angelawhite.pro/# Angela White video

# totally free dating service

2024/03/05 10:01 by Thomasjax
http://angelawhite.pro/# Angela White

# hinge dating

2024/03/05 20:13 by Thomasjax
https://angelawhite.pro/# Angela White video

# totally free chat dating site

2024/03/07 1:39 by HowardBox
dating website best: https://evaelfie.site/# eva elfie full video

# ourtime dating site

2024/03/10 3:27 by HowardBox
dating services contact china: http://evaelfie.site/# eva elfie videos

# site de apostas

2024/03/11 16:08 by Robertcog
https://jogodeaposta.fun/# aplicativo de aposta

# jogo de aposta online

2024/03/14 2:57 by BrianTop
http://aviatoroyunu.pro/# aviator oyna slot

# buy prescription online

2024/03/25 0:14 by Carloshab
http://mexicanpharm.online/# mexico drug stores pharmacies

# buy doxycycline online 270 tabs

2024/04/13 19:29 by Archiewef
https://doxycyclinest.pro/# how to order doxycycline

# diflucan buy online usa

2024/04/15 11:36 by Josephfep
http://stromectola.top/# how much does ivermectin cost
コメントの入力
タイトル
名前
Url
コメント