473,608 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A Very Simple Report

Hello,

I am writing a small Winforms app in VB.NET.

The app will be given away with a mechanical laboratory device. The app
performs a couple of simple calculations... and has to output a
certificate style report. The report will contain largely static
information, together with some variable data.. namely a couple of
variable results.

The report would need to be able to be print previewed, and have good
formatting.
I have looked at all of the various dotnet reporting components
available, and they are all overkill for my requirement (& too
expensive).

Can anyone think of a solution, or does anyone know of a simple
component ?
Thanks !

Oct 20 '05 #1
8 1201
You can use the classes from System.Drawing. Printing in association with the
PrintDialog and PrintPreviewDia log, these are are part of the .NET
Framework. There's no visual designer for creating reports and the code
isn't that pretty but it'll do the job.

--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
http://msmvps.com/windsor/

"ecurb" <br**********@p aradise.net.nz> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
Hello,

I am writing a small Winforms app in VB.NET.

The app will be given away with a mechanical laboratory device. The app
performs a couple of simple calculations... and has to output a
certificate style report. The report will contain largely static
information, together with some variable data.. namely a couple of
variable results.

The report would need to be able to be print previewed, and have good
formatting.
I have looked at all of the various dotnet reporting components
available, and they are all overkill for my requirement (& too
expensive).

Can anyone think of a solution, or does anyone know of a simple
component ?
Thanks !

Oct 20 '05 #2
Thanks Rob, I will have a good look at that.

Oct 20 '05 #3
Where do you stored the data for your application or do you?

Sql Server, MS Access, MySql?

Yosh

"ecurb" <br**********@p aradise.net.nz> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
Hello,

I am writing a small Winforms app in VB.NET.

The app will be given away with a mechanical laboratory device. The app
performs a couple of simple calculations... and has to output a
certificate style report. The report will contain largely static
information, together with some variable data.. namely a couple of
variable results.

The report would need to be able to be print previewed, and have good
formatting.
I have looked at all of the various dotnet reporting components
available, and they are all overkill for my requirement (& too
expensive).

Can anyone think of a solution, or does anyone know of a simple
component ?
Thanks !

Oct 20 '05 #4
Hi Yosh,
Thats the thing.. this report is so simple it doesn't read a
database...
It will simple have some static text, and a perhaps two numbers that
area variable.

Ideally, I need some way of :
1) A WYSIWYG type report designer to define the report template (ie.
defining the formatted text and placeholders for the "parameter"
data).
2) Ability to somehow pass paramaters to above definition from VB.NET
code at runtime
3) Be able to print preview & print the report.

I am sure most of the off the shelf report components could do this..
but like I say.. that seems like overkill.

Thanks for replying Yosh. Any ideas ?

Oct 20 '05 #5


Does your version of VS.Net come with Crystal Reports? - Try adding a
new item to the project and see if Crystal Report is available.

It gives a nice interface for designing basic reports.
Not too sure about printing - haven't got that far yet, sorry.

hth,
Alan.

Oct 20 '05 #6
Hey thanks for that Alan.. I tried it & Crystal is there.. I had no
idea !
Just trying to get my head around how to use it now.

Oct 20 '05 #7


Does your version of VS.Net come with Crystal Reports? - Try adding a
new item to the project and see if Crystal Report is available.

It gives a nice interface for designing basic reports.
Not too sure about printing - haven't got that far yet, sorry.

hth,
Alan.

Nov 22 '05 #8
Hey thanks for that Alan.. I tried it & Crystal is there.. I had no
idea !
Just trying to get my head around how to use it now.

Nov 22 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1847
by: Lloyd Stevens | last post by:
CustomerTable CustomerTarrifTable TarrifTable WarrantTable *CustomerID CustomerID ProductName *WarrantID BoatType *CustomerTarrifID TarrifRate WarrantDate CustomerName TarrifNo *TarrifNo TarrifNo QuantitySold quantityPurchas CIF CIF Relationships CustomerTable to CustomerTarrifTable = onetomany
15
2003
by: Richard Hollenbeck | last post by:
For example, one college course has only 24 students in it, but the following code says there are zero As, 20 Bs, 16 Cs, 4 Ds, and 8 Fs. When it prints it then says 0 As, 40 Bs, 32 Cs, 8 Ds, and 16 Fs. The actual number it should show is zero As, 10 Bs, 8 Cs, 2 Ds, and 4 Fs. I can't find anything wrong with the code. Here it is: Option Compare Database Option Explicit 'global variables
7
2248
by: Sam | last post by:
I have a Microsoft Access report which I have automated using C#. When the report opens (via DoCmd.OpenReport) I am confronted with several prompts for parameters (example: "Please enter today's date"). What I would like to do is handle each and every one of these prompts programmatically with C#. Modifying the original Access report (with its related queries, etc.) is not an option. I just want to send values from my C# app to the MS...
0
1092
by: Bonj | last post by:
I'm mainly experienced in VB6, haven't really got to grips with .NET very much. I'd like to create, more as a practice project than anything, a simple ASP.NET web application that will just do some fairly simple tasks, such as displaying a crystal report as a chart, changing its dataset based on a button clicked, etc. I want to make it work in C# as it seems to me to be the best .NET language. However I don't really have any idea where to...
0
1731
by: csharpnb | last post by:
Hi all, I've been studying C#/.NET 2.0 for a couple of hours a week for the past couple of weeks. I feel the need to build a somewhat simple Windows application that would accomplish a somewhat simple task, in order to put my knowledge to test, and brush it up further. Besides, this application, if successfully built, could find its use in my everyday work too, which helps keep me motivated. I'd appreciate some ideas on how to design...
2
4144
by: Brad | last post by:
Where is the connection string stored for a simple Crystal Report Application. What I am trying to do is: 1. Create a simple report from a Firebird database using an ODBC connection 2. Need to compile and deploy to a production environment 3. How to set the data connection so it is can connect to the production database which is different to the dev database...this must be able to be done on the production system after compiling on the...
1
11010
by: Rodo | last post by:
Hi all, I'm trying to generate a simple crystal report without a database. Several people mention the use of a dataset. Someone mention in a msdn forum that I could use the SetParameterValue to easily fill the fields in a simple report. So. I looked at datasets and I think I'll try this way first. I'm pretty new and I still don't understand much of this stuff. So. here is what I did . and it is not working :-(. 1.-create new windows...
1
3337
by: halaor | last post by:
I have my data filled in a DataTable, generated on runtime. I have a DataSet, into this DataSet i add my DataTable dataSet1.Tables.Add(datatable); Now I would like to show this simple table as a Report in a ReportViewer, so that user can print it out. In the Report.rdlc, i inserted from the Toolbox a Table table1.
1
5062
by: waltnixon | last post by:
I've got an MS Access query which runs fine when double clicked and returns all of the rows in a test database I'm building. I've set up a multi group report based on the query. I immediately began getting the "Enter Parameter Value" dialog and it was asking for the query by its name "sel_report_data" whenever I tried to run or preview the report. To troubleshoot the problem, I selected the query in the database window, hit the "New...
0
8003
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8478
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8341
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6817
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
3962
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4025
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2474
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1598
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1331
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.