Dim fdlg As System.Windows.Forms.OpenFileDialog = New OpenFileDialog fdlg.Title = "Escolha a localização para a gravação do arquivo excel" fdlg.InitialDirectory = "c:\" fdlg.Filter = "Excel Files (*.xls)|*.xls|Excel Files (*.xlsx)|*.xlsx" fdlg.FilterIndex = 2 'fdlg.DefaultExt() = True fdlg.RestoreDirectory = True If fdlg.ShowDialog() = DialogResult.OK Then sFile = fdlg.FileName End If
It seams to work, but the browse window, does not appear. After sometime i realized that it opens, but behind the bowser, and it does not work since the buttons and windows does not appear.

New Topic/Question
Reply




MultiQuote





|