•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 375,176 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,028 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser:
Views: 28575 | Replies: 5
![]() |
:lol: Hey...Try here if you must:http://www.a1vbcode.com/vbforums/shw...essageID=10634
•
•
Join Date: May 2005
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
if u mean displaying a report on vb this is how u go about it.
Place The crystal report control on the form,
connect it to the report file name
Dim Var as CrystalReport
set Var = CrystalReport1 'setting the variable to the name of the crystal report control
Var.WindowState = crptMaximized 'Maximizing the report to full screen
Var.Action = 1 'displaying the report
Place The crystal report control on the form,
connect it to the report file name
Dim Var as CrystalReport
set Var = CrystalReport1 'setting the variable to the name of the crystal report control
Var.WindowState = crptMaximized 'Maximizing the report to full screen
Var.Action = 1 'displaying the report
first put a Crystal Report control on your form...then
copy the code to your button click event.
CR1.DiscardSavedData = True
CR1.WindowState = crptMaximized
CR1.ReportFileName = crystal_report_file
CR1.PrintReport
note: CR1 - is the control name for the Crystal Report control i have used.
hope this will help you...good luck.
copy the code to your button click event.
CR1.DiscardSavedData = True
CR1.WindowState = crptMaximized
CR1.ReportFileName = crystal_report_file
CR1.PrintReport
note: CR1 - is the control name for the Crystal Report control i have used.
hope this will help you...good luck.
•
•
Join Date: May 2007
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
On any componend of controls (as button ..), click with righ button and choose componends, then choose crystal report, after that you will find it with others componend (or objects).
for me, i need how to add or delete a line from a report (with VB code).
The report is created, and i need to add some lines, sometimes, i need to delete sometimes. It depend on the user choice.
Can any one help me.
Thanks.
for me, i need how to add or delete a line from a report (with VB code).
The report is created, and i need to add some lines, sometimes, i need to delete sometimes. It depend on the user choice.
Can any one help me.
Thanks.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Visual Basic 4 / 5 / 6 Marketplace
- Crystal report in vb.net, printing problems (VB.NET)
- asp-crystal report printing to lineprinter (ASP)
- Loading Crystal Report (C#)
- How can i Place The crystal report control (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: How do you
- Next Thread: Help with exiting a form


Linear Mode