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

.NET (Core and Framework)

 
GeneralMetadata Format in PE Files Pin
Mike_V21-Apr-03 3:15
Mike_V21-Apr-03 3:15 
GeneralCrystal Reports/1.1 problems Pin
rondalescott18-Apr-03 12:30
rondalescott18-Apr-03 12:30 
GeneralQuickly Implement Interface methods Pin
Jamie Nordmeyer18-Apr-03 7:04
Jamie Nordmeyer18-Apr-03 7:04 
GeneralRe: Quickly Implement Interface methods Pin
Jamie Nordmeyer18-Apr-03 7:25
Jamie Nordmeyer18-Apr-03 7:25 
QuestionTracker Rect ? Pin
deemer17-Apr-03 21:08
deemer17-Apr-03 21:08 
GeneralPackaging and Distributing .NET DLL as CAB and referring methods within the same. Pin
Vasudevan Deepak Kumar17-Apr-03 19:51
Vasudevan Deepak Kumar17-Apr-03 19:51 
General"free" memory Pin
Andrei Matei17-Apr-03 3:17
Andrei Matei17-Apr-03 3:17 
GeneralRe: "free" memory Pin
Martin Cook25-Apr-03 9:03
professionalMartin Cook25-Apr-03 9:03 
Generalvideo capture Pin
waleed riaz16-Apr-03 23:54
waleed riaz16-Apr-03 23:54 
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 

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.