Ver Mensaje Individual
  #9  
Antiguo 26-11-2008
Avatar de felipe88
[felipe88] felipe88 is offline
Miembro Premium
 
Registrado: may 2007
Ubicación: Mi Valle del Cauca... Colombia!!!
Posts: 1.120
Reputación: 19
felipe88 Va por buen camino
Hola,

He tomado este ejemplo de otro post para instanciar el control y llamar el reporte:
Código Delphi [-]
var rept: OleVariant;
begin
   rept := CreateOleObject('ReportMan.ReportManX');
   rept.Preview := true;
   rept.ShowProgress := false;
   rept.ShowPrintDialog:= false;
   rept.Filename := 'C:\Prueba\Reportes\prueba.rep';
   rept.execute;
Pero aún asi obtengo el mismo error:
Cita:
Project Prueba1.exe raised exception class EFOpenError with message 'Cannot open file "C:\Prueba\Reportes\prueba.rep"'
¿Alguien podria ayudarme con esto?
Responder Con Cita