Results 1 to 14 of 14

Thread: [resolved]printing values from notepad to the printer

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    May 2007
    Posts
    38

    [resolved]printing values from notepad to the printer

    hi i was wondering if someone can help me out. i wanted to print the values stored in the notepad file to the printer when i hit the command button. thx

    Private Sub cmdlabel_Click()
    Open "database.txt" For Output As #1
    Print #1, txtnamest
    Print #1, txtaddressst
    Print #1, txtaddressst1
    Print #1, txtcityst, txtstatest, txtzipcodest
    Print #1, txtcountryst
    Close #1
    End Sub
    Last edited by likewhoa; Apr 8th, 2008 at 07:00 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width