Click here to Skip to main content
16,012,821 members
Home / Discussions / Database
   

Database

 
GeneralRe: Memo field not returning more than 256 characters. Pin
brdavid9-Oct-04 12:13
brdavid9-Oct-04 12:13 
GeneralRe: Memo field not returning more than 256 characters. Pin
EdbertP11-Oct-04 20:43
EdbertP11-Oct-04 20:43 
GeneralRe: Memo field not returning more than 256 characters. Pin
brdavid12-Oct-04 0:26
brdavid12-Oct-04 0:26 
GeneralRe: Memo field not returning more than 256 characters. Pin
EdbertP12-Oct-04 14:31
EdbertP12-Oct-04 14:31 
Generalmssql : INFORMATION_SHEMA.COLUMNS DATA_TYPE problem Pin
frakk9-Oct-04 3:38
frakk9-Oct-04 3:38 
GeneralORDER BY myColumn (myVariable) Pin
David Fawn9-Oct-04 1:38
David Fawn9-Oct-04 1:38 
GeneralRe: ORDER BY myColumn (myVariable) Pin
David Fawn9-Oct-04 2:57
David Fawn9-Oct-04 2:57 
GeneralHelp! ADO, OLE DB, and MS Access Pin
CherezZaboro8-Oct-04 9:57
CherezZaboro8-Oct-04 9:57 
Urgent! Please help!

Ok. Here is the situation:
Want to use ADO to work with MS Access, BUT!
I want to make ADO to use MS Access OLE DB provider instead of the ODBC. So I'm trying to use Open method of the conenction object in ADO but:

1. if I try to pass full connection string like so:
"PROVIDER=Microsoft.Jet.OLEDB.4.0;DSN=C:\mydb.mdb; UID=; PWD=";
I get "Could not find installable ISAM" error. Then I found MSDN article that says that connection string parameters weren't allowed at open time it has to be just the provider name. Set everything else after the initial success. Ok so I try :

2. to call Open method of Connection object with just "PROVIDER=Microsoft.Jet.OLEDB.4.0" and empty user name and password. Then I get "Authentication failed." But I do not have any authentication for that db set up. Even more - what Authentication if no db was provided yet?

When I was using OLE DB directly I had "Authentication failed" issue come up one but that was solved by NOT setting properties at all - skipping (I remember empty strings didn't help). But with ADO Open method requires those two parameters for user and password which I have no idea how to skip.
So!
Confused | :confused:
How in the world do you connect to an MDB with ADO via OLEDB provider from C++ in VC 6?

Urgent! Please help!
Thank you very much!

GeneralRe: Help! ADO, OLE DB, and MS Access Pin
Vasudevan Deepak Kumar9-Oct-04 1:44
Vasudevan Deepak Kumar9-Oct-04 1:44 
QuestionHow to declare First Record of file? Pin
DotNet8-Oct-04 2:47
DotNet8-Oct-04 2:47 
AnswerRe: How to declare First Record of file? Pin
sreejith ss nair8-Oct-04 5:46
sreejith ss nair8-Oct-04 5:46 
GeneralRe: How to declare First Record of file? Pin
DotNet8-Oct-04 5:52
DotNet8-Oct-04 5:52 
GeneralRe: How to declare First Record of file? Pin
Colin Angus Mackay8-Oct-04 9:35
Colin Angus Mackay8-Oct-04 9:35 
AnswerRe: How to declare First Record of file? Pin
rajla10-Oct-04 21:02
sussrajla10-Oct-04 21:02 
GeneralRe: How to declare First Record of file? Pin
DotNet10-Oct-04 21:48
DotNet10-Oct-04 21:48 
Generalhandling errors from accessing SQL Database Pin
bekunkun7-Oct-04 23:14
bekunkun7-Oct-04 23:14 
GeneralRe: handling errors from accessing SQL Database Pin
Colin Angus Mackay8-Oct-04 1:17
Colin Angus Mackay8-Oct-04 1:17 
GeneralInvalidOperationException ADO . NET Pin
wilsonian7-Oct-04 14:06
wilsonian7-Oct-04 14:06 
GeneralTwo Tables and Datalist problem Pin
David Fawn7-Oct-04 8:18
David Fawn7-Oct-04 8:18 
GeneralRe: Two Tables and Datalist problem Pin
Colin Angus Mackay7-Oct-04 11:11
Colin Angus Mackay7-Oct-04 11:11 
GeneralRe: Two Tables and Datalist problem Pin
David Fawn8-Oct-04 4:15
David Fawn8-Oct-04 4:15 
GeneralOutput vs select Pin
Not Active7-Oct-04 7:37
mentorNot Active7-Oct-04 7:37 
GeneralRe: Output vs select Pin
Kurt _B7-Oct-04 13:00
Kurt _B7-Oct-04 13:00 
GeneralRe: Output vs select Pin
Steven Campbell8-Oct-04 7:11
Steven Campbell8-Oct-04 7:11 
GeneralRe: Output vs select Pin
Grimolfr12-Oct-04 4:43
Grimolfr12-Oct-04 4:43 

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.