all groups > vb.net controls > august 2005 >
You're in the

vb.net controls

group:

namespace for a line


namespace for a line Jack
8/28/2005 12:00:00 AM
vb.net controls:
I've been using the Microsoft provided Line controls.
In VB6, I used to do this Line1.x1
But now the namespace has changed.
I wonder what would that be.

I tried
Import LineControls.Microsoft.Samples

and directly reference my control named line1

Line1.x1 = 100

But the compiler complaint... could anyone give me some clue?
Thanks
Jack

Re: namespace for a line Scott M.
8/28/2005 10:44:09 AM
There is no Line control in .NET. There is a namespace called
System.Drawing, which contains a whole series of classes for representing
graphical objects.

[quoted text, click to view]

AddThis Social Bookmark Button