# RAB components in a UserControl

**URL:** https://tech-community.robotics.abb.com/t/rab-components-in-a-usercontrol/1678
**Category:** Developer Tools
**Created:** [February 11, 2008, 11:07am UTC](https://tech-community.robotics.abb.com/t/rab-components-in-a-usercontrol/1678 "2008-02-11T11:07:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![GigiM](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@GigiM](https://tech-community.robotics.abb.com/u/GigiM)
#### Post date: [February 11, 2008, 11:07am UTC](https://tech-community.robotics.abb.com/t/rab-components-in-a-usercontrol/1678/1 "2008-02-11T11:07:16Z")

</div>

Hi

I’ve a simple FlexPendant project in [VB.NET](http://VB.NET) with VisualStudio 2005 and RAB 5.10.

When I try to insert an ABB RAB control i.e. a Button in a System.Windows.Forms.UserControl or System.Windows.Forms.Control VisualStudio returns me this error.

I’ve reinstalled the RAB and check all references but the problem is still there.

Any ideas?

Thanks Gianluigi

---

<div class="post-metadata">

### Author: ![John\_Wiberg](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/john_wiberg/32/1485_2.png) [@John\_Wiberg](https://tech-community.robotics.abb.com/u/John_Wiberg)
#### Post date: [February 11, 2008, 2:26pm UTC](https://tech-community.robotics.abb.com/t/rab-components-in-a-usercontrol/1678/2 "2008-02-11T14:26:13Z")

</div>

Hi GigiM,

Could you take a screenshot of the references like this:

In the Solutions Explorer doubleclick the [My Project] node, then select the References tab

---

<div class="post-metadata">

### Author: ![John\_Wiberg](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/john_wiberg/32/1485_2.png) [@John\_Wiberg](https://tech-community.robotics.abb.com/u/John_Wiberg)
#### Post date: [February 11, 2008, 2:27pm UTC](https://tech-community.robotics.abb.com/t/rab-components-in-a-usercontrol/1678/3 "2008-02-11T14:27:01Z")

</div>

Sometimes you have an old project that “keeps” its references to the old version.

---

<div class="post-metadata">

### Author: ![GigiM](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@GigiM](https://tech-community.robotics.abb.com/u/GigiM)
#### Post date: [February 11, 2008, 4:26pm UTC](https://tech-community.robotics.abb.com/t/rab-components-in-a-usercontrol/1678/4 "2008-02-11T16:26:56Z")

</div>

Hi John

Here is a screenshot, but all seems to be correct..

If I add the ABB button directly in the code by hand, when I open the designer of my usercontrol it returns this error

Gianluigi

---

<div class="post-metadata">

### Author: ![John\_Wiberg](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/john_wiberg/32/1485_2.png) [@John\_Wiberg](https://tech-community.robotics.abb.com/u/John_Wiberg)
#### Post date: [February 11, 2008, 4:45pm UTC](https://tech-community.robotics.abb.com/t/rab-components-in-a-usercontrol/1678/5 "2008-02-11T16:45:52Z")

</div>

OK

In the same list, go through each reference and look in its properties.

Check that  
[Specific Version], is FALSE  
and that the path points to an assembly of the correct version. (I’ve had a case where the reference path was to an old file which was then loaded)

You could also, to make sure, Remove all references and then Add them again to the project.
