being (623)


How do I delete a file which is locked by another process in C#?

How do I delete a file which is locked by another process in C#?

I'm looking for a way to delete a file which is locked by another process using C#. I suspect the method must be able to find which process is locking the file(perhaps by tracking the handles, althoug…


How do I use Java to read from a file that is actively being written to?

I have an application that writes information to file. This information is used post-execution to determine pass/failure/correctness of the application. I'd like to be able to read the file as it is b…


Why is my asp.net application throwing ThreadAbortException?

self explanatory question. Why does this thing bubble into my try catch's even when nothing is wrong? Why is it showing up in my log, hundreds of times? I know its a newb question, but if this site…



Is there a way to prevent a method from being overridden in subclasses?

Is anyone aware of a language feature or technique in C++ to prevent a child class from over riding a particular method in the parent class? class Base{public: bool someGuaranteedResult(){ret…


Preventing a visitor from saving an image from my site

What are some effective strategies for preventing the use of my proprietary images? I'm talking about saving them, direct linking to them etc... Presently I have a watermark on the image, but I'd rat…


How to lock compiled Java classes to prevent decompilation?

How do I lock compiled Java classes to prevent decompilation? I know this must be very well discussed topic on the Internet, but I could not come to any conclusion after referring them. Many people do…


How do you prevent printing dialog when using Excel PrintOut method

When I use the PrintOut method to print a Worksheet object to a printer, the "Printing" dialog(showing filename, destination printer, pages printed and a Cancel button) is displayed even though I ha…


c# - How to avoid garbage collection in real time.NET application?

I'm writting a financial C# application which receive messages from the network, translate them into different object according to the message type and finaly apply the application business logic on…


javascript - GWT or DOJO or something else?

I come from the Microsoft world(and I come in peace). I want to rapidly prototype a web app and if it works out, take it live-and I don't want to use ASP.Net. I am not sure which web application t…


security - How do you protect your software from illegal distribution?

I am curious about how do you protect your software against cracking, hacking etc. Do you employ some kind of serial number check? Hardware keys? Do you use any third-party solutions? How do you go a…




how not the used file from for prevent what another