   Using Qbasic 4.5 .bas files
  For some reason Qbasic 4.5 fails to run on XP(SP2) even with the backwards compatability mode. Although I can get the main menu up by running it via the command line, it immediately goes back the prompt.I tried opening the .bas file with Notepad, shows it in binary text. Tried with VB.NET 2005, and it opens it with Notepad. I tried it with DarkEdit, and it just shows a u.Is there anything else I can open it with, or any other way to get Qbasic to work on XP? I really need it for my CS class.Any help would be greatly appreciated.   
  Did you try running it in  DOSBox?   ;  Thank you I had never thought of that.I'll try it as soon as I get it working.   ;  Compatibility with Dos programs is kind of problematic in XP, particularly if the program makes use of EMS or XMS memory. I don't recall ever running QBasic 4.5 itself in XP, however the programs I wrote and compiled in it, which did make use of EMS/XMS memory did run after a little configuration tweaking. It's been too long to recall exactly what I did, but I can at least tell you that it should work.Also, on a related note, in my latter days programming in QB, I used a preprocessor package called QBMCX, which adds a C-like preprocessor which can be used to include and link files. Normally, the classic QB environment would handle this (withought preprocessor commands) so you may be wondering what the point of it would be... Well, the upshot of it is this: Using the preprocessor package, its possible to set up any number of free IDEs such as MED or ConTEXT to compile and link your QB code at the press of a button. On top of a nice, windows-based QB IDE you get some nice features such as syntax highlighting (user configurable) and you won't have to worry about hitting the classic QB editor's memory use limit, which tops out at 64KB of source code. My last QB project was just shy of 100kb of source, so it certainly saved my project. <rant> and before anyone jumps on me about how its no small wonder that the code got that big, what with all the GOTOs... The project, a Final Fantasy style RPG engine, was actually very well formatted procedural code, and even to some extent object oriented in that logically seperate components were modular, ie- the audio, scripting, battle and game engines. It was also entirely data-driven, so we're talking about just about 100k of pure ascii source code. [grin] </rant>At any rate, QBMCX can be found here: QBMCX but I'm not sure if its still packaged with an IDE. At the time I last used it it was packaged with the MED IDE and preconfigured to work out of the box. However, I've more recently been using ConText for pretty much all my non-Visual Studio coding and I recomend it highly. Its increadibly easy to configure new languages and syntax highlighters, and it has a pretty sizeable collection of freely available highlighters already made by other users.You may also want to check out freeBasic if you have not already done so. Its a new BASIC, almost entirely compatible with QuickBasic 4.5 and made by an old school QB programmer. Technically its still beta, but theres already a large, and growing, community around it. In fact, as much as I keep up on it, I've heard that much of what remained of the QB community has switched over to FreeBasic for future projects, if not exclusively.   ;  Thanks a lot guys I got it to work.   