# Creating a C# application to control the robot

**URL:** <https://tech-community.robotics.abb.com/t/creating-a-c-application-to-control-the-robot/4314>\
**Category:** Developer Tools\
**Created:** [July 18, 2011, 10:15pm UTC](https://tech-community.robotics.abb.com/t/creating-a-c-application-to-control-the-robot/4314 "2011-07-18T22:15:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joaopsf](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@joaopsf](https://tech-community.robotics.abb.com/u/joaopsf)\
**Post date:** [July 18, 2011, 10:15pm UTC](https://tech-community.robotics.abb.com/t/creating-a-c-application-to-control-the-robot/4314/1 "2011-07-18T22:15:11Z")

</div>

Hi,

I am knew with all the abb software.  
I am trying to develop a sort of library in C# that will allow me the access to the main functions of the robot. For instance a move linear function were I can define the target point.  
Does anyone have any small example, of how to do it?? There is any tutorial?? I am reading the manuals right now but it is so many things that I would be thankfull for any advice. To control the robot through C# do I need to write anything in RAPID.

Thank you in advance.

My best regards.

---

<div class="post-metadata">

**Author:** ![Asad](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@Asad](https://tech-community.robotics.abb.com/u/Asad)\
**Post date:** [July 4, 2019, 11:05am UTC](https://tech-community.robotics.abb.com/t/creating-a-c-application-to-control-the-robot/4314/2 "2019-07-04T11:05:28Z")

</div>

yes you need to make an application on visual studio which can connect to robotstudio and send positions as string values. basically u have to do socket programming between RS and VC.. Now when you have a client ready in VC u need to make the listen server in Robotstudio and establish comm. between both. After that you have to make a function to convert strings to targets for Robot in RAPID and distinguish between each string value u send for coordinates., this is a bit tricky but try.
