hi everyone i'm using vb6 and crystal 8.0. i'm beginer of crystal rport 8. my problem is how to set the papersize, paperorientation, papermargin, printerdriver and prntername in visual basic using crystal report v8.0 and ofcourse to get the reportsource :)...? i really really really appreciate your help.. thanks a lot in advance. :)
AtzOpen report. Goto File--> Printer Setup and set the properties.
Madhivanan|||i downloaded some sample code about crystal report 8... "SimpleReport"
when i load the file the error message will appear "Error during load. "C:\SimpleReport\CrystalReport1.log' for details'" second error will appear "CrystalReport1.dsr could not be loaded"
this is the top code in the program :
*******************START HERE******************
Option Explicit
Dim m_Report As New CrystalReport1 ' Create a new instance of the Crystal Report
Dim m_RS As New ADOR.Recordset ' Create and ADO record set
*******************END HERE******************
when i run the my program there is an error message "Compile error: User-defined type not defined" and it will hight light the m_Report As New CrystalReport1...
actually when i copy this code from someone then when i rewrite the sentence "Dim m_Report As New" there is CrystalReport1 options.. how can i solve this program? thanks
No comments:
Post a Comment