Thanks Carlos for your response. The code provided works=20
well. However; Do you know how to change the width on the=20
>-----Original Message-----
>The image editor is intended to draw on bitmap or icon=20
resources, not in
>forms. In your case, you can override the OnPaint=20
procedure and make your
>drawings there. For example (VB.NET):
>
> Protected Overrides Sub OnPaint(ByVal e As
>System.Windows.Forms.PaintEventArgs)
> e.Graphics.DrawLine(System.Drawing.Pens.Blue, 0, 0,=20
100, 100)
> End Sub
>
>--=20
>
>Carlos J. Quintero (Visual Developer - .NET MVP)
>
>FAQs, Knowledge Base, Files, Docs, Articles, Utilities,=20
etc. for .NET
>addins:
>
http://groups.yahoo.com/group/vsnetaddin/ (free join)
>
>
>
>"Alex Bombino" <anonymous@discussions.microsoft.com>=20
escribi=F3 en el mensaje
>news:1c35401c421cf$4d559de0$a301280a@phx.gbl...
>> Hi guys,
>>
>> I am new in VB.net and I like so far. This is an easy
>> question but I just don't know how to draw a simple line
>> in a form. In a design mode I made the image editor=20
tool
>> bar to display but all the icons are disable. How can I
>> make the icons in the image editor enable so I can use=20
the
>> line button to draw the line in a form ?
>>
>> Thanks in advance.
>
>
>.