Please login or register.

Login with username, password and session length

Author Topic: C# Sample / help wanted  (Read 5856 times)

loulou945

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 2
C# Sample / help wanted
« 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.
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: C# Sample / help wanted
« Reply #1 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.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

loulou945

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 2
Re: C# Sample / help wanted
« Reply #2 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
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: C# Sample / help wanted
« Reply #3 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 
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.