Crashing while loading gcode

everytime i try to import a gcode file it shows loading and when it gets to 100% it immediately shuts down and closes out. im on windows vista and 10 i tried unistall and deleting document file. please help