QB64 will run your code, and in the latest Windows platforms, too...by (Login qb432l)
Go here and download QB64 (free).
After installing, copy your QBasic code to the QB64 directory and run QB64.EXE. Open your program and press F5.
QB64 is great in that it will run QBasic code without having to alter it, but it also has a great many other capabilities, including expanded graphics, display of bitmaps, etc., playing .wav and .mp3 sound files, etc., etc.. While your at the QB64 website, check out the QB64 Wiki for both QBasic commands, and new QB64 commands.