How to call OCX functions from .js in C# .net code behind
Posted on 2010-01-12
I'm not really sure if my question is going to be right, but here it goes.
I have a vb6 OCX that works with maps.
It has some functions that returns values like geocoding, reverse geocoding, driving directions, etc
For example, there is a function to add a point to the built map:
map.AgregarPunto(double latitude, double longitude, int point_id)
It works in a Win Form app, but I cannot make it work in a web page, because I think that the OCX is not designed for web.
Is there a way to do that?
Any help will be really appreciated.
Thanks in advance.