Shapes control in vb.net
10,377
Solution 1
Microsoft released the free Microsoft Visual Basic Power Pack that contains Line and Shape controls that you can add to the tool box. A post here suggests it is included in VS2008 SP1 so you may already have it.
Alternatively you can create your own using a panel and override the onPaint event.
Solution 2
no built in controls but you can easily achieve the same goal with some API calls: http://msdn.microsoft.com/en-us/library/bbw12xs4(v=VS.90).aspx
Related videos on Youtube
Comments
-
Furqan Sehgal almost 2 years
Is there anything like shapes control of VB 6.0, in Vb.Net? I need to draw lines etc. at design time. But I could not find any shapes control in the toolbox.
Thanks Furqan