|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
open Access-database exclusiv(VC++ .net)
I use this String to connect to my Access-database:
Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\Database.mdb how can I open this exclusiv?(nobody should be able to use the database while my program is running) |
|
#2
|
|||
|
|||
|
I found out that I just need an open Connection to the database so that nobody else is able to open it. But my problem now is this:
When my function which uses the connection ends the connection is closed automatically. How can I open a connection which stays open till the program is closed? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > .Net Development > open Access-database exclusiv(VC++ .net) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|