I'm working on controlling robot's arm. Actually, I'm new with this topic.. I'd like to ask how to interfacing my microcontroller so it can communicate with my PC hence I can control the robot's arm. Is there any kind of program example to provide it?
C# has serial port support. If you want to use USB but do not want to mess with the drivers Microchip has a USB driver that emulates a serial port. You can talk to that driver from C# using the RS232 support.
Follow the USB Wacker link in my signature. It uses a liberty basic program to talk to an 18F PIC with driver written in C. Even if you do not use the UBW there is some good info there.
EDIT: Without knowing what microcontroller you are using it is hard to give a better answer.
This is called hijacking a thread. You should start one of your own. No micro controller will run visual c++. That language runs on a PC. To compile code for a micro you need to use a cross compiler.
If you want to continue this start a new thread for the topic.