473,614 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to beat 3rd party controls backward incompatiblitie s

Encapsulating 3rd party controls to avoid backword incompatiblitie s

Hi all,

Environment : VB6\ VS2003\ VS2005, VB.NEt in Winforms, 3rd party component
is a GRID from Sheridan & Devexpress and is used extensively for data display
and manupyulation on all the 100 each forms in the applications.

We have developed two inhouse enterprise level application each taking
around 2-3 years of development time and we used 3rd party controls like
Grids and Dropdowns for enhanced UI funationality. but the problem is that
after every 6 months or so these 3rd party control vendors come out with new
version which might most of the time be breaknig the compatiblity with the
order version. On the first application that we have developed back in 1999
to 2002, i was using this version from sheridan ( which is now infragistics)
and we never upgraded to version till this date becuase the new version was
not backward compatible, and now those due to these controls the application
does not work on some operating systems and upgrading the application to the
vesion would be an almost total overwrite of the UI because the control's
menthods and properties are so tighly integrated with the code.

And same in the case with the new application that we started developing in
2002 till 2004 end, upgrading to the new vesion of these 3rd party components
is like total overwrite.

so now for furthur development i am thinknig that i might want to
encapsulate\ inherit\ create another layer over these controls and use that
object's methods & properties so that if the 3rd party component version
changes i will just have to modify the code in my object which would reflect
all the places it is being used and this way i can very easily upgrade my
version of the 3rd party component. but i think that this might require quite
smoe work since these component have a lot of methods and properties and not
even talking about events since i dont know how i can encapsulate them.

Also another reason might be even if i am not using this controls for lets
say an internet version of the same desktop application then i might jsut
have to change the internal working of this object to encapsulate this new
controls and no other code might change.

i am pretty sure this problem has been encountred by a lot of guys out
their, please suggest, point me to resources, code samples, ideas and what
ever you think.

thanks
sAMEER
Mar 17 '06 #1
2 1762
I think putting another layer of abstraction around the object is the way to
go. Any developer code is always going to communicate through the
abstraction layer, and never directly deal with the infragistics grid. In
fact, the developer code doesn't know if under the hood there is an
infragistics grid, or a regular .net grid, or another type of grid - nor
does it care.

This approach in general has many advantages:

1. Common control behavior that you need can all be in one spot. So you
don't need developers rewriting the same code over and over.
2. You standardize behavior and look and feel. So all your grids look and
act the same, regardless the app
3. If you need to change code due to upgrades, or due to switching vendors,
you only do it in one spot. No application code needs to change. Not to
mention, if you need to switch vendors, your developers would have to delete
all grid designer code, and drag on a new grid, and redo all that work. Then
retrofit all their code to work against the new grid. Encapsulating the grid
in your own control means everything still works as long as you update your
encapsulating control - because all developers are coding against this
'virtual grid'.

"sameer" <sa****@discuss ions.microsoft. com> wrote in message
news:F6******** *************** ***********@mic rosoft.com...
Encapsulating 3rd party controls to avoid backword incompatiblitie s

Hi all,

Environment : VB6\ VS2003\ VS2005, VB.NEt in Winforms, 3rd party component
is a GRID from Sheridan & Devexpress and is used extensively for data
display
and manupyulation on all the 100 each forms in the applications.

We have developed two inhouse enterprise level application each taking
around 2-3 years of development time and we used 3rd party controls like
Grids and Dropdowns for enhanced UI funationality. but the problem is that
after every 6 months or so these 3rd party control vendors come out with
new
version which might most of the time be breaknig the compatiblity with the
order version. On the first application that we have developed back in
1999
to 2002, i was using this version from sheridan ( which is now
infragistics)
and we never upgraded to version till this date becuase the new version
was
not backward compatible, and now those due to these controls the
application
does not work on some operating systems and upgrading the application to
the
vesion would be an almost total overwrite of the UI because the control's
menthods and properties are so tighly integrated with the code.

And same in the case with the new application that we started developing
in
2002 till 2004 end, upgrading to the new vesion of these 3rd party
components
is like total overwrite.

so now for furthur development i am thinknig that i might want to
encapsulate\ inherit\ create another layer over these controls and use
that
object's methods & properties so that if the 3rd party component version
changes i will just have to modify the code in my object which would
reflect
all the places it is being used and this way i can very easily upgrade my
version of the 3rd party component. but i think that this might require
quite
smoe work since these component have a lot of methods and properties and
not
even talking about events since i dont know how i can encapsulate them.

Also another reason might be even if i am not using this controls for lets
say an internet version of the same desktop application then i might jsut
have to change the internal working of this object to encapsulate this new
controls and no other code might change.

i am pretty sure this problem has been encountred by a lot of guys out
their, please suggest, point me to resources, code samples, ideas and what
ever you think.

thanks
sAMEER

Mar 17 '06 #2
Thaks Marina,

Really sound the way i want to go , are their any kind of MS application
Blocks or code samples or examples or guidelines or whitepapers that i can
use to get this done, i want a starting point? Please suggest.

thanks again.

"Marina Levit [MVP]" wrote:
I think putting another layer of abstraction around the object is the way to
go. Any developer code is always going to communicate through the
abstraction layer, and never directly deal with the infragistics grid. In
fact, the developer code doesn't know if under the hood there is an
infragistics grid, or a regular .net grid, or another type of grid - nor
does it care.

This approach in general has many advantages:

1. Common control behavior that you need can all be in one spot. So you
don't need developers rewriting the same code over and over.
2. You standardize behavior and look and feel. So all your grids look and
act the same, regardless the app
3. If you need to change code due to upgrades, or due to switching vendors,
you only do it in one spot. No application code needs to change. Not to
mention, if you need to switch vendors, your developers would have to delete
all grid designer code, and drag on a new grid, and redo all that work. Then
retrofit all their code to work against the new grid. Encapsulating the grid
in your own control means everything still works as long as you update your
encapsulating control - because all developers are coding against this
'virtual grid'.

"sameer" <sa****@discuss ions.microsoft. com> wrote in message
news:F6******** *************** ***********@mic rosoft.com...
Encapsulating 3rd party controls to avoid backword incompatiblitie s

Hi all,

Environment : VB6\ VS2003\ VS2005, VB.NEt in Winforms, 3rd party component
is a GRID from Sheridan & Devexpress and is used extensively for data
display
and manupyulation on all the 100 each forms in the applications.

We have developed two inhouse enterprise level application each taking
around 2-3 years of development time and we used 3rd party controls like
Grids and Dropdowns for enhanced UI funationality. but the problem is that
after every 6 months or so these 3rd party control vendors come out with
new
version which might most of the time be breaknig the compatiblity with the
order version. On the first application that we have developed back in
1999
to 2002, i was using this version from sheridan ( which is now
infragistics)
and we never upgraded to version till this date becuase the new version
was
not backward compatible, and now those due to these controls the
application
does not work on some operating systems and upgrading the application to
the
vesion would be an almost total overwrite of the UI because the control's
menthods and properties are so tighly integrated with the code.

And same in the case with the new application that we started developing
in
2002 till 2004 end, upgrading to the new vesion of these 3rd party
components
is like total overwrite.

so now for furthur development i am thinknig that i might want to
encapsulate\ inherit\ create another layer over these controls and use
that
object's methods & properties so that if the 3rd party component version
changes i will just have to modify the code in my object which would
reflect
all the places it is being used and this way i can very easily upgrade my
version of the 3rd party component. but i think that this might require
quite
smoe work since these component have a lot of methods and properties and
not
even talking about events since i dont know how i can encapsulate them.

Also another reason might be even if i am not using this controls for lets
say an internet version of the same desktop application then i might jsut
have to change the internal working of this object to encapsulate this new
controls and no other code might change.

i am pretty sure this problem has been encountred by a lot of guys out
their, please suggest, point me to resources, code samples, ideas and what
ever you think.

thanks
sAMEER


Mar 17 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4262
by: Kris G Yeleswarapu | last post by:
Hi, I downloaded the infragistics tree view control from the msdn site. I am unable to find that in my toolbox. I haven't used third part controls, so please help me on how I can go about using it. regards, Gopikrishna
0
1340
by: Pat | last post by:
I have a third party .net control that I need to use in unmanaged MFC. This control is a Forms control, and I need to find a way to drop it onto an unmanaged MFC Forms. I have read the article "Managed Controls in Unmanaged Hosts" by Chris Sells, but was unable to find a way to get a 3rd party .net control to work using his methed, and then going back to his example was unable to get it to work either. I have tried writing a wrapper around this...
16
7211
by: TD | last post by:
This is the code under a command button - Dim ctl As Control For Each ctl In Me.Controls If ctl.BackColor <> RGB(255, 255, 255) Then ctl.BackColor = RGB(255, 255, 255) End If Next ctl
1
2079
by: CLR | last post by:
Folks, Who is the "king of the hill" when it comes to third party .NET controls for both Win and/or Web ? I have started to look at Infragistics. While the controls look "sexy" enough, their licencing agreement goes beyond "bondage". It assigns to them all rights and ownership of antything and everything that you "extend" on top of their source.
1
1695
by: Claire | last post by:
In our application we've used several 3rd party windows form controls that were installed into their own individual directories. We have to avoid using the GAC, all our dlls should be found together in the main application directory. I'm just reading through the many projects and references that make up our solution. Some of the dlls in the references are set to "Copy Local", others are not. (We can handle that Windows system dlls...
0
940
by: jm | last post by:
I am behind. I am coming from the world of ASP and still debating if I really want to convert all those ASP ADO pages to ASP .NET when they work perfectly fine on my Windows 2003 server as .asp files. I have experiemented and gotten working one of my ADO pages as an ASP .NET ADO page, if that is the right way to say it. I used web controls. I also built a version which very much looked like the old ASP way where the html was in the...
0
1570
by: David | last post by:
First, a question. Is there a way to keep VS.NET from red lining elements from third party controls with an error message that says 'the active schema does not support the element ****'? Doesn't Microsoft know that there are third party custom controls out there? It would be nice to have intellisense for third party controls' elements and properties as well. I am looking to get a suite of third party asp.net controls. Getting a...
9
2369
by: jax1148 | last post by:
In vb6 a group of controls ie command buttons could be refered to by an index number ie cmdWord(4). This was accomplished by using the index property of the control. Vb.net does not seem to have the index property for buttons. Is there a way in vb.net to refer to a group of controls in a way that includes a unique index number for the specific control to be used? Thanks, Howard Haisten
6
1780
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... Tried posting this on Build Controls but then saw that's a pretty slow group... Kind of a typical request from product management - they want to be able to swap in different 3rd party controls depending on their whim and the day. In this case, they want to support FreeTextBox and Cute Editor interchangably. I've been trying to put together a container control derived from
0
8142
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8642
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8294
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8444
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7115
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6093
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5549
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4138
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.