🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.pda
Article #283

Programación Pda, VB2005 Soquilio!!!!

#283
From: TioPelao
Date: Mon, 12 May 2008 15:55
28 lines
1761 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: <f4f8dbf14feb912301231b9afe9ad73f$1@usenet.no-ip.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1f69c9,2ccda0b90f5b8a0c,start
X-Google-Attributes: gid1f69c9,domainid0,public,usenet
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mail
From: tiopelao@gmail.com (TioPelao)
Newsgroups: chile.comp.pda
Subject: Programación Pda, VB2005  Soquilio!!!!
Date: Mon, 12 May 2008 12:55:16 -0300
Organization: Usenet Chile.* http://usenet.no-ip.com
Lines: 29
Message-ID: <f4f8dbf14feb912301231b9afe9ad73f$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 1210607718 5868 200.104.119.164 (12 May 2008 15:55:18 GMT)
X-Complaints-To: news@news.nivel5.cl
NNTP-Posting-Date: Mon, 12 May 2008 15:55:18 +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