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

.NET (Core and Framework)

 
GeneralRe: video capture Pin
Philip Fitzsimons17-Apr-03 5:32
Philip Fitzsimons17-Apr-03 5:32 
GeneralRe: video capture Pin
waleed riaz17-Apr-03 22:47
waleed riaz17-Apr-03 22:47 
GeneralRe: video capture Pin
Philip Fitzsimons18-Apr-03 0:12
Philip Fitzsimons18-Apr-03 0:12 
GeneralRe: video capture Pin
waleed riaz19-Apr-03 2:40
waleed riaz19-Apr-03 2:40 
GeneralRe: video capture Pin
Philip Fitzsimons21-Apr-03 6:36
Philip Fitzsimons21-Apr-03 6:36 
GeneralRe: video capture Pin
waleed riaz21-Apr-03 19:51
waleed riaz21-Apr-03 19:51 
GeneralExclusive Access with .NET OLE DB Pin
Jamie Nordmeyer16-Apr-03 13:56
Jamie Nordmeyer16-Apr-03 13:56 
GeneralRe: Exclusive Access with .NET OLE DB Pin
Mike Dimmick17-Apr-03 0:31
Mike Dimmick17-Apr-03 0: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 6:31
Jamie Nordmeyer17-Apr-03 6:31 
GeneralReading RSA key from File Pin
Heath Stewart15-Apr-03 5:53
protectorHeath Stewart15-Apr-03 5:53 
QuestionCan I design a webserivce with c#,now I want use it with c++ and webservice have session state Pin
wxdwxd13-Apr-03 17:55
wxdwxd13-Apr-03 17:55 
GeneralCan't 'design' UserControl Pin
moredip13-Apr-03 5:01
moredip13-Apr-03 5:01 
GeneralRe: Can't 'design' UserControl Pin
Roger Alsing23-Apr-03 0:21
Roger Alsing23-Apr-03 0:21 
GeneralRe: Can't 'design' UserControl Pin
moredip23-Apr-03 1:24
moredip23-Apr-03 1:24 
Generalinitial validation of controls Pin
moredip12-Apr-03 15:17
moredip12-Apr-03 15:17 
GeneralRe: initial validation of controls Pin
Sumeet Rattan17-Apr-03 3:33
Sumeet Rattan17-Apr-03 3:33 
GeneralNumberBox - a simple digits only textbox Pin
moredip12-Apr-03 9:43
moredip12-Apr-03 9:43 
GeneralRe: NumberBox - a simple digits only textbox Pin
J. Dunlap12-Apr-03 10:34
J. Dunlap12-Apr-03 10:34 
GeneralRe: NumberBox - a simple digits only textbox Pin
moredip12-Apr-03 13:02
moredip12-Apr-03 13:02 
GeneralRe: NumberBox - a simple digits only textbox Pin
ian mariano13-Apr-03 13:07
ian mariano13-Apr-03 13:07 
GeneralRe: NumberBox - a simple digits only textbox Pin
moredip13-Apr-03 13:11
moredip13-Apr-03 13:11 
GeneralRe: NumberBox - a simple digits only textbox Pin
ian mariano13-Apr-03 13:48
ian mariano13-Apr-03 13:48 
GeneralRe: NumberBox - a simple digits only textbox Pin
moredip13-Apr-03 13:57
moredip13-Apr-03 13:57 
GeneralDebugging remoted class hosted by IIS Pin
David Thom11-Apr-03 9:09
David Thom11-Apr-03 9:09 
GeneralWeb Service Problems Pin
rantinori10-Apr-03 11:57
rantinori10-Apr-03 11: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.