Jack Straub
5/22/2002 7:31:00 PM
I have an application in which I connect to an Access
data base via .net/ODBC. The problem is that after
opening the connection setting AllowDrop in any component
causes a malfunction.
The stripped-down ODBC code looks like this:
String* connStr = "Driver={Microsoft Access Driver
(*.mdb)};DBQ=dsa.mdb";
connection_ = new OdbcConnection();
connection_->ConnectionString = connStr;
connection_->Open();
And the error message, which occurs on Form
instantiation, is this:
DragDrop registration failed
at System.Windows.Forms.Control.SetAcceptDrops(Boolean
accept)
. . .
Any ideas?