PC Review


Reply
Thread Tools Rate Thread

Control over which IR beaming method used

 
 
David Topps
Guest
Posts: n/a
 
      28th Aug 2003
I wrote an application in eVB that beamed Tasks between PPC 2000 devices and
used the POOM store to interact with the Tasks list. Worked quite well - I
am now trying to migrate this to .Net CF and trying to resolve some problems
encountered when using this program on PPC2002 devices.

These newer devices use the Palm compliant IrOBEX methodology and I will
want to use that eventually. However, in the meantime, I find that when I
use the same methods that I used in eVB, on the newer PPC2002 devices, the
Task is beamed twice - once using the older legacy IR method, and once with
the newer automatic-reception of the beamed Task.

Since the older IR beaming method works better for now with my code for the
POOM store, I would like to be able to temporarily disable Beam reception on
the device so that it does not also grab the Task using the newer transfer
method.

In looking through the .Net documentation, I had thought that I should be
able to do this with the following code:

'Add a Reference to System.Net.IrDA
Dim ird As New System.Net.Sockets.IrDAListener("x")

ird.Stop()

The string "x" was chosen at random - I grabbed this idea from the AgentBeam
example on GotDotNet. I don't know if the string matters or not.

I assigned this ird.Stop() method to a button on a test Form in VB.Net -
while it compiles and runs without complaint, the Stop() method does not
appear to stop the IrDA listener from listening.

So what am I missing? Does the string parameter matter? How do I access the
main default IrDAListener?

dt


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Beaming data Peter Morris [Droopy eyes software] Microsoft Dot NET Compact Framework 3 30th Jun 2006 05:11 PM
You can't reference a property or method for a control unless the control has the focus. ATJaguarX Microsoft Access Forms 11 24th Feb 2006 07:49 PM
Beaming Documents =?Utf-8?B?Ym94ZXJtYW4=?= Microsoft Word Document Management 2 10th Dec 2005 03:52 AM
Beaming files/information using bluetooth and infrared Trevor Armstrong Microsoft Dot NET Compact Framework 4 30th Jan 2004 08:31 PM
recalc method, calculated control based on another calc control Greg Green Microsoft Access Form Coding 1 24th Sep 2003 08:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:23 PM.