I thought about loading multiple labels but that would consume a lot of memory. I think there used to be a print function in VB but now there isnt!!!
Do any of the lost programmers out there possess this knowledge?
(Do you guys know?)
Printable View
I thought about loading multiple labels but that would consume a lot of memory. I think there used to be a print function in VB but now there isnt!!!
Do any of the lost programmers out there possess this knowledge?
(Do you guys know?)
You sure there isn't a Print function? I've never used it but I thought there was.
You can get the DC of the form and use GDI functions to do it.
There is a print function, but its hidden (like Line). Form/PictureBox/Printer/Debug.Print "blah blah". It uses "CurrentX" and "-Y" to tell where to put it.
Z.
Form.Print will still work...
But you can also go fancy and use the API http://www.vbforums.com/:
Code:Private Declare Function TextOut Lib "gdi32" Alias "TextOutA" _
(ByVal hdc As Long, ByVal x As Long, ByVal y As Long, _
ByVal lpString As String, ByVal nCount As Long) As Long
Form.AutoRedraw = True
TextOut Form.hDC, 50, 50, "This is a form", Len("This is a form")
Form.Refresh
Offcoure the Print function will do just the same, it's just that I like the API :D...
http://www.vbforums.com/ the alien's are invading!! http://www.vbforums.com/
(sorry, but they won't let me put the img tag in my signature ;))