473,480 Members | 2,333 Online
Bytes | Software Development & Data Engineering Community
Create 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 1192
You can use the classes from System.Drawing.Printing in association with the
PrintDialog and PrintPreviewDialog, 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**********@paradise.net.nz> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.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**********@paradise.net.nz> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.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
1834
by: Lloyd Stevens | last post by:
CustomerTable CustomerTarrifTable TarrifTable WarrantTable *CustomerID CustomerID ProductName *WarrantID BoatType *CustomerTarrifID TarrifRate WarrantDate CustomerName ...
15
1978
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...
7
2241
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...
0
1083
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...
0
1723
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...
2
4125
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...
1
10998
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...
1
3332
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...
1
5036
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...
0
7051
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6915
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...
0
7054
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6750
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6993
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...
1
4794
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1307
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 ...
1
567
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
193
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...

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.