title: How to publish my windows form application with database
body: <p>I am developing Winform application using vb.net and MS Access in Viusal Studio 2012.
  I completed my application and now i just wanted to publish it. In my project Solution I have forms and rpt files (crystal reports). I use the following connection string to my database which is not included to my project solution :</p>
  
  <pre><code>     conn.ConnectionString = "provider=Microsoft.Jet.OLEDB.4.0; Data Source=" &amp; Application.StartupPath &amp; "\tblcmplist.mdb"
  </code></pre>
  
  <p>Now the database should be there in folder where my application starts. If I run from the bin folder it works but if i publish my application by right clicking solution->publish and if i run from the published location i am getting error like the database file is missing.</p>
  
  <p>I copied my database file to that startup folder of my application still the error occurs. What is the solution plz help me.</p>
  
  <p>And one more thing I had to ask I am using crystal reports in my application. I installed CRforVS_13_0_5 developer version and I created reports in visual studio and I can view the report it works fine. But if I run the application in clients machin it gives the error could not find crystal report blah blah... what should i install in my client's pc to view the report ? Plz help me Thank you.... </p>