what code should i write to access the files in a folder that i have stored somewhere such as desktop or c drive in my pc by clicking on a button in vb.net
Hi,
you should use the <b>OpenFileDialog </b>as describes in <a href="http://www.vbdotnetheaven.com/UploadFile/prvn_131971/OpenFileInVB11162005065226AM/OpenFileInVB.aspx">this tutorial</a>.
Last Wiki Answer Submitted: April 10, 2009 10:28 am by alessandro.panzetta9,680 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
Just keep in mind that the OpenFileDialog does not actually open any file. It just presents the user a dialog to select a file from the file system.