Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Mar 2005
    Gender
    Female
    Posts
    375

    Default VB - unsaon pag print...???


    Guys, unsaon pag print sa data in the datagrid help mo beh.... or is there any way nga ma import ni siya to any text editor para ma print siya....

  2. #2

    Default Re: VB - unsaon pag print...???

    Create a loop which will be used as counters for your records in the Grid then Use the print function to output the data to your printer

  3. #3

    Default Re: VB - unsaon pag print...???

    The Basics

    Unsurprisingly, Visual Basic provides us with a Printer and Printers object which is available at runtime to all VB apps. The Printers object gives us information about all the available printers installed on the system. The Printer object controls all the output to the active printer, and retrieve information such as the printer name.

    First of all, lets look at the basic steps involved in printing in VB. First off, we send all the data we want to print using the Print method. For example, if we wanted to print "Hello", we would call

    Printer.Print "Hello"

    Each time you call the Print method, your output will move to the next line. So,

    Printer.Print "Hello"
    Printer.Print "Goodbye!"

    would appear as

    Hello
    Goodbye!

    on paper.

    If you want to output a new page, you simply call the NewPage method:

    Printer.NewPage

    Once you have finished outputting the data to the printer, you need to call the EndDoc method:

    Printer.EndDoc

    Windows will then spool your document to the printer.


  4.    Advertisement

Similar Threads

 
  1. Help! Unsaon pag PATAMBOK?
    By robearthFX in forum Fitness & Health
    Replies: 598
    Last Post: 07-28-2011, 09:33 AM
  2. unsaon pag web host???
    By HLadik2 in forum Computer Hardware
    Replies: 9
    Last Post: 10-23-2009, 10:57 PM
  3. MOVED: VB - unsaon pag print...???
    By BadDudes in forum Software & Games (Old)
    Replies: 0
    Last Post: 05-09-2006, 06:46 AM
  4. unsaon pag pa enlarge sa image nga gi attached sa thread
    By dawn runner in forum Support Center
    Replies: 6
    Last Post: 03-26-2006, 01:10 AM
  5. Unsaon pag convert sa VHS to DVD?
    By s.n.m.p. in forum Websites & Multimedia
    Replies: 10
    Last Post: 09-17-2005, 09:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top