🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #644

VB2005 Pda Bluetooth??..Soquilio!!!

#644
From: TioPelao
Date: Mon, 12 May 2008 15:54
28 lines
1796 bytes
Holas a to2.
Por favor quien pueda ayudarme....
Tengo un prog. hecho en VB2005 para WinMobile. Este usa un lector de 
c�digos de barra Bluetooth conectado a un puerto serial virtual de la Pda.

Funca OK....pero cuando alejo mucho el lector se desconecta de la Pda, sin 
embargo el puerto serial queda abierto no indicando que se desconect� el 
dispositivo y la aplicaci�n watea.

Para la lectura uso un invoke:

-----------
Private Sub SPort_DataReceived(ByVal sender As Object, ByVal e As 
System.IO.Ports.SerialDataReceivedEventArgs) Handles SPort.DataReceived

   Dim handler As New EventHandler(AddressOf leer)
   Me.BeginInvoke(handler)

End Sub
-----------

Como puedo determinar si tengo o no en detrminado momento conectado algo 
al puerto serial???

Desde ya muchas gracias.

Atte.
TioPelao@gmail.com
Technical Details
Message-ID: <fb7d65a0f71876f9f3287448b079ce48$1@usenet.no-ip.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!npeer01.iad!npeer03.iad!news.highwinds-media.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,34eff151767ce488,start
X-Google-Attributes: gid1593cb,domainid0,public,usenet
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!npeer01.iad!npeer03.iad!news.highwinds-media.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mail
From: tiopelao@gmail.com (TioPelao)
Newsgroups: chile.comp.programacion
Subject: VB2005 Pda Bluetooth??..Soquilio!!!
Date: Mon, 12 May 2008 12:54:32 -0300
Organization: Usenet Chile.* http://usenet.no-ip.com
Lines: 29
Message-ID: <fb7d65a0f71876f9f3287448b079ce48$1@usenet.no-ip.com>
NNTP-Posting-Host: pc-164-119-104-200.cm.vtr.net
Mime-Version: 1.0
X-Trace: news.nivel5.cl 1210607675 5864 200.104.119.164 (12 May 2008 15:54:35 GMT)
X-Complaints-To: news@news.nivel5.cl
NNTP-Posting-Date: Mon, 12 May 2008 15:54:35 +0000 (UTC)
User-Agent: NewsPortal/0.3X RCL MOD
X-Abuse: robertocl@gmail.com
X-HTTP-Posting-Host: 200-126-105-237.bk7-dsl.surnet.cl