M
Matt Wilson
Hi,
I'm making a program that basically restricts Microsoft Access from
being opened or ran on all of the company computers (sometimes we need
exclusive access to a database to make changes... that becomes a
problem when we have 50 people who all have Access open and never seem
to hear the announcement to close it).
Here's my problem: How can you keep a process or program from
starting? I realize I could set a very short timer to check
System.Diagnostics.GetProcessesByName("MSACCESS") to see if it's
started... but I'd really like to be able to just restrict it from
running period. Is this possible?
I'm making a program that basically restricts Microsoft Access from
being opened or ran on all of the company computers (sometimes we need
exclusive access to a database to make changes... that becomes a
problem when we have 50 people who all have Access open and never seem
to hear the announcement to close it).
Here's my problem: How can you keep a process or program from
starting? I realize I could set a very short timer to check
System.Diagnostics.GetProcessesByName("MSACCESS") to see if it's
started... but I'd really like to be able to just restrict it from
running period. Is this possible?