Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
Wechat qr verification
Pawan2005
Updated:
Today at 1:28 AM
🚀 GOOGLE AI PRO 18 MONTHS ACTIVATION 🚀
sayuru bandara
Updated:
Yesterday at 5:34 PM
Pure VPN - Up to 27 Months
vgp
Updated:
Friday at 8:10 AM
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Jun 2, 2026
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
May 30, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Help
Crystal Report Error
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="lkzombie" data-source="post: 18739954" data-attributes="member: 462352"><p>[PHP]Dim report As New ReportDocument</p><p>report.PrintOptions.PrinterName = "HP Deskjet D4200 series"</p><p>report.Load(CrystalReport, OpenReportMethod.OpenReportByDefault)</p><p>report.PrintToPrinter(1, False, startpage, endpage)[/PHP]</p><p></p><p></p><p>me mama code karapu app ekaka kallak (Access db) </p><p>[PHP]Public Sub printView()</p><p></p><p> Dim frmRptViewer As New frmReportViewer</p><p> Dim rptReport As New ReportDocument</p><p> rptReport = rptName</p><p></p><p> For Each tbl In rptReport.Database.Tables</p><p> tbl.LogOnInfo.ConnectionInfo.ServerName = clsData.DatabasePath</p><p> tbl.LogOnInfo.ConnectionInfo.DatabaseName = clsData.DatabaseName</p><p> tbl.LogOnInfo.ConnectionInfo.Password = clsData.DatabasePassword</p><p> tbl.LogOnInfo.ConnectionInfo.UserID = clsData.DatabaseUser</p><p> tbl.ApplyLogOnInfo(tbl.LogOnInfo)</p><p> Next</p><p> If strFormula.Length() <> 0 And strReportID.Length() <> 0 Then</p><p> rptReport.RecordSelectionFormula = strFormula & "'" & strReportID & "'" & strSubFormula</p><p> End If</p><p></p><p> frmRptViewer.rptViewer.ReportSource = rptReport</p><p> rptReport.PrintOptions.PrinterName = "HP Deskjet D4200 series"</p><p></p><p> rptReport.PrintToPrinter(1, False, 1, 1)</p><p></p><p></p><p> frmRptViewer.MdiParent = MainForm</p><p> frmRptViewer.Show()</p><p> End Sub[/PHP]</p><p></p><p><span style="font-size: 18px"><span style="color: Red">100% working tested!!</span></span><img src="/styles/default/xenforo/smilies/default/nerd.gif" class="smilie" loading="lazy" alt=":nerd:" title="Nerd :nerd:" data-shortname=":nerd:" /></p></blockquote><p></p>
[QUOTE="lkzombie, post: 18739954, member: 462352"] [PHP]Dim report As New ReportDocument report.PrintOptions.PrinterName = "HP Deskjet D4200 series" report.Load(CrystalReport, OpenReportMethod.OpenReportByDefault) report.PrintToPrinter(1, False, startpage, endpage)[/PHP] me mama code karapu app ekaka kallak (Access db) [PHP]Public Sub printView() Dim frmRptViewer As New frmReportViewer Dim rptReport As New ReportDocument rptReport = rptName For Each tbl In rptReport.Database.Tables tbl.LogOnInfo.ConnectionInfo.ServerName = clsData.DatabasePath tbl.LogOnInfo.ConnectionInfo.DatabaseName = clsData.DatabaseName tbl.LogOnInfo.ConnectionInfo.Password = clsData.DatabasePassword tbl.LogOnInfo.ConnectionInfo.UserID = clsData.DatabaseUser tbl.ApplyLogOnInfo(tbl.LogOnInfo) Next If strFormula.Length() <> 0 And strReportID.Length() <> 0 Then rptReport.RecordSelectionFormula = strFormula & "'" & strReportID & "'" & strSubFormula End If frmRptViewer.rptViewer.ReportSource = rptReport rptReport.PrintOptions.PrinterName = "HP Deskjet D4200 series" rptReport.PrintToPrinter(1, False, 1, 1) frmRptViewer.MdiParent = MainForm frmRptViewer.Show() End Sub[/PHP] [SIZE="5"][COLOR="Red"]100% working tested!![/COLOR][/SIZE]:nerd: [/QUOTE]
Insert quotes…
Verification
Hath warak paha keeyada? (hatha wadikireema paha)
Post reply
Top
Bottom