PDA

View Full Version : How can I use the MVCS model to get data from activex control using json?



samcram
30 Oct 2012, 10:36 PM
Hi Gurus,

My Environment: Windows 7 with Apache

I am developing an web application with Sencha Architect.

I have an ActiveX control which I developed using C#.Net 4.0. This ActiveX control provides I/O access to the windows COM port.

I would like to use the activex get/set functions to be able to get/set data to/from the Sencha pages. I am not sure how I can use the model view controller store architecture to do this using JSON files.

For example, let say I want to display the result of some cmd I sent to the COM Port, I need to know a way to get the send the cmd to the ActiveX control as well as get the response back and show it in the GUI. My only options for development are Sencha and ActiveX.

Any help is highly appreciated.

Thanks,
Sam

mitchellsimoens
2 Nov 2012, 6:10 AM
http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread/a162cc32-f559-4a2a-9221-67782bcdc129