PDA

View Full Version : Trying to fire an event from anothr program with C#



quixote
September 17th, 2006, 12:07 AM
Can someone please tell me why this will not work when I try to run it from another program?


<?csharp Set GirderEvent = CreateObject("Girder.GirderEvent"); GirderEvent.Device = 18; GirderEvent.EventString = 'VFanPower'; GirderEvent.Payload(1) = 0; GirderEvent.Send()?>

the code is enclosed in <?csharp ... ?>


ty