Connecting Tech Pros Worldwide Forums | Help | Site Map

code fro print

Newbie
 
Join Date: Feb 2007
Posts: 13
#1: Feb 10 '07
in a visual basic form i give one command box.from this command i want attach my printer.plz help me

Moderator
 
Join Date: Oct 2006
Location: Australia
Posts: 7,748
#2: Feb 11 '07

re: code fro print


Quote:

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?
Newbie
 
Join Date: Feb 2007
Posts: 13
#3: Feb 13 '07

re: code fro print


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


Quote:

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?

Moderator
 
Join Date: Oct 2006
Location: Australia
Posts: 7,748
#4: Feb 13 '07

re: code fro print


Quote:

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.
Reply