1

Not sure if this is even an acceptable question, but I figured it's an IDE so...

I'm trying to write a small program in qb4.5, which has happily worked on my computer (XP SP3) for a while now. For some reason though it is now sluggish and error-prone. As the title reads, if I try to open a file then QB crashes out. A virus recently attacked my registry (among other things), and after removing it and fixing many entries there are probably some entries that I haven't corrected that may affect this.

  • Would be good to make this into an actual question, although my intentions are obvious. How can I fix this? – Timballisto Jan 28 '11 at 04:00
  • That's neat that you're using QBasic. I'm curious what kinds of programs you're writing for such an old platform. – Jacob Jan 28 '11 at 04:01
  • 1
    First mistake: You failed to format your drive and reinstall Windows after suffering from a virus attack. Sure, it's one thing to go in and try to clean things up so that you can recover your files and do a backup. But there's just no excuse for trying to continue running on a compromised OS installation whose registry you've admittedly had to hack on yourself. Wipe your drive, reinstall Windows and all of your programs, then check back with us. Your problem (and a whole bunch of others) are almost guaranteed to magically disappear. – Cody Gray - on strike Jan 28 '11 at 04:07
  • Well, I suppose there's not much I can do but agree with you on this...Darned quiet nagging voice of reason. Probably for the best. @Jacob: I've made all sorts of things from tiny to medium size, the later ones having their own GUIs. Right now I just want to write a custom timer with a ten second preparation time before the actual timer starts with system beeps to indicate start and stop. In the meantime though I've moved larger projects to C#. – Timballisto Jan 28 '11 at 04:26
  • 1
    I'm not really all that quiet, but I'll sure take the "voice of reason" compliment. ;-) – Cody Gray - on strike Jan 28 '11 at 04:27

2 Answers2

1

I believe that QuickBasic uses the MSDOS edit command for its IDE

The QuickBASIC IDE (-> QB.EXE) is a self-contained application. QuickBASIC doesn't use the MS DOS editor (EDIT.COM) as an input screen. The QB IDE offers several features you won't find in EDIT.COM, for example a SUB/FUNCTION browser, live syntax checking, compile+launch menu, ...

The styling of the QB IDE looks very similar to the appearance of EDIT.COM but it's a different application. In fact, one can run QB.EXE in DOSBOX without even having EDIT.COM installed.

BenMorel
  • 34,448
  • 50
  • 182
  • 322
MrSnrub
  • 1,123
  • 1
  • 11
  • 19
1

I believe that QuickBasic uses the MSDOS edit command for its IDE. Presumable that program is affected by the virus. If that is the case, you should have problems opening other files in EDIT too.

GolezTrol
  • 114,394
  • 18
  • 182
  • 210