UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
July
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Sponsored Links
Latest Postings
Latest Reviews
Topic Options
Rate This Topic
#17742 - 11/05/02 09:28 PM Printing Multi-Lline Text Boxes
BackSlash Offline
UGN's Resident Homo

Registered: 03/16/02
Posts: 599
Loc: TN
i'm trying to print the text from a multi line text box. i tried Printer.Print Text1.Text however, that just printed the first line and stopped. is there a simple way that i am overlooking to get it to print the entire contents? let me know what i'm doing wrong
_________________________
"It's better to burn out, than to fade away."

Top
Sponsored Links
      
#17743 - 11/06/02 07:51 PM Re: Printing Multi-Lline Text Boxes
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
I have no frickin clue. I would think that would work. However, you can try a cheap fix.

Data = Text1.Text
Printer.Print Data

If that doesn't work, try this:

Lines = Split(Text1.Text, vbcrlf)
For X = 0 To UBound(Lines)
Printer.Print Lines(X)
Next
_________________________
Domain Registration, Hosting, Management
http://www.dollardns.net

Top
#17744 - 11/07/02 01:11 AM Re: Printing Multi-Lline Text Boxes
BackSlash Offline
UGN's Resident Homo

Registered: 03/16/02
Posts: 599
Loc: TN
the first one gives me the same result, just prints one line and stops, the second one won't work, it doesn't recognize "Split". i'm using vb4, probably to old, i imagine
_________________________
"It's better to burn out, than to fade away."

Top
#17745 - 12/07/02 06:45 PM Re: Printing Multi-Lline Text Boxes
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
neo, shut up. He's talking about TEXT BOXES not LIST BOXES.

(in reply to neo's post which he's later deleted which stated something along these lines - SR did a goof. All you need is: )
_________________________
Domain Registration, Hosting, Management
http://www.dollardns.net

Top
#17746 - 12/12/02 02:36 PM Re: Printing Multi-Lline Text Boxes
ninjaneo Offline
UGN Security Staff

Registered: 03/06/02
Posts: 256
Loc: CA, USA
god damnit

Top
#17747 - 12/22/02 02:57 PM Re: Printing Multi-Lline Text Boxes
ninjaneo Offline
UGN Security Staff

Registered: 03/06/02
Posts: 256
Loc: CA, USA
hrm... you know what... I think it is worth a try doing this... Print Me.Text1
and if that bitches at you try Print Me.Text1.Text
/e shrugs...

Top
#17748 - 12/22/02 10:03 PM Re: Printing Multi-Lline Text Boxes
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
Essentially that's the same thing as "i tried Printer.Print Text1.Text" and will not work any better.
_________________________
Domain Registration, Hosting, Management
http://www.dollardns.net

Top
#17749 - 01/04/03 02:30 AM Re: Printing Multi-Lline Text Boxes
ninjaneo Offline
UGN Security Staff

Registered: 03/06/02
Posts: 256
Loc: CA, USA
yah... To the newest version of VB but maybe not the older?

Top
#17750 - 01/04/03 07:21 PM Re: Printing Multi-Lline Text Boxes
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
yeeeeeeees neo, that's what backslash said:

"i'm using vb4, probably to old, i imagine"

and that's why I didn't further help the guy.
_________________________
Domain Registration, Hosting, Management
http://www.dollardns.net

Top

Featured Member
Registered: 03/05/02
Posts: 9
Forum Stats
2145 Members
46 Forums
33156 Topics
68323 Posts

Max Online: 1567 @ 04/25/10 10:20 AM
Top Posters
UGN Security 26319
Gremelin 7192
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Jimmie Menon, fghijk435948, Devo60, ali, lavos
2147 Registered Users
Who's Online
0 registered (), 720 Guests and 300 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!