Page 1 of 1

Wont DELETE!!!

Posted: Wed Mar 22, 2006 4:27 pm
by Zamaster
ARRGGGHHHHH! Every time a compile a program in qb4.5 into an exe, I cant delete it! It says its being used by another person or program. And I mean EVERYTIME. You can only delete it if you log off and then log back on. What in the world is going on?

Posted: Wed Mar 22, 2006 6:30 pm
by moneo
Maybe your problem is that you're getting into QB directly from Windows. If so, then QB underWindows "owns" the exe file.

Try getting into the MSDOS commandline first. Then get into QB. Then, do the compile. Now, you should be able to delete the exe either from the MSDOS commandline, or from Windows if you like.
*****

Posted: Wed Mar 22, 2006 6:51 pm
by RyanKelly
I've never had this problem. Which version of windows are you running?

Posted: Wed Mar 22, 2006 8:05 pm
by Zamaster
Im running XP. Sorry moneo but Im not sure how Id do that, could you explain what I need to do in easy language?

Posted: Wed Mar 22, 2006 8:56 pm
by thegrogen
Go to Start->Run, and in the textbox type in "cmd" and hit enter.

Posted: Wed Mar 22, 2006 10:46 pm
by moneo
thegrogen wrote:Go to Start->Run, and in the textbox type in "cmd" and hit enter.
Correct. That will put you on the MSDOS commandline. Then, change directory (CD) to the directory which has your QBasic stuff.

Do you need more details?
*****

Posted: Thu Mar 23, 2006 12:44 pm
by Zim
I make desktop shortcuts that take me to specific folders and drop me at the DOS prompt.

There's also a thing you can do with "command /k" in folder properties so that when you right click on a folder, one of your options will be to go to the DOS prompt at that level. Handy.

Posted: Thu Mar 23, 2006 2:48 pm
by bungytheworm
RyanKelly wrote:I've never had this problem. Which version of windows are you running?
Back in my XP days i had that same problem. Neeed to delete from command prompt. Practically, all dos programs needed to remove like that way.

But thats no problem anymore, i removed xp :lol:

Posted: Thu Mar 23, 2006 3:57 pm
by Patz QuickBASIC Creations
If you are using WIN XP, don't use the IDE. Problem solved. :lol:

Posted: Thu Mar 23, 2006 8:01 pm
by moneo
Zamaster,

So, have you solved your problem? What's your status regarding this issue?
*****

Posted: Fri Mar 24, 2006 3:01 pm
by Zamaster
Not really. Im not sure what exactly the problem is. You guys said something about running the IDE from dos and thatll make it work? Do I just need to change the Current Directory to the one where QB 4.5 is in? Im sorry Im so lame on this sorta thing.

Posted: Fri Mar 24, 2006 9:37 pm
by moneo
Yes, once you're on the MSDOS commandline, you need to change directory (CD) to the directory where you QBasic stuff including the IDE is located. This is really very simple. You must do this in order to find out if this is going to work for you.

Don't worry about "being lame on this stuff". Nobody was born with knowledge. We all had to learn one step at a time.
*****

Posted: Sat Mar 25, 2006 10:57 am
by shdwmarth
Hi I am having a similar problem. I love using QBasic but I can't delete it from my computer. I tried to delete it from msdos cmd line but it still says its being used by someone else. I just need to know how to delete it in case i ever want to get rid of it or is there a way that i can make it so that i can just put it into the recycle bin like any other program?

Posted: Mon Mar 27, 2006 3:14 pm
by Guest
Look at the processes and kill the one process that activates after attempting to delete it.
1. Ctrl Alt Del
2. Click the processes tab
3. attempt to delete the file and see which process reacts
4. kill the reacting process