code fro print

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sid1761983
    New Member
    • Feb 2007
    • 13

    #1

    code fro print

    in a visual basic form i give one command box.from this command i want attach my printer.plz help me
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Originally posted by sid1761983
    in a visual basic form i give one command box.from this command i want attach my printer.plz help me
    Can you try to explain a bit more clearly what you want the button to do? Do you mean that you want to print the form, or what?

    Comment

    • sid1761983
      New Member
      • Feb 2007
      • 13

      #3
      ya its right, from this command box i aatach my current form .


      Originally posted by Killer42
      Can you try to explain a bit more clearly what you want the button to do? Do you mean that you want to print the form, or what?

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Originally posted by sid1761983
        ya its right, from this command box i aatach my current form .
        Sorry, but "aatach (attach?) my current form" doesn't make any sense to me.

        But based on the "ya its right", I'm going to guess that you want to use a command button to print (not "attach") the current form. In which case, I'd suggest that you try the statement Me.PrintForm.

        Comment

        Working...