maybe you use only the libraray without the control, i have made with tihs the best compatibility (btw, the control under vista often makes vb to shut down and so on)
I only have the code for vb6, but i think this should work for vb.net
Imports ActiveHomeScriptLib
Imports System
Imports System.Drawing
Imports System.Drawing.Imaging
Dim WithEvents ActiveHomeObj As ActiveHomeScriptLib.ActiveHome
Dim ActiveHomeTraffic
Dim AHEvents As String
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ActiveHomeObj = New ActiveHome
End Sub
'This is an X10 traffic event handler for the receive action
Sub ActiveHomeTrafficAction(ByVal bszRecv As Object _
, ByVal vParm1 As Object _
, ByVal vParm2 As Object _
, ByVal vParm3 As Object _
, ByVal vParm4 As Object _
, ByVal vParm5 As Object _
, ByVal vReserved As Object) Handles ActiveHomeObj.RecvAction
ActiveHomeTraffic = (bszRecv & " " & vParm1 & " " & vParm2 & " " & vParm3 & " " & vParm4 & " " & vParm5)
AHEvents = DateString & " - " & TimeString & " - " & bszRecv & " - " & vParm1 & " - " & vParm2
AHEvents = AHEvents & vbCrLf
TextBox1.AppendText(AHEvents)
End Sub
cyaz
Dextor