How to upgrade line and sharp control from VB6 to VB.Net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In our VB6 programs we used the sharp and line controls, but these controls
are not included in VS.Net, could you tell me what is the proper substitute
of them.

Thanks very much.
 
In our VB6 programs we used the sharp and line controls, but these controls
are not included in VS.Net, could you tell me what is the proper substitute
of them.

Thanks very much.

That depends... If you using .NET 1.0 through 2.0, then you'll either
have to draw the lines and shapes using the System.Drawing classes or
api calls. In .NET 3.0 and up, well you can make use of the various
shape classes, Line being one, to draw these types of objects....
 
That depends... If you using .NET 1.0 through 2.0, then you'll either
have to draw the lines and shapes using the System.Drawing classes or
api calls. In .NET 3.0 and up, well you can make use of the various
shape classes, Line being one, to draw these types of objects....

Are the .Net 3.0 shape classes the same as the ones in the PowerPacks?

Thanks,

Seth Rowe
 
Are the .Net 3.0 shape classes the same as the ones in the PowerPacks?

Thanks,

Seth Rowe- Hide quoted text -

- Show quoted text -

I don't know... I've never used the Power Packs :) They are part of
the WPF classes.
 
I have a lines control (not my own, think Microsoft did it...has full source
in VB.NET) which works fine in VS2005, send me an email and I will zip it up
and send it to you.
 
Search for VB 2005 power packs. MS just released one in August that has
graphics controls in it. I don't know what's in it, but it should cover
what you are looking for.

Mike Ober.
 
Back
Top