|
Opening a file in WINDOWS/system32/LogFiles with
using (StreamReader r = new StreamReader(fileName))
generates exception "because the file is in use by another process". How can I figure out what the other process is? Could it be the server updating the...
Started by Nona Urbiz on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You could....
Jacob
Personally, I prefer ProcessExplorer with its "Find Handle" functionality .
This is disturbingly old school, but I love this really bad utility called: wholockme http://www.dr-hoiby.com/WhoLockMe/
It lets you know who has files locked .
|
|
How much trust can I put in a standard computer running windows? To what certainty can I be sure it will run my code the way I wrote it? How can I be sure that if I declare something like "int j = 5;", j will alway be 5? Is there a way to measure trust...
Started by danmine on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You can probably see that is intolerable you can use error....
:-)
If "nothing can be off by even a single bit", the only way in general to do this is to have are the same, this is accepted, otherwise an error condition is flagged.
|
|
Say I make an .exe file and everything is peachy. Wonderful it works.
Say I worked on a new feature on the software and I want it to be available for people who already have the older version, how can I make the software find my new version, patch it,...
Started by John McClane on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
There you can simply put the version of the installed application....
This may be on every startup or once a week or whatever .
A list of updates online that the updater program can check (an RSS feed, or even a simple text file for new versions.
|
Ask your Facebook Friends
|
My site loads images based on names that are created for them. It loads images assuming that they're there when sometimes they're not. Every time it loads an image like this:
<img src="/myimages/my-image.jpg" alt=""/>
if it's not there on the server...
Started by Matt on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If this isn't an option, you can use ajax:
call a page.
The HTML file is ever sent to the client.
|
|
From the documentation, I would expect adModeShareDenyWrite to be the way, but it's not working right.
I'm using an Access database via ADO. My connection string says Mode=8, which is adModeShareDenyWrite. But when I try to delete a row from a table, ...
Started by Corey Trager on
, 6 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
When you use adModeShareDenyWrite in....
They can change whatever they want from a client interface, whatever it is, and others can also connect to the same file at the same time.
One solution is to give them access to a copy of the database .
|
|
How can I create a JTextfield that can be queried but not updated?
Started by kochu on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
A quick search.
The text, but it can still be copied or you can pull the value with getText() .
|
|
Hi,
How can I write a program that can recover files in FAT32.
Please give me a suggestion!
Answer Snippets (Read the full thread at stackoverflow):
You can make a copy of the partition, ignoring.
This guy is great.) that might help you out.
Search should give you a plethora of software that can try to recover the data, but it's not 100 Tempelman.
|
|
How can I know what exceptions might be thrown from a method call?
Started by noname on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Any method can throw any you can but it could involve....
It will list all the checked exceptions which can be thrown from that method.
There is no 100% reliable way to know what RuntimeException or Error types can).
The exception.
|
|
How can I write a program which can test throughput of disk in Windows systems using c++?
What's the mainly steps and APIs that I can use to programming?
Started by Jinx on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
In outline:
write a known (large) amount of data to disk ( see write() ) start clock (see time() or clock() ) read data from disk (see read() ) stop clock (see above) report results (see cout) One open-source benchmark is bonnie , which mostly uses the... .
|
|
Find the next TCP port in .Net says how to do this in raw .net, but not how to safely to this with WCF.
In my unit tests, I need to use the NetTcpBinding, I do not wish to hard code the port it is using .
Therefore how can I get the NetTcpBinding to automatically...
Started by Ian Ringrose on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you need to determine which port....
When using a random high port you can as the port number and let the os care about reservations (/etc/services on unix, don“t know how.
I no port is bound, I give up failing the test .
Until I wrap.
|