This is the code:
Public Function ObtenerFicheroInforme(ByVal psIdSesion As String, ByVal
psIdUsuario As String, _
ByVal psServicio
As String, ByVal psIdProyecto As String, _
ByVal psIdInforme
As String, ByVal pyFormato As Byte) As String
'Variables SDK Microstrategy
Dim loSesionServidor As New MSIXMLLib.DSSXMLServerSessionClass()
Dim loServidorMS As MSIXMLLib.IDSSXMLObjectServer
Dim loReportMS As MSIXMLLib.IDSSXMLReportServer
Dim loProyectoSesion As ProyectoSesion
Dim lsStrXMLResults As String = Nothing
Dim loPrueba As MSIXMLLib.IDSSXMLReportServer3
Try
loSesionServidor.ServerName = Servidor()
loSesionServidor.Port = Puerto()
loServidorMS = loSesionServidor.ObjectServer
loPrueba = loSesionServidor.ReportServer
If pyFormato = 0 Then
'XLS
Try
Dim exportparametro As String = "<ept daf=""T"" sep="","" />"
Dim loTemp As Object
Dim Objeto As Object
lsStrXMLResults = loPrueba.Export(psIdSession, psIdInforme, EnumDSSXMLExportFormat.DssXmlExportExcel, exportparametro, -1, Objeto)
Catch loException As Exception
Dim err As String
err = loException.ToString
End Try
End If
Catch
End Try
Return lsStrXMLResults
End Function
---------------------------------------------
The ultimate goal of this is to export a report in Excel Format.
Where is wroten Object as parameter of the export function, we must pass an Object like the IntWrapper Java.
There is any Object in VB .Net that simulates the same function that IntWrapper?
Where we could find info about export report to Excel Format?
Thanks.