I'm trying to develop a textbox that expands as the text in it wraps, but I am having difficulty figuring out a generic method for identifying the graphical width of a string without knowing the font that is being used.

I have read about the ClientDC.GetTextExtent method in C++. Is there something like that in VB? What properties should I be looking at?

I appreciate everyones' assistance.

Regards,
New2VB