Jaxbot Posted May 8, 2008 Posted May 8, 2008 Hi. In VB 6 I can do things like picturebox1.Print "hello, world.". How would I do that in VB.NET? ty Quote
MrPaul Posted May 9, 2008 Posted May 9, 2008 (edited) Graphics and Font objects Something along the lines of this: Using gfx As Graphics = Me.PictureBox1.CreateGraphics() Dim fnt As Font = New Font("Arial", 10.0) gfx.DrawString("hello, world", fnt, Brushes.Black, 10.0, 10.0) End Using You can find information about the types and methods used here in MSDN. Good luck :cool: Edited May 9, 2008 by MrPaul Quote Never trouble another for what you can do for yourself.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.