>I am trying to run the sample code listed in Message ID:
570099 to get a handle on the control and shape files.
>
>When I run the program, I get an OLE Dispatch Exception Error on the connection.open method: "Data Source Name not Found and no default driver specified". I have verified that the TESTDATALOC Define Constant does point the the sample database.
Try to remove "Microsoft" from DSN:
[DSN=Visual FoxPro Database;]