How to create foxpro database in c# fly program
-
Hi , Iam newbee in foxpro. I tryed to create foxpro database via program using the foolwing code.but it throw the error ADOX.CatalogClass dbcreate; dbcreate = new ADOX.CatalogClass(); string conPath = "Driver= {Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=C:\\Tamil\\FPDB.dbc"; con.ConnectionString = conPath; dbcreate.Create(conPath); MessageBox.Show("Sucess");
-
Hi , Iam newbee in foxpro. I tryed to create foxpro database via program using the foolwing code.but it throw the error ADOX.CatalogClass dbcreate; dbcreate = new ADOX.CatalogClass(); string conPath = "Driver= {Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=C:\\Tamil\\FPDB.dbc"; con.ConnectionString = conPath; dbcreate.Create(conPath); MessageBox.Show("Sucess");
What is the error ? Does Fox Pro support creating databases like this ? Why are you using FoxPro ?
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )