Alan:
I just downloaded and installed InThehand v1.6.5.1222. I'm using VS2005
The code below generates the following error:
Error 1 Reference required to assembly 'System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes'
containing the type 'System.Net.Sockets.Socket'. Add one to your project.
..........
Does this mean there is a compatibility issue with VS2005 and/or .netV2?
Any advice will be much appreciated
Roger
Option Strict On
Option Explicit On
Imports System
Imports System.Text
Imports System.Net.Sockets.Socket
Imports InTheHand.Net.Sockets
Public Class frmMain
Const SelectPeerNum As Integer = 0
Const ServiceName As String = "IrDA:IRCOMM"
Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim Cli As New IrDAClient
Cli.Client()
End Sub
End Class
"Alan J. McFarlane" <al******@yahoo.com.INVALID> wrote in message
news:32**********************************@microsof t.com...
Use the IrDAClient class, whether the one in the .NETCF,
http://msdn.microsoft.com/library/de...classtopic.asp,
or Peter Foot's enhanced one, which also works on the full Framework,
http://32feet.net/library/InTheHand....rDAClient.html
I've example code of the latter, for IrCOMM and IrLPT usage, on my
website,
see http://www.alanjmcf.me.uk/comms/infr...iIrLpt.cs.html
and
http://www.alanjmcf.me.uk/comms/infr...IrComm.vb.html, the
latter being in VB.NET.
--
Alan J. McFarlane
http://www.alanjmcf.me.uk/
Please follow-up in the newsgroup for the benefit of all.
"Roger Allen" wrote:
Hi:
I am trying to write an app in VB2005 that can send data to another
device
via the IR port on my laptop.
I do not want to use Comm Port workarounds.
Does anyone know of code examples, or any clue how this can be done.
Help will be appreciated.