Multi-Platform Component Development

  • Thread starter Thread starter Joseph Geretz
  • Start date Start date
J

Joseph Geretz

Can I develop a single component (aka widget) which is capable of being
hosted across the following application platforms?

..NET Winforms
..NET ASP
ActiveX Windows Application (e.g. VB6)

The component would need to expose properties and methods and would need to
raise events back to its host container.

Is this possible, or am I going to have to write 3 different widgets for
three different platforms?

Thanks for your advice.

Joseph Geretz
 
Can I develop a single component (aka widget) which is capable of being
hosted across the following application platforms?
Do you by "component/widget" mean an object that has a graphical
user-interface to it like a user-control or so?

If it is a graphical component, I don't think one component for Winforms
and ASP is a good idea, but of course the logic in the component could
be the same with different graphical interfaces (along the lines of
Model-View-Presenter pattern).

I think it is possible to make a winforms user-control available as
ActiveX component too. I have done so myself, but only for a control
that didn't pass any events back to the host (it only shows a file, that
the host can specify by calling a method on the component).

Best regards

Kasper
 
Hi Kasper,

Thanks for your reply.
I think it is possible to make a winforms user-control available as
ActiveX component too.

Can you provide more detail on how this is done?

Thanks!

Joseph Geretz
 
I think it is possible to make a winforms user-control available as
Can you provide more detail on how this is done?

I can find the information for you, but I'm on vacation now, and won't
have the information available before in two weeks, so have patience :-)

/Kasper
 
Back
Top