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

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.
 
T

Tom Shelton

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....
 
R

rowe_newsgroups

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
 
T

Tom Shelton

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.
 
K

kevininstructor

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.
 
M

Michael D. Ober

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top