File is in use and cannot be deleted

Posted by nonenas on Dec 27th, 2007
2007
Dec 27

A blog reader sent us the following question:

After browsing and searching through files in his hard disk drive using windows explorer (mostly image files) he tries to delete a  file and the System displays an error message saying that the file is in use and cannot be deleted. The file is not in use.

This can happen sometimes, when Windows explorer locks a file and then fails to unlock it. The solution is either to reboot the system (Bad one) or do the following:

 

  • Press ctrl+alt+delete and select Task Manager
  • Go to the tab Processes
  • Select explorer.exe and press the button End Process
  • Go to Applications Tab and press the button New Task
  • Type explorer and press the enter key
  • Now try to delete the file
[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
2007
Dec 27

A blog reader sent us a question about the following problem:

When I type and send an e-mail in outlook express 6.0 (Windows XP SP2), sometimes it reaches the recipients with most of the message body missing.


This is a common problem (known to Microsoft) and it can be solved by downloading this patch.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

VBA Double quotes in excel strings

Posted by nonenas on Dec 24th, 2007
2007
Dec 24

When programming in VBA, have you ever tried to construct a string which included double quotes?

If, yes and if you failed here is how you do it :

 

 Let’s say you have the following code:

 

dim a as String

a="This is a test"

 

If you actually want variable "a" to contain the phrase This is a test, you don’t need anything else. But if you want variable "a" to contain the phrase "This is a test" in double quotes you, have to use concatenation and do the following:

a = char(34) & "This is a test" & char(34)

 

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Next »