A burglary involves illegal entry into a building whether or not anything is stolen. Burglary is a crime against a building, however odd that sounds.
A robbery involves taking property from a person with the threat or use of force. Robbery is a crime against a person.