private void button1_Click(object sender, EventArgs e) { openFileDialog1.Filter = "PDF Files (*.pdf)|*.pdf"; if (openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK) { textBox1.Text = openFileDialog1.FileName; Process.Start(openFileDialog1.FileName); } }
If this post helps you mark it as answer Thanks
Mark This Response as Answer -- Chandu http://www.dotnetfunda.com/images/dnfmvp.gif
Login to post response