.Net 2005 user control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi.

I'm trying to migrate a custom built user control for .net 2005, to .net 2003.

How can this be done? I understood there was some way to wrap around it, and
create a new user control.


Thanks,
Ariel
 
Hi,
I'm trying to migrate a custom built user control for .net 2005, to .net 2003.

How can this be done? I understood there was some way to wrap around it, and
create a new user control.

Your question is not quite clear. Firstly, I assume we're talking about
Visual Studio 2005 (.NET 2, usually) and Visual Studio 2003 (.NET 1.1).
Right? So you have a control that works in VS 2005, on .NET 2 or later and
you want to use it in VS 2003, i.e. on .NET 1.1. Right?

Assuming the answer to the above two questions is yes, well then, just
recompile the control on .NET 1.1 and you might be fine - more or less,
probably. If it doesn't work, there are of course language and CLR
differences that you might have to take care of during the "back-port".

Now, if you don't have the source code, that's a competely different
problem. Of course you could theoretically decompile the control using
Reflector, but I imagine this may not work too well in many cases and it
may also invalidate your license agreement if this is a 3rd party control
we're talking about. Another theoretical option may be to create an ActiveX
control based on your .NET 2 control and try to use that from .NET 1.1 -
but I'm not convinced that would work. Haven't tried though.

Hope this helps you somewhat... my advice: don't do it, just claim it's
impossible :-)


Oliver Sturm
 
Back
Top