473,396 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Print on the Form

Hi,

The Print statement in VB used to print text on the Form. Is there an equivalent in VB.NET
Nov 20 '05 #1
6 5091
http://msdn.microsoft.com/library/de...e/list/ado.asp
Regards - OHM#
On**********@BTInternet.com
"Prateek" <hi@amy.com> wrote in message news:el**************@TK2MSFTNGP09.phx.gbl...
Hi,

The Print statement in VB used to print text on the Form. Is there an equivalent in VB.NET
Nov 20 '05 #2
This link concerns ADO. Nothing about print statement here.
"One Handed Man [ OHM# ]" <OneHandedMan@&REMOVE&TO%MAIL%MEBTInternet.com> wrote in message news:e1**************@tk2msftngp13.phx.gbl...
http://msdn.microsoft.com/library/de...e/list/ado.asp
Regards - OHM#
On**********@BTInternet.com
"Prateek" <hi@amy.com> wrote in message news:el**************@TK2MSFTNGP09.phx.gbl...
Hi,

The Print statement in VB used to print text on the Form. Is there an equivalent in VB.NET
Nov 20 '05 #3
found it..
DrawString method of Graphics object...

"Prateek" <hi@amy.com> wrote in message news:el**************@TK2MSFTNGP09.phx.gbl...
Hi,

The Print statement in VB used to print text on the Form. Is there an equivalent in VB.NET
Nov 20 '05 #4
Why not just display your text in a label on the form
using something along the lines of:

me.lblMyLabel.text = "Hello World"

Regards Steve
Nov 20 '05 #5
* "Prateek" <hi@amy.com> scripsit:
The Print statement in VB used to print text on the Form. Is there an equivalent in VB.NET


Why not use a label control?

- or -

\\\
Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
e.Graphics.DrawString("Hello World", Me.Font, Brushes.Red, 10, 10)
End Sub
///

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #6
Sorry my mistake

http://msdn.microsoft.com/msdnmag/is...ASP?frame=true
Regards - OHM#
On**********@BTInternet.com
"Prateek" <hi@amy.com> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl...
This link concerns ADO. Nothing about print statement here.
"One Handed Man [ OHM# ]" <OneHandedMan@&REMOVE&TO%MAIL%MEBTInternet.com> wrote in message news:e1**************@tk2msftngp13.phx.gbl...
http://msdn.microsoft.com/library/de...e/list/ado.asp
Regards - OHM#
On**********@BTInternet.com
"Prateek" <hi@amy.com> wrote in message news:el**************@TK2MSFTNGP09.phx.gbl...
Hi,

The Print statement in VB used to print text on the Form. Is there an equivalent in VB.NET
Nov 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Pat | last post by:
I would like to send the Print Preview of a MS Access form to a Snapshot file. The form contains an OLE graph. BACKGROUND A snapshot of a report is possible. If I could I would use a report to...
0
by: Malcolm Cook | last post by:
I've discovered: Using "File > Print Preview" in a form's datasheet view with a server Filter crashes access after previewing... ....that is, unless ServerFilterByForm has been turned off...
2
by: Paul Mendez | last post by:
I have a form that consists of 150 records and is still growing. there are times when I want to print a certain record of the form, say record 12. I go to file --> print and choose the page number...
5
by: Darren DeCoste | last post by:
I have an access project with a Form that has a Command button to print the current record. I would like to Print the record 3 times, changing a text field on each print. The standard code of...
3
by: sea | last post by:
I need to be able to print the current form because the form has an embedded object of a .gif file, so report will not work -- does anyone know the way to do this? I tried some code, not sure what...
5
by: Raman | last post by:
Hello friends, I want to print an ID card. I have one Windows Form that contains front and back side. The printer is printing both front and back side at a time. I am trying to send both sides...
2
by: Rodo | last post by:
Hi all, We have a "testing report" form at work that we fill with data (typing for now). The form has a table, other lines and a company logo. I can make a windows form that will get the data...
6
tdw
by: tdw | last post by:
the View Orders form in my Access database has a Print button on it. It has other buttons too, like Edit etc. These buttons used to be at the bottom of the form laid out horizontally, but this was...
12
by: Studiotyphoon | last post by:
Hi, I have report which I need to print 3 times, but would like to have the following headings Customer Copy - Print 1 Accounts Copy - Print 2 File Copy -Print 3 I created a macro to...
11
by: JWest46088 | last post by:
I'm having difficulty trying to figure out how to print a text file from a hash table one line at a time. I have the text file read into the hash table and can print the text file all at once, but I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.