Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Annoying problem saving files

Status
Not open for further replies.

Alphatrak

Programmer
Jan 18, 2002
2
US
This is a weird one, and I still can't figure out what's going on. I think maybe it's just a bug with Visual C++ 6.0. Anyway, when I try to save a source file, a lot of times, a msg box will pop up and say "Cannot save file. The file may be in use by another application." However, NOTHING else is open that is using the file and usually I'm able to actually save the file if I try saving a second time.

This happens pretty frequently and it's very annoying. I can live with it I guess, but if someone knows a solution to this problem or has encountered it before, please let me know. I'm running WinXP, but I also had this problem running on Win2K. I'm running the standard version of VC60. I'm going to try installing the latest service pack but I'm pretty sure I already installed it.

-Gordon
 
At least six things may cause it:
1. The File or an another File (*.dsp, *.dsw, *.clw. *.ncb ...) or Folder is "read-only".
2. You are not the owner of the File or have not enough rights (may be Your Program must write somewhat in the Registry, and You have vot enough rights in window - folder or subfolders etc...).
3. You have not enough place where You wish to save or in windows - folder or for swp-file /not enough memory at all. Try to close some Files in VS.
4. You have a Virus /use a not good enough cracked program (it may be an another Program).
5. You works in a net folder, and the net works not right - try to work with local copy.
6. It is really a bug. I have some Problems with VS6 for example, if I use too many breakpoints.
 
The only one of those suggestions that it could posibly be is that it's a bug. I appreciate the reply though! I've tried reinstalling vc6 and then installing the service pack again (sp5 I believe?), and I get the same thing. The weird thing is that it happens frequently, but not all the time.
 
I have forgotten one thing more - bad profile. It is a bug from Windows, not only from VS60. Check, if another user has the same Problem with the same Project.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top