Sunday, June 17, 2007

silverlight and ActiveX: the new architecture ready to go

I want to use silverlight to access serial ports. The reason: I actually do need it; also, it makes a point: if you can do this, you can do everything on web applications.

I was hoping I can use AIR/Apollo to talk to serial ports; I was so disappointed. Here is my solution: use ActiveX.

Note that it must be a pure classic ActiveX (in C++ or VB), so that we do not need to install .Net on the machine (preferably C++; but as long as it works, most machines can run VB anyway, and as long as we do not need to install versions of .Net. Hey, that is the very point of silverlight -- I do not really care Unix or Mac, or do IJ -- I am very pragmatic).

Also, the ActiveX must not have any business logic. We can use MSCOMM, write our own (again, in C++ or classic VB, no .Net here!), or, buy one. I do not really care – as long as all logic is written in C# (again, this is the very point of silverlight!).

http://www.activexperts.com/activcomport/


Because of the security model, Silverlight cannot call ActiveX directly, but we can use javascript to trick it.


http://weblogs.asp.net/mschwarz/archive/2007/06/01/call-scribtable-methods-from-javascript-with-silverlight.aspx

http://blogs.msdn.com/devdave/archive/2007/05/21/calling-javascript-from-c.aspx

http://msmvps.com/blogs/luisabreu/archive/2007/05/17/calling-javascript-methods-from-your-silverligh-app.aspx

http://blogs.msdn.com/shawnfa/archive/2007/05/09/the-silverlight-security-model.aspx

OK, finally the new architecture is ready, now, let’s have fun with the ActiveX v2, oops, Silverlight, with PIAB.

215 Comments:

«Oldest ‹Older 201 – 215 of 215
Anonymous Anonymous said...

tramadol online buy tramadol 50mg online - tramadol withdrawal heart palpitations

2/22/2013 05:28:00 PM  
Anonymous Anonymous said...

carisoprodol 350 mg dosage for carisoprodol - carisoprodol 1400 mg

2/23/2013 04:41:00 AM  
Anonymous Anonymous said...

tramadol online tramadol injection - tramadol for dogs constipation

2/23/2013 11:04:00 AM  
Anonymous Anonymous said...

tramadol online tramadol for dogs online - tramadol 50 mg safe

2/26/2013 08:37:00 PM  
Anonymous Anonymous said...

buy cialis buy cialis professional 20 mg - ordering cialis online legal

2/28/2013 04:33:00 AM  
Anonymous Anonymous said...

xanax online xanax time release side effects - xanax vs xanax bars

3/02/2013 08:09:00 AM  
Anonymous Anonymous said...

cialis drug cialis heart attack - buy cialis at amazon

3/03/2013 11:50:00 PM  
Anonymous Anonymous said...

cialis without prescription buy cialis online overnight shipping - buy cialis online usa paypal

3/04/2013 03:50:00 PM  
Anonymous Anonymous said...

cheap tramadol no prescription tramadol qt interval - buy tramadol in usa

3/06/2013 03:48:00 AM  
Anonymous Anonymous said...

clonazepam without prescription klonopin 8 mg - can you buy clonazepam online

3/07/2013 09:52:00 PM  
Anonymous Anonymous said...

klonopin price strongest generic klonopin - 2mg klonopin compared 2 mg xanax

3/08/2013 02:39:00 AM  
Anonymous Anonymous said...

buy klonopin online klonopin withdrawal peak - low dosage klonopin

3/11/2013 04:31:00 AM  
Anonymous Anonymous said...

where to buy tramadol online buy tramadol hydrochloride 50mg - signs of tramadol overdose

3/11/2013 01:26:00 PM  
Anonymous Anonymous said...

carisoprodol 350 mg buy cheap carisoprodol - high on carisoprodol

3/19/2013 07:08:00 PM  
Anonymous Anonymous said...

http://www.achildsplace.org/banners/tramadolonline/#3113 buy tramadol cheap - buy tramadol cheap

5/13/2013 01:20:00 AM  
«Oldest ‹Older 201 – 215 of 215

Post a Comment

Subscribe to Post Comments [Atom]

<< Home