473,320 Members | 2,189 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

where is the Line Control ?


hi again :)

in VB6 i use the Line to Draw Lines Like when i make Wizard Forms.
but in VB.NET i cant find this Control......
it's realy not important Control
but nice to make GUI like 3D Lines

please tell me where the line Control in VB.NET???
--
------------------------------------------------
Best Regards From Tark
Nov 21 '05 #1
8 2930
The Line control is gone from VB.NET, as is the Shape control. Under .NET,
you have to draw them yourself using Graphics methods.

If you're looking for 3D lines, then an alternative might be the
ControlPaint class. That has methods for drawing 3D borders of rectangles,
and you can specify which side(s) to draw, so you can simulate 3D lines like
you see in wizard forms by only drawing one side of the rectangle.

HTH

- Scott

"Tark Siala" <ta*******@hotmail.com> wrote in message
news:eS****************@TK2MSFTNGP11.phx.gbl...

hi again :)

in VB6 i use the Line to Draw Lines Like when i make Wizard Forms.
but in VB.NET i cant find this Control......
it's realy not important Control
but nice to make GUI like 3D Lines

please tell me where the line Control in VB.NET???
--
------------------------------------------------
Best Regards From Tark

Nov 21 '05 #2
The Line control is gone from VB.NET, as is the Shape control. Under .NET,
you have to draw them yourself using Graphics methods.

If you're looking for 3D lines, then an alternative might be the
ControlPaint class. That has methods for drawing 3D borders of rectangles,
and you can specify which side(s) to draw, so you can simulate 3D lines like
you see in wizard forms by only drawing one side of the rectangle.

HTH

- Scott

"Tark Siala" <ta*******@hotmail.com> wrote in message
news:eS****************@TK2MSFTNGP11.phx.gbl...

hi again :)

in VB6 i use the Line to Draw Lines Like when i make Wizard Forms.
but in VB.NET i cant find this Control......
it's realy not important Control
but nice to make GUI like 3D Lines

please tell me where the line Control in VB.NET???
--
------------------------------------------------
Best Regards From Tark

Nov 21 '05 #3
Hi,

http://www.onteorasoftware.com/downloads/shapedemo.zip

Ken
-----------------
"Tark Siala" <ta*******@hotmail.com> wrote in message
news:eS****************@TK2MSFTNGP11.phx.gbl...

hi again :)

in VB6 i use the Line to Draw Lines Like when i make Wizard Forms.
but in VB.NET i cant find this Control......
it's realy not important Control
but nice to make GUI like 3D Lines

please tell me where the line Control in VB.NET???
--
------------------------------------------------
Best Regards From Tark

Nov 21 '05 #4
Hi,

http://www.onteorasoftware.com/downloads/shapedemo.zip

Ken
-----------------
"Tark Siala" <ta*******@hotmail.com> wrote in message
news:eS****************@TK2MSFTNGP11.phx.gbl...

hi again :)

in VB6 i use the Line to Draw Lines Like when i make Wizard Forms.
but in VB.NET i cant find this Control......
it's realy not important Control
but nice to make GUI like 3D Lines

please tell me where the line Control in VB.NET???
--
------------------------------------------------
Best Regards From Tark

Nov 21 '05 #5
"Tark Siala" <ta*******@hotmail.com> schrieb:
in VB6 i use the Line to Draw Lines Like when i make Wizard Forms.
but in VB.NET i cant find this Control......
it's realy not important Control
but nice to make GUI like 3D Lines

please tell me where the line Control in VB.NET???


There is no line control any more.

See (complete discussion):

<URL:http://www.google.de/groups?threadm=eV5alMTMEHA.624%40TK2MSFTNGP11.phx. gbl>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #6
"Tark Siala" <ta*******@hotmail.com> schrieb:
in VB6 i use the Line to Draw Lines Like when i make Wizard Forms.
but in VB.NET i cant find this Control......
it's realy not important Control
but nice to make GUI like 3D Lines

please tell me where the line Control in VB.NET???


There is no line control any more.

See (complete discussion):

<URL:http://www.google.de/groups?threadm=eV5alMTMEHA.624%40TK2MSFTNGP11.phx. gbl>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #7
Actually don't use the Groupbox control. It's a container control and has a
window be default and thus eats resources for no reason.

Use the label control to accomplish the same thing with way less resources.

"Tark Siala" <ta*******@hotmail.com> wrote in message
news:eS****************@TK2MSFTNGP11.phx.gbl...

hi again :)

in VB6 i use the Line to Draw Lines Like when i make Wizard Forms.
but in VB.NET i cant find this Control......
it's realy not important Control
but nice to make GUI like 3D Lines

please tell me where the line Control in VB.NET???
--
------------------------------------------------
Best Regards From Tark

Nov 21 '05 #8
Wholly smokes.... look at this crosspost list!... anyway, Labels or Frames
(aka "GroupBox" (sheesh) controls) are fine as long as you're only drawing
Horizontal or Vertical lines.

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..

"James Hancock" <~j****@darwinconsulting.com> wrote in message
news:O4**************@TK2MSFTNGP15.phx.gbl...
Actually don't use the Groupbox control. It's a container control and has
a window be default and thus eats resources for no reason.

Use the label control to accomplish the same thing with way less
resources.

"Tark Siala" <ta*******@hotmail.com> wrote in message
news:eS****************@TK2MSFTNGP11.phx.gbl...

hi again :)

in VB6 i use the Line to Draw Lines Like when i make Wizard Forms.
but in VB.NET i cant find this Control......
it's realy not important Control
but nice to make GUI like 3D Lines

please tell me where the line Control in VB.NET???
--
------------------------------------------------
Best Regards From Tark


Nov 21 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Viviana Vc | last post by:
How can I programatically do the equivalent of the following: cacls "C:\Program Files\test" /T /G Everyone:f ? Thanks, Viv
7
by: Tark Siala | last post by:
hi again :) in VB6 i use the Line to Draw Lines Like when i make Wizard Forms. but in VB.NET i cant find this Control...... it's realy not important Control but nice to make GUI like 3D Lines ...
4
by: D | last post by:
Hi I'm obviously still learning here but what I've created is a page with a calendar and button. When I click the button I do a number of tasks and would like to output the progress in messages...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.