Loading

vb to printer?

5 posts / 0 new
Last post
renz09's picture
Offline
Joined: 10/24/2009
vb to printer?

how to connect vb on printer?

cast out's picture
Offline
Joined: 12/03/2009
:D try this code

Private Sub cmdprint_Click()
Set DataReport1.DataSource = Adodc1.Recordset
Unload Me
DataReport1.Show
End Sub

no one can beat yourself except you . :D

renz09's picture
Offline
Joined: 10/24/2009
how about in toolbar

thanks to the code....it works....ty...

how about if i used a toolbar?
what is the code?

cast out's picture
Offline
Joined: 12/03/2009
n.n

what do you mean using toolbar ?
n.n

no one can beat yourself except you . :D

Anonymous
datareport with constraints of user input

how to create a report in vb6 that will satisfies the user input?

example:
Customer table:
date name age position
100810 a 1 aa
100610 b 4 b

then i make a form with a textbox named text1.text so that user can input and search for the specific report,, Once the user will click the the command button it will show the report, but the report will only show depending on the user inputs..

example:
User input in the the textbox= "100810"
then it will only show the data of 100810 a 1 aa which is the second row

thank you!!

Pages

Add new comment

Filtered HTML

  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.