ok,
l'errore parla da solo, quella impostazione non è quella che comprende excel, sinceramente io non la conoscevo come classe e quindi non l'ho mai usata.
Ti conviene usare l'enum preposto a questo, ovvero "ExportFormatType ", magari con un codice di questo tipo:
Dim tipo As ExportFormatType = CType(esportaCombo.SelectedItem,ExportFormatType)
Select Case (tipo)
Case ExportFormatType.CrystalReport
estensione = ".rpt"
Case ExportFormatType.Excel, ExportFormatType.ExcelRecord
estensione = ".xls"
Case ExportFormatType.HTML32, ExportFormatType.HTML40
estensione = ".html"
Case ExportFormatType.NoFormat
estensione = ".txt"
Case ExportFormatType.PortableDocFormat
estensione = ".pdf"
Case ExportFormatType.RichText
estensione = ".rtf"
Case ExportFormatType.WordForWindows
estensione = ".doc"
End Select
Dim fileName As String = Application.ExecutablePath + estensione
report.ExportToDisk(tipo, fileName)
ovviamente tu hai che ti scelgono il tipo come stringa dalla combo, ma il concetto è facilmente portabile alla tua situazione...
ciao.
Matteo Raumer
[MCAD .net]
http://blogs.dotnethell.it/freeteo