对话框问题,谢谢
用对话框OpenFileDialog 怎么获得文件夹路径呀!谢谢
openFileDialog1.InitialDirectory=Application.ExecutablePath;
openFileDialog1.Filter="word Files(*.doc)|*.doc|All Files(*.*)|*.*";
if (openFileDialog1.ShowDialog()==DialogResult.OK )
{
theFile=openFileDialog1.FileName;
}