Click here to Skip to main content
15,881,381 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: video capture Pin
Philip Fitzsimons17-Apr-03 4:32
Philip Fitzsimons17-Apr-03 4:32 
GeneralRe: video capture Pin
waleed riaz17-Apr-03 21:47
waleed riaz17-Apr-03 21:47 
GeneralRe: video capture Pin
Philip Fitzsimons17-Apr-03 23:12
Philip Fitzsimons17-Apr-03 23:12 
GeneralRe: video capture Pin
waleed riaz19-Apr-03 1:40
waleed riaz19-Apr-03 1:40 
GeneralRe: video capture Pin
Philip Fitzsimons21-Apr-03 5:36
Philip Fitzsimons21-Apr-03 5:36 
GeneralRe: video capture Pin
waleed riaz21-Apr-03 18:51
waleed riaz21-Apr-03 18:51 
GeneralExclusive Access with .NET OLE DB Pin
Jamie Nordmeyer16-Apr-03 12:56
Jamie Nordmeyer16-Apr-03 12:56 
GeneralRe: Exclusive Access with .NET OLE DB Pin
Mike Dimmick16-Apr-03 23:31
Mike Dimmick16-Apr-03 23:31 
The easiest way to get a connection string to do what you want is to use the Universal Data Link dialog. To do this:
  • Create a new text file on the desktop
  • Rename it to 'access.udl' (the icon should change to a computer in front of a table)
  • Double-click the icon
You should now get a property sheet labelled 'Data Link Properties'.

Go to the Provider tab and select the Microsoft Jet 4.0 OLE DB Provider. Go to Connection and browse to the database you want to open, then ensure the username and password are correct. Choose 'Test Connection' to check you're all right so far. On the Advanced tab, under Access Permissions uncheck Share Deny None and check Share Exclusive. Click OK.

Now open the .UDL file in Notepad. It should look something like:

[oledb]
; Everything after this line is an OLE DB initstring
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Work\MyDB.mdb;Mode=Share Deny Read|Share Deny Write;Persist Security Info=False

I hope that shows alright on your browser; CodeProject converts [semicolon][P] into a smiley...;P

Copy the initialisation string into your code, and you should be done.


--
Mike Dimmick
GeneralRe: Exclusive Access with .NET OLE DB Pin
Jamie Nordmeyer17-Apr-03 5:31
Jamie Nordmeyer17-Apr-03 5:31 
GeneralReading RSA key from File Pin
Heath Stewart15-Apr-03 4:53
protectorHeath Stewart15-Apr-03 4:53 
QuestionCan I design a webserivce with c#,now I want use it with c++ and webservice have session state Pin
wxdwxd13-Apr-03 16:55
wxdwxd13-Apr-03 16:55 
GeneralCan't 'design' UserControl Pin
moredip13-Apr-03 4:01
moredip13-Apr-03 4:01 
GeneralRe: Can't 'design' UserControl Pin
Roger Alsing22-Apr-03 23:21
Roger Alsing22-Apr-03 23:21 
GeneralRe: Can't 'design' UserControl Pin
moredip23-Apr-03 0:24
moredip23-Apr-03 0:24 
Generalinitial validation of controls Pin
moredip12-Apr-03 14:17
moredip12-Apr-03 14:17 
GeneralRe: initial validation of controls Pin
Sumeet Rattan17-Apr-03 2:33
Sumeet Rattan17-Apr-03 2:33 
GeneralNumberBox - a simple digits only textbox Pin
moredip12-Apr-03 8:43
moredip12-Apr-03 8:43 
GeneralRe: NumberBox - a simple digits only textbox Pin
J. Dunlap12-Apr-03 9:34
J. Dunlap12-Apr-03 9:34 
GeneralRe: NumberBox - a simple digits only textbox Pin
moredip12-Apr-03 12:02
moredip12-Apr-03 12:02 
GeneralRe: NumberBox - a simple digits only textbox Pin
ian mariano13-Apr-03 12:07
ian mariano13-Apr-03 12:07 
GeneralRe: NumberBox - a simple digits only textbox Pin
moredip13-Apr-03 12:11
moredip13-Apr-03 12:11 
GeneralRe: NumberBox - a simple digits only textbox Pin
ian mariano13-Apr-03 12:48
ian mariano13-Apr-03 12:48 
GeneralRe: NumberBox - a simple digits only textbox Pin
moredip13-Apr-03 12:57
moredip13-Apr-03 12:57 
GeneralDebugging remoted class hosted by IIS Pin
David Thom11-Apr-03 8:09
David Thom11-Apr-03 8:09 
GeneralWeb Service Problems Pin
rantinori10-Apr-03 10:57
rantinori10-Apr-03 10:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.