I would recommend using an OPC or DCOM call.
http://blog.matrikonopc.com/index.php/2006/07/