How İ communicate C# and Robot Studio Virtual Controller

Hello everybody
my problem is that i didnt comminicate c# and robotstudio.
I write a interface for robot (real) but i need making some changes using robot studio. Now i will what i do step by step

  1. open robot studio and add new robot with virtual controller
  2. syncronize virtual controller and robot
  3. then i read fallowing link
    http://developercenter.robotstudio.com/Index.aspx?DevCenter=RobotCommunication&OpenDocument&Url=../RobotCommunicationAppManual/doc26.html
    this.scanner = new NetworkScanner
    this.scanner.Scan();
    ControllerInfoCollection controllers = scanner.Controllers;
    foreach (ControllerInfo controllerInfo in controllers)
    {
    item = new ListViewItem(controllerInfo.IPAddress.ToString());
    item.SubItems.Add(controllerInfo.Id);
    item.SubItems.Add(controllerInfo.Availability.ToString());
    item.SubItems.Add(controllerInfo.IsVirtual.ToString());
    item.SubItems.Add(controllerInfo.SystemName);
    item.SubItems.Add(controllerInfo.Version.ToString());
    item.SubItems.Add(controllerInfo.ControllerName);
    this.listView1.Items.Add(item);
    item.Tag = controllerInfo;
    }
    But c# didnt connect robot studio. i don’t see any robot in listview ? i make mistake but in where? please help me

Hello, maybe you forget to add the option pc interface to your virtual robot.

Did you create a new system using your robot backup? And then create a new cell using this new system, only then you have an exact copy of your real robot with same options.

BR

Peter

thankss peter i solved the problem thanks a lot:)