title: How to manipulate .dbf files using c#?
body: <p>I am trying to something like this:</p>
  
  <pre><code>        string pathFiles = Path.Combine(Application.StartupPath, "DB");
          string strconn = "Driver={Microsoft dBASE Driver (*.dbf)};DriverID=277;" +
                 "Dbq="+pathFiles+";";                      
          OdbcConnection odbconn = new OdbcConnection(strconn);
          odbconn.Open();
  </code></pre>
  
  <p>and i get this exception</p>
  
  <pre><code>ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
  </code></pre>
  
  <p>The problem is that the same code runs ok on windiws XP , visual studio 2010, office 2007 and it doesn't work on windows 7 64bit , visual studio 2008,office 2010.
  I really don't know whatvis the difference, i am new to win 7.
  Some tips would be great.Thanks.</p>