
20/06/2005, 11:43
|
| | Fecha de Ingreso: abril-2005
Mensajes: 93
Antigüedad: 19 años, 10 meses Puntos: 0 | |
Generar Pdf Hola, tengo un formulario llamado form5 donde almaceno datos, y utilizo la libreria PDFCreatorPilot2. El problema que tengo es que no se donde poner que lo que escriba en el archivo pdf sea el formulario form5.
Tengo escrito este codigo:
Dim PDF As PDFCreatorPilot2.piPDFDocument
' create pdf library object
PDF = New PDFCreatorPilot2.piPDFDocument
' initialize PDF Engine
PDF.StartEngine("demo@demo", "demo")
' set filename
PDF.FileName = "TestVB.PDF"
PDF.AutoLaunch = True ' auto-open generated pdf document
' start document generation
PDF.BeginDoc()
' draw "HELLO, PDF" message on the current PDF page
PDF.PDFPAGE_SetActiveFont("Verdana", True, False, False, False, 14, 0)
PDF.PDFPAGE_TextOut(10, 20, 0, "HELLO, PDF!")
' finalize document generation
PDF.EndDoc()
Ahora me sale en el pdf "HELLO, PDF!" y yo quiero que salga todo lo que hay en form5 |