shoooot
asked on
Create a mdb database DSN with C...
Hello all,
I'd like to create DSN not by control panell (ODBC32) but programatically, is it possible?
I read something about a windows funciton:
ConfigDSN(...)
but I don't know how to use it, and which .h I have to include to use it. Any idea?
Thx
MARC
I'd like to create DSN not by control panell (ODBC32) but programatically, is it possible?
I read something about a windows funciton:
ConfigDSN(...)
but I don't know how to use it, and which .h I have to include to use it. Any idea?
Thx
MARC
>>but I don't know how to use it, and which .h I have to include to use it. Any idea?
Have you ever heard of the MSDN Library? It's in there.
Have you ever heard of the MSDN Library? It's in there.
ASKER
Yes I know MSDN, but is no way to find which include needs the function that is displayed in the help at that time...
Or I didn't see it.
MARC
Or I didn't see it.
MARC
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SQLConfigDataSource(NULL,O
"DSN=New Excel Data Source\0"
"Description=New Excel Data Source\0"
"FileType=Excel\0"
"DataDirectory=C:\\EXCELDI
"MaxScanRows=20\0");