caramoan tour package

caramoan tour package

Author Topic: Print Preview code and Print code  (Read 381 times)

Offline mayo

  • CR2032 Battery
  • **
  • Posts: 36
  • Pogi/Ganda Points: 0
  • Gender: Female
Print Preview code and Print code
« on: June 15, 2010, 05:23:21 PM »
is there anyone there who can help me or suggest the code on how to make a print preview in vb .net?

and then print the document?

we have a project, build using vb .net 2008 express edition and call it 'SYLLABUS GENERATOR.'

overview of the system:
we are the one who patterned the templates that supposed to be a fixed templates like in power point.

all you have to do is to input data and save it.

we used crystal report to get the input data and arranged it according to what a SYLLABUS should look like.

but unfortunately, we don't know how to print preview this data when the user click the 'PRINT PREVIEW' button in our system

and 'PRINT' button..


..we need to finish the system asap..

can somebody help us to finish that matter ..


thanks a lot!!! :]
Everyday you seems to find a way to make me go crazy.
I just can't understand, but let me tell you one thing
"YOU make me wanna sing!."

Philippine Electronics Forum

Print Preview code and Print code
« on: June 15, 2010, 05:23:21 PM »

Offline Kaizer03

  • Nuclear Reactor
  • ****
  • Posts: 4847
  • Pogi/Ganda Points: 225
  • C#<-->Android<-->Java
    • PhilRobotics
Re: Print Preview code and Print code
« Reply #1 on: June 15, 2010, 05:44:33 PM »
Use PrintDocument, PrintPreviewControl, PrintDialog Class

check your toolbox,


http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument%28VS.71%29.aspx
Lend a hand for those who are in need!=)

Stop Hijacking!=) More Technical Posts!=)
 ;)

Kaizer Killer EX Pre-Alpha

Philippine Electronics Forum

Re: Print Preview code and Print code
« Reply #1 on: June 15, 2010, 05:44:33 PM »

Offline mayo

  • CR2032 Battery
  • **
  • Posts: 36
  • Pogi/Ganda Points: 0
  • Gender: Female
Re: Print Preview code and Print code
« Reply #2 on: June 15, 2010, 06:01:47 PM »
ok thanks for the info!!

i'll be exploring as soon as i'll have time :]

so it's possible to view the data in vb .net using crystal report object.

uhmm.. how can we integrate the crystal report 2008 in vb .net 2008 express edition?

when we try to 'add item' (form, splash screen, etc) there's no crystal report object in the choices :] thanks
Everyday you seems to find a way to make me go crazy.
I just can't understand, but let me tell you one thing
"YOU make me wanna sing!."

Philippine Electronics Forum

Re: Print Preview code and Print code
« Reply #2 on: June 15, 2010, 06:01:47 PM »

Offline ricnew2

  • CR2032 Battery
  • **
  • Posts: 39
  • Pogi/Ganda Points: 1
  • Gender: Male
  • Ther's no rebound.
Re: Print Preview code and Print code
« Reply #3 on: June 15, 2010, 07:54:34 PM »
Crystal report is in your toolbox. you can drag them to use them. to view and print your report.

Philippine Electronics Forum

Re: Print Preview code and Print code
« Reply #3 on: June 15, 2010, 07:54:34 PM »

Offline mayo

  • CR2032 Battery
  • **
  • Posts: 36
  • Pogi/Ganda Points: 0
  • Gender: Female
Re: Print Preview code and Print code
« Reply #4 on: June 16, 2010, 09:05:48 AM »
ah ok po!! thanks alot. i'll explore my toolbar later :] after installing the vb .net and c.r
Everyday you seems to find a way to make me go crazy.
I just can't understand, but let me tell you one thing
"YOU make me wanna sing!."

Philippine Electronics Forum

Re: Print Preview code and Print code
« Reply #4 on: June 16, 2010, 09:05:48 AM »

 

Privacy Policy

Contact Us: elabph@yahoo.com