|
I'm working on a program that needs to edit some objects in an Access database. It also runs a subprogram (long story) that tries to access the underlying JET database while Access still has it open via ODBC.
The problem is that as soon as I start editing...
Started by apenwarr on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Access.
With the tables an option? That way if the front-end is locked, the back-end is still accessible.
|
|
I have a program running as root on Linux, talking to a tty (actually an LCD implemented as a tty). The device for what it's worth is /dev/ttyUSB0. I'd like to have my program that writes to this device be able to have exclusive access to the device, ...
Started by Chris Markle on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Perhaps if you said more about what else was grabbing the device, or what you in mind that any solution you come up with... .
Always.
Perhaps this discussion on LKML: [TTY] exclusive mode question can help you!
Answer: Root always has access.
|
|
I'm working on a MS Access database. I've made some changes to one of the modules. I want to go out for lunch, but when I try closing the database, I get the following message:
"You do not have exclusive access to the database. Your design changes cannot...
Started by inglesp on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I don't know if this is documented yet, I haven't:
change directory... .
Is it being access by a service, like a website?
You could copy the database to another sub-directory and make with access databases with contain vba code is decompile.
|
Ask your Facebook Friends
|
Whenever I restore a backup of my database in SQL Server I am presented with the following error:
Msg 3101, Level 16, State 1, Line 1 Exclusive access could not be obtained because the database is in use. Msg 3013, Level 16, State 1, Line 1 RESTORE DATABASE...
Started by RedWolves on
, 8 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Note: I tested this by connecting to one of his databases from my local .
So far exclusive access to restore.
Then dropping his connections, or setting exclusive access which might cause him some inconvenience.
|
|
Is there a possibility in .NET to bind an object instance to a current execution context of a thread? So that in any part of the code I could do something like CurrentThread.MyObjectData.DoOperation() and be sure that I access thread-specific data? thanks...
Started by Andy on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you're using .NET 4.0, there's now also ThreadLocal<T>:
System.Threading.ThreadLocal....
Another helpful methods are SetData / GetData which allow you to store data relative to the current thread .
You could take a look at the ThreadStaticAttribute.
|
|
Hi,
I have a requirement to move certain files after they has been processed. Another process access the file and I am not sure when it releases them. Is there any way I can find out when the handle to the file has been released so I can move them at ...
Started by Hamid Shahid on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Pass FileShare.None.
Just contniually try to open the file for exclusive writing? (e.g.
|
|
Is it possible to open a file in .NET with non exclusive write access? If so, how? My hope is to have two or more processes write to the same file at the same time.
Edit: Here is the context of this question: I am writing a simple logging HTTPModule for...
Started by Ryan Michela on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
When one process is....
It is absolutely impossible for more than one process to write to the same file at the same exact time .
Edit: Since all the downvotes, I guess I'll explain a little more .
Learn about how files are read/written to disc.
Not possible.
|
|
What is the most elegant way to solve this:
open a file for reading, but only if it is not already opened for writing open a file for writing, but only if it is not already opened for reading or writing The built-in functions work like this
>>>...
Started by mar10 on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I don't think for your....
Here's a start on the win32 'scr.txt.lock' when you want to access the file and then delete the file when done.
Are portalocker.LOCK_EX for exclusive write access, or LOCK_SH for shared, read access.
|
|
I'm trying to restore backups of our production databases to our development server. When I run the following script which has previously worked:
RESTORE DATABASE M2MDATA01 FROM DISK = 'C:\Install\SQLBackup\M2MDATA01.SQLBackup' WITH REPLACE, MOVE 'M2MDATA...
Started by David Stein on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Switch to the Event Selection tab check the checkbox below the grid labeled "Show... .
Connect to the server instance that the database you are working with is on .
From Sql Server Management Studio, select Tools|Sql Server Profiler.
Profiler is one option.
|
|
Just opened the TOH comfort food diet cookbook. Does anyone know where to use the access code that is listed in the cookbook? Is it for free access to the diet plan site? I was hoping to use the site to help create my own meal choices and possibly the...
Started by ssyaple on
, 15 posts
by 7 people.
Answer Snippets (Read the full thread at tasteofhome):
Purchasing the books does not provide access to any exclusive content now (formerly exclusive content....
The exclusive access to the tools touted as a bonus for buying the cookbook? What exactly does this access.
|