Visual Basic - Ayuda VB + CRYSTAL + PDF

Life is soft - evento anual de software empresarial
 
Vista:

Ayuda VB + CRYSTAL + PDF

Publicado por Dani (6 intervenciones) el 19/04/2007 17:30:27
Desde ya, gracias a todos.

Dispongo del siguiente código:

ret = SetDefaultPrinter("Acrobat Distiller")

LISTADO.SelectionFormula = ""
LISTADO.ReportFileName = PATH_R + "reporte.rpt"
LISTADO.SelectionFormula = "Consulta y Parametros"
LISTADO.Destination = crptToPrinter
LISTADO.PrinterName = "Acrobat PDFWriter"
LISTADO.PrinterDriver = "Acrobat PDFWriter"
'LISTADO.PrinterPort = Printer.Port
LISTADO.Connect = ABR_DB
LISTADO.Action = 1

Pues resulta que me crea el PDF perfectamente, pero cuando se accede por terminal server, al usuario le carga la aplicacion VB, y al generar un PDF me pide el nombre del PDF a guardar. ¿Sabrian decirme el por qué?

MUCHAS GRACIAS
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Ayuda VB + CRYSTAL + PDF

Publicado por ivan (1039 intervenciones) el 20/04/2007 02:39:35
seguramente porque no ha inicializado bien el formulario, escribe LISTADO.inicializar y verás que facil se soluciona tu problema
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar