X10 Community Forum

🖥️ActiveHome Pro => SDK => Topic started by: loulou945 on June 11, 2013, 09:34:50 AM

Title: C# Sample / help wanted
Post by: loulou945 on June 11, 2013, 09:34:50 AM
Hi all,

i'm a very newbie in programming. so i ask for your help and generosity.

i have a supervisor software who work with C# scripts, and i would like to control my X10 modules.
i'm searching for sample of C# code to control modules (only LM and AD).

i have try to understand how to convert C++ sample to C# but its very difficult for me.

is someone can help me ?

Thanks

CÚdric.
Title: Re: C# Sample / help wanted
Post by: Tuicemen on June 11, 2013, 12:28:35 PM
You may have better luck converting VB to C#.
I did have some C# samples at one point but I'm afraid they may have been lost in a hard drive melt down.
However I will have a look and see what I can find.
You may find the source code for X10dispatch helpful as I believe it was written in C# and now open source.
 >!
Title: Re: C# Sample / help wanted
Post by: loulou945 on June 12, 2013, 03:53:43 AM
Thank you Tuicemen,

i will try to see how to convert VB to C# and i will look for x10dispatch code.

thanks
Title: Re: C# Sample / help wanted
Post by: Tuicemen on June 12, 2013, 11:01:40 AM
I haven't been able to find my C# sample code
however you can find the X10dispatch source code at http://x10dispatcher.codeplex.com/
I had tried to continue on with this but couldn't get MS messenger working with it.
Also C# is not something I'm good at or comfortable coding in.
Many users here would love to see this resurrected 
 >!