VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Crystal Report Engine 6.0 ( cpeaut32.dll ) - example of using different methods( you can eliminate

Gabriel  (3 Submissions)   Miscellaneous   VB 6.0   Unknown Difficulty   Sun 4th March 2001   Mon 8th February 2021

Crystal Report Engine 6.0 ( cpeaut32.dll ) - example of using different methods( you can eliminate with this class the bug of Crsytal ocx

API Declarations


' add reference to cpeauto32.dll and msrdo20.dll
Dim sServerName As String
Dim sDatabaseName As String
Dim sUID As String
Dim sPWD As String

Dim crystalSection As CRPEAuto.Section
Dim crystalSections As CRPEAuto.Sections
Dim crystalSectionOption As CRPEAuto.SectionOptions

Private CR_ReportObjects As CRPEAuto.ReportObjects
Private CR_Sections As CRPEAuto.Sections
Private CR_Section As CRPEAuto.Section
Private CR_SubObject As CRPEAuto.SubreportObject
Private CR_SubReport As CRPEAuto.Report
Private CR_Db As CRPEAuto.Database
Private CR_DbTables As CRPEAuto.DatabaseTables
Private CR_DbTable As CRPEAuto.DatabaseTable

Dim stProcedure As CRPEAuto.DatabaseParameter
Dim stProcedures As CRPEAuto.DatabaseParameters
Dim crystalApplication As CRPEAuto.Application
Dim crystalReport As CRPEAuto.Report
Dim db As CRPEAuto.Database
Dim dbtables As CRPEAuto.DatabaseTables
Dim dbTable As CRPEAuto.DatabaseTable
Dim crystalFormFieldDefns As CRPEAuto.FormulaFieldDefinitions
Dim crystalFormFieldDefn As CRPEAuto.FormulaFieldDefinition
Private mvarReportName As String 'the name of the report
Private mvarStoredProcedureName As rdoQuery 'stored procedure name

' comment : main.bas

Public Const WS_MINIMIZE = 536870912 ' Make a window of minimum size.
Public Const WS_VISIBLE = 268435456 ' Make a window that is visible when it first appears (for overlapping and pop-up windows).
Public Const WS_DISABLED = 134217728 'Make a window that is disabled when it first appears.
Public Const WS_CLIPSIBLINGS = 67108864 ' Clip child windows with respect to one another.
Public Const WS_CLIPCHILDREN = 33554432 'Exclude the area occupied by child windows when drawing inside the parent window.
Public Const WS_MAXIMIZE = 16777216 ' Make a window of maximum size.
Public Const WS_CAPTION = 12582912 ' Make a window that includes a title bar.
Public Const WS_BORDER = 8388608 ' Make a window that includes a border.
Public Const WS_DLGFRAME = 4194304 'Make a window that has a double border but no title.
Public Const WS_VSCROLL = 2097152 'Make a window that includes a vertical scroll bar.
Public Const WS_HSCROLL = 1048576 'Make a window that includes a horizontal scroll bar.
Public Const WS_SYSMENU = 524288 ' Include the system menu box.
Public Const WS_THICKFRAME = 262144 ' Include the thick frame that can be used to size the window.
Public Const WS_MINIMIZEBOX = 131072 'Include the minimize box.
Public Const WS_MAXIMIZEBOX = 65536 ' Include the maximize box.
Public Const CW_USEDFAULT = -32768 ' Assign the child window the default horizontal and vertical position, and the default height and width.
Public Const ErrorFileNotFound = 20507

Rate Crystal Report Engine 6.0 ( cpeaut32.dll ) - example of using different methods( you can eliminate (1(1 Vote))
Crystal Report Engine 6.0 ( cpeaut32.dll ) - example of using different methods( you can eliminate .bas

Crystal Report Engine 6.0 ( cpeaut32.dll ) - example of using different methods( you can eliminate Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters