my memory card has a picture in it bt it shows empty
Are you trying to save the picture(s) that's on the card, or just make the card usable and remove the virus?
If you don't care about the picture, format the card in the camera. (Your camera should have an option to format the card). All pictures will be lost, but the card will be clean of viruses.