You have to plug your computer with the code into the cortex’s USB 2.0 port via included cable. You have to unplug the VEXNet key in order to access the USB port. Be sure the robot is on when you download the code! (Hint Be sure to click on the “Download to Robot” button in order to to put “code into robot”)
Hope this helps and is opened to more detailed answers.