473,320 Members | 1,946 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.

Toolbars



My Toolbars is disable all the time, how to add a line to System windows
form (I am using VB.NET 2003)?

Thank you very much for all your help.

Kelvin Tran

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 21 '05 #1
10 1653
This should help for drawing a line:

Private Sub frmAdmin_Paint(ByVal sender As Object, ByVal e As _
System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
e.Graphics.DrawLine(Pens.Black, 10, 10, 10, 200)
End Sub

what do you mean with my toolbar is disable? Your toolbox? or the menu bar?

greetz Peter

"KELVIN TRAN" <ke********@ev1.net> wrote in message
news:#Z**************@TK2MSFTNGP10.phx.gbl...


My Toolbars is disable all the time, how to add a line to System windows
form (I am using VB.NET 2003)?

Thank you very much for all your help.

Kelvin Tran

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 21 '05 #2
"KELVIN TRAN" <ke********@ev1.net> schrieb:
My Toolbars is disable all the time, how to add a line to System windows
form (I am using VB.NET 2003)?


<URL:http://www.google.de/groups?threadm=O9W8nvz9EHA.1264%40TK2MSFTNGP12.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 #3
Good Morning Peter Greetz:

Thank you very much for your email. I mean menu bar...
I have no problem on toolbars (add/remove) but got problem when I try to
draw line or any shape by select the icon from menu bar. In VB 6, I can
pick line icon from toolbox and draw anywhere on the design form...
Thanks you very much for your help.
Best regards,

Kelvin Tran

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 21 '05 #4
Hi Kelvin,

in dot net you cant draw a line or shape just by clicking the icon in a menu
bar (I don't even see it) if you want to draw a line or a shape you have to
draw it yourself, or cheat for example you could use a label with a
borderstyle and width = 1

hth Peter

"KELVIN TRAN" <ke********@ev1.net> wrote in message
news:ec**************@TK2MSFTNGP12.phx.gbl...
Good Morning Peter Greetz:

Thank you very much for your email. I mean menu bar...
I have no problem on toolbars (add/remove) but got problem when I try to
draw line or any shape by select the icon from menu bar. In VB 6, I can
pick line icon from toolbox and draw anywhere on the design form...
Thanks you very much for your help.
Best regards,

Kelvin Tran

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 21 '05 #5
Hello Peter Proost:

Here are the steps to select line icon or other sharpe icons as listed
below.
- From menu, select view, Toolbars, and image editor
- The image editor will diplays on menu bar
Thanks
Kelvin Tran

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 21 '05 #6
For a simple line, try a Label set to Fixed 3d Width, no text, and height
2px.

Greg

"Peter Proost" <pp*****@nospam.hotmail.com> wrote in message
news:eO***************@TK2MSFTNGP09.phx.gbl...
Hi Kelvin,

in dot net you cant draw a line or shape just by clicking the icon in a
menu
bar (I don't even see it) if you want to draw a line or a shape you have
to
draw it yourself, or cheat for example you could use a label with a
borderstyle and width = 1

hth Peter

"KELVIN TRAN" <ke********@ev1.net> wrote in message
news:ec**************@TK2MSFTNGP12.phx.gbl...
Good Morning Peter Greetz:

Thank you very much for your email. I mean menu bar...
I have no problem on toolbars (add/remove) but got problem when I try to
draw line or any shape by select the icon from menu bar. In VB 6, I can
pick line icon from toolbox and draw anywhere on the design form...
Thanks you very much for your help.
Best regards,

Kelvin Tran

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Nov 21 '05 #7
Hi Kelvin, as you typed yourself that's the image editor toolbar thus for
editing images, you can't use them on a form.

greetz Peter

"KELVIN TRAN" <ke********@ev1.net> wrote in message
news:O#**************@TK2MSFTNGP11.phx.gbl...
Hello Peter Proost:

Here are the steps to select line icon or other sharpe icons as listed
below.
- From menu, select view, Toolbars, and image editor
- The image editor will diplays on menu bar
Thanks
Kelvin Tran

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 21 '05 #8
Hi Greg Burns:

Thank you very much for your email. But your answer is not what I am
looking for...Let me put the question in other ways.

What is "Image editor" use for?
How's to use "Image editor"?

Thank you very much for your help.

Best regards,

Kelvin Tran

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 21 '05 #9
The Image editor is for editing .ico icon files.

To try it out, add an .ico file to your solution. When you double click on
it, Image Editor will launch.

That line button on the Image Editor Toolbar is used when working with the
Image Editor only.

If you want to draw a line on the form, you will have to use the Label hack,
or use GDI and "draw it".

Greg
"KELVIN TRAN" <ke********@ev1.net> wrote in message
news:%2******************@TK2MSFTNGP14.phx.gbl...
Hi Greg Burns:

Thank you very much for your email. But your answer is not what I am
looking for...Let me put the question in other ways.

What is "Image editor" use for?
How's to use "Image editor"?

Thank you very much for your help.

Best regards,

Kelvin Tran

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 21 '05 #10

Hi Greg Burns:

Thank you very much for all your help.

Best regards,
Kelvin Tran
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 21 '05 #11

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

Similar topics

3
by: Steve Dorsey | last post by:
Hello I'm creating a web page that contains a flash presentation. I currently have it resizing the user's web page and placing it on the screen using this script: ...
19
by: Albretch | last post by:
Hi, client wants for a window with no toolbars to open (technical and 'esthetical' reasons) after the window, user clicks on, is being closed. I told them about security settings in browsers...
4
by: Karl Irvin | last post by:
In a 2000, can you transfer custom menus and toolbars to a new Access database. My mdf file is not compiling and I'm importing all data to a new database but don't see a way to get the...
1
by: Mario Crevits | last post by:
My name is Mario Crevits, I'm from Belgium (Roeselare) and I'm working with Access97 for several years now. We are in an Access97-2000 migration project. I'm writing a wizard for the end-users to...
1
by: MacDermott | last post by:
I have an MDB file which is secured using a custom MDW file. I'd like to have most users see only the shortened menu you see when you set the Startup option "Allow full menus" to False. But...
1
by: cefrancke | last post by:
I have set the Startup properties to the following... All menus, toolbars, etc are turned off plus these are unchecked Allow Full Menus Allow Built-in Toolbars Allow Default Shortcut Menus...
4
by: MLH | last post by:
Is there a simple way to hide built-in toolbars in A97?
1
by: Free BSD | last post by:
Hi, Is there a possibility that i can control the toolbars from my javascript code snippet ??? like ... make a window with my custom toolbars or like window.open .. with now toolbars
2
by: =?Utf-8?B?Q3VydA==?= | last post by:
I'm working on a web application that hides all of the tool bars in IE from the user. I know there are a number of discussion about not doing this. It's a third party application that I'm adding...
15
by: Neil | last post by:
So, I tried to copy a toolbar. I have a custom menu bar for a form. Tried to copy it so that I could modify the copy and use it with another form. With no direct way to copy it, I made a copy of...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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...
1
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: 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

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.