Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / April 2007

Tip: Looking for answers? Try searching our database.

.Net 2005 user control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ariel - 12 Apr 2007 06:34 GMT
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
Oliver Sturm [MVP C#] - 20 Apr 2007 18:12 GMT
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
Signature

http://www.sturmnet.org/blog - MVP C#


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.