Tuesday, June 28, 2005

To open file from common dialogue control in VB

Code to open file from common dialogue control in VB

Dim PlaceToSave As String
Dim strTemp As String
CommonDialog1.DialogTitle = "Open Task flow model..."
CommonDialog1.Filter = "Excel File (*.xls)*.xls"
CommonDialog1.ShowOpen
g_txt_taskflowmodel.Text = CommonDialog1.FileName


Comments Pls
Credits : Shreejith G

0 Comments:

Post a Comment

<< Home