Where can I find the Form for generating report in VB 2008.. Like DataReport in VB6.0
Printable View
Where can I find the Form for generating report in VB 2008.. Like DataReport in VB6.0
If you are using Express then there are none. You need Standard or above.
In VB 2008 you would use SQL Server Reporting Services. Add a new item to your project and select a Report or Report Wizard. This will add an RDLC file to your project, so you can then design your report. You then add a MicrosoftReportViewer control to your form and select your RDLC file as its LocalReport. You'll also need to design a typed DataSet to use as a data source for the report.
Hmmm... forgot about that. There is an add-in for VWD Express 2005 that may work with VWD Express 2008 too. I would think that if you designed a report in VWD you could then import it into VB Express.Quote:
Originally Posted by RobDog888
Yes, I believe you may be able to add it in if you download and install VWD but I havent done it so I cant say 100% that it works or what kind of IDE support it provides if any.
You can download the add-in from here. I'm not sure that it will work with VWD 2008 Express but you can install 2005 without a problem. You should then be able to Add Existing Item to import the RDLC file into your VB Express project. I say "should" and I mean "should". Fingers crossed.
But it says ...
Quote:
but without support for Windows Forms applications
Hmmm... again. I give up then. I actually thought that the ReportViewer control was part of the .NET Framework proper but it's actually in its own assembly. I guess the assembly containing the WebForms control gets installed with that add-in but not the WinForms version. Just call me the wild goose. :(
Thanks for both of you masters.... har.har. I think I'll just use the PrintForm functions... but again.... Im new in VB 2008 i dont know the code...:D :D :D :D :D :D :D how can i print the form in VB 2008?? in vb 6.0 im just using PrintForm... or FormPrint... Thanks
Just a suggestion, but you could:
1) Collect all the data you want to display/report/print.
2) Create an HTML file where you output all the data into the page.
3) "Run" the web page, thus causing IE to load it.
Users can then print the data if they like using IE's print button.
It's just a suggestion. You don't have to use it. I just thought i'd throw it out there for you to consider. ;)
.