473,398 Members | 2,427 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,398 software developers and data experts.

Quater Cirlce

Is there a way to display 4 quarter circles (half a semi circle) in
different colors? Is there a way to make quarter circle radiobutton?
Jan 24 '07 #1
17 2771


<Qu******@aol.comwrote in message
news:ol********************************@4ax.com...
Is there a way to display 4 quarter circles (half a semi circle) in
different colors? Is there a way to make quarter circle radiobutton?
Not sure if this is what you meant, but I'll post it just in case...

Create a new form and add the following:

Private mPen1 As Pen
Private mPen2 As Pen
Private mPen3 As Pen
Private mPen4 As Pen
Private mPenWidth As Integer
Private mBackBuffer As Bitmap
Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs)
If mBackBuffer Is Nothing
mBackBuffer = _
New Bitmap(Me.ClientSize.Width, Me.ClientSize.Height)
End If

Dim canvas As Graphics = Graphics.FromImage(mBackBuffer)

' Draw the background.
canvas.Clear(Me.BackColor)

Dim rect As Rectangle = Me.ClientRectangle

' Draw the top-left quarter-circle.
canvas.DrawArc(mPen1, rect, 180, 90)

' Draw the top-right quarter-circle.
canvas.DrawArc(mPen2, rect, 270, 90)

' Draw the bottom-right quarter-circle.
canvas.DrawArc(mPen3, rect, 0, 90)

' Draw the bottom-left quarter-circle.
canvas.DrawArc(mPen4, rect, 90, 90)

' Cleanup.
canvas.Dispose()

' Copy the back buffer to the screen.
e.Graphics.DrawImageUnscaled(mBackBuffer, 0, 0)
End Sub

Protected Overrides Sub OnPaintBackground( _
ByVal pevent As System.Windows.Forms.PaintEventArgs _
)
' Don't paint the background.
End Sub

Protected Overrides Sub OnResize(ByVal e As System.EventArgs)
Me.Invalidate()
If Not mBackBuffer Is Nothing
mBackBuffer.Dispose()
mBackBuffer = Nothing
End If

MyBase.OnResize(e)
End Sub

Private Sub Form_Load( _
ByVal sender As Object, _
ByVal e As System.EventArgs _
) Handles MyBase.Load
mPenWidth = 5
mPen1 = New Pen(Color.Red, mPenWidth)
mPen2 = New Pen(Color.Blue, mPenWidth)
mPen3 = New Pen(Color.Green, mPenWidth)
mPen4 = New Pen(Color.Yellow, mPenWidth)
End Sub

This will draw a full circle on the form, each quarter circle is a different
color and are each drawn separately...this also follows powell's
double-buffering example as well for a smoother drawing experience :)

HTH,
Mythran
Jan 24 '07 #2
Definitely a start...Thanks I would like the quarters solid not as
arc. Any ideas?

On Wed, 24 Jan 2007 11:09:58 -0800, "Mythran" <ki********@hotmail.com>
wrote:
>Private mPen1 As Pen
Private mPen2 As Pen
Private mPen3 As Pen
Private mPen4 As Pen
Private mPenWidth As Integer
Private mBackBuffer As Bitmap
Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs)
If mBackBuffer Is Nothing
mBackBuffer = _
New Bitmap(Me.ClientSize.Width, Me.ClientSize.Height)
End If

Dim canvas As Graphics = Graphics.FromImage(mBackBuffer)

' Draw the background.
canvas.Clear(Me.BackColor)

Dim rect As Rectangle = Me.ClientRectangle

' Draw the top-left quarter-circle.
canvas.DrawArc(mPen1, rect, 180, 90)

' Draw the top-right quarter-circle.
canvas.DrawArc(mPen2, rect, 270, 90)

' Draw the bottom-right quarter-circle.
canvas.DrawArc(mPen3, rect, 0, 90)

' Draw the bottom-left quarter-circle.
canvas.DrawArc(mPen4, rect, 90, 90)

' Cleanup.
canvas.Dispose()

' Copy the back buffer to the screen.
e.Graphics.DrawImageUnscaled(mBackBuffer, 0, 0)
End Sub

Protected Overrides Sub OnPaintBackground( _
ByVal pevent As System.Windows.Forms.PaintEventArgs _
)
' Don't paint the background.
End Sub

Protected Overrides Sub OnResize(ByVal e As System.EventArgs)
Me.Invalidate()
If Not mBackBuffer Is Nothing
mBackBuffer.Dispose()
mBackBuffer = Nothing
End If

MyBase.OnResize(e)
End Sub

Private Sub Form_Load( _
ByVal sender As Object, _
ByVal e As System.EventArgs _
) Handles MyBase.Load
mPenWidth = 5
mPen1 = New Pen(Color.Red, mPenWidth)
mPen2 = New Pen(Color.Blue, mPenWidth)
mPen3 = New Pen(Color.Green, mPenWidth)
mPen4 = New Pen(Color.Yellow, mPenWidth)
End Sub
Jan 25 '07 #3
On Wed, 24 Jan 2007 11:09:58 -0800, "Mythran" <ki********@hotmail.com>
wrote:
<snip>
> Dim canvas As Graphics = Graphics.FromImage(mBackBuffer)
<snip>
> ' Draw the top-left quarter-circle.
canvas.DrawArc(mPen1, rect, 180, 90)
Qu******@aol.com wrote:
Definitely a start...Thanks I would like the quarters solid not as
arc. Any ideas?
I would have thought you would have gone straight to the search in VS.NET
help, looked up DrawArc, found the Graphics.DrawArc method in the results
pane (you're looking for things in the .NET framework Location) and
double-clicked it, then clicked the "Sync Contents" button (looks like a
blue left-right arrow in the Web toolbar) and looked at the other methods in
the Graphics section, where you would have found the DrawPie method.

HTH

Andrew
Jan 25 '07 #4
I did. I used the draw arc but again it was hollow. I tired to
increase the width of of the pen but it created a funny shape Then I
tired to create a loop that would keep making the arc smaller and
that created smaller pies but I could not postion the correctly so
that the filled the hole so i am stuck

On Thu, 25 Jan 2007 10:43:16 -0000, "Andrew Morton"
<ak*@in-press.co.uk.invalidwrote:
>On Wed, 24 Jan 2007 11:09:58 -0800, "Mythran" <ki********@hotmail.com>
wrote:
<snip>
>> Dim canvas As Graphics = Graphics.FromImage(mBackBuffer)
<snip>
>> ' Draw the top-left quarter-circle.
canvas.DrawArc(mPen1, rect, 180, 90)

Qu******@aol.com wrote:
>Definitely a start...Thanks I would like the quarters solid not as
arc. Any ideas?

I would have thought you would have gone straight to the search in VS.NET
help, looked up DrawArc, found the Graphics.DrawArc method in the results
pane (you're looking for things in the .NET framework Location) and
double-clicked it, then clicked the "Sync Contents" button (looks like a
blue left-right arrow in the Web toolbar) and looked at the other methods in
the Graphics section, where you would have found the DrawPie method.

HTH

Andrew
Jan 25 '07 #5
In previous post I meant to say drawpie not drawarc

On Thu, 25 Jan 2007 10:43:16 -0000, "Andrew Morton"
<ak*@in-press.co.uk.invalidwrote:
>On Wed, 24 Jan 2007 11:09:58 -0800, "Mythran" <ki********@hotmail.com>
wrote:
<snip>
>> Dim canvas As Graphics = Graphics.FromImage(mBackBuffer)
<snip>
>> ' Draw the top-left quarter-circle.
canvas.DrawArc(mPen1, rect, 180, 90)

Qu******@aol.com wrote:
>Definitely a start...Thanks I would like the quarters solid not as
arc. Any ideas?

I would have thought you would have gone straight to the search in VS.NET
help, looked up DrawArc, found the Graphics.DrawArc method in the results
pane (you're looking for things in the .NET framework Location) and
double-clicked it, then clicked the "Sync Contents" button (looks like a
blue left-right arrow in the Web toolbar) and looked at the other methods in
the Graphics section, where you would have found the DrawPie method.

HTH

Andrew
Jan 25 '07 #6
Qu******@aol.com wrote:
In previous post I meant to say drawpie not drawarc
Pah! Why do MS think that a pie should be empty? What point is there in an
empty pie? :-)
I see the help does not have Filling.AppleAndBlackberry or anything similar.

Did you look further down in the help (like I should have ;-) and find
FillPie?

Find the line:
canvas.DrawPie(mPen1, rect, 180, 90)

and after it put in:
canvas.FillPie(Brushes.Red, rect, 180, 90)

to see it work.

Andrew
Jan 25 '07 #7
Thanks

And who said the only diumb question was the one NOT asked
On Thu, 25 Jan 2007 11:52:15 -0000, "Andrew Morton"
<ak*@in-press.co.uk.invalidwrote:
>canvas.FillPie(Brushes.Red, rect, 180, 90)
Jan 25 '07 #8
One last question (Probably also dumb)

How to I clear the pie chart so that I cann replace it with an updated
pie chart

(BTW I am a Newbie)

On Thu, 25 Jan 2007 11:52:15 -0000, "Andrew Morton"
<ak*@in-press.co.uk.invalidwrote:
>Qu******@aol.com wrote:
>In previous post I meant to say drawpie not drawarc

Pah! Why do MS think that a pie should be empty? What point is there in an
empty pie? :-)
I see the help does not have Filling.AppleAndBlackberry or anything similar.

Did you look further down in the help (like I should have ;-) and find
FillPie?

Find the line:
canvas.DrawPie(mPen1, rect, 180, 90)

and after it put in:
canvas.FillPie(Brushes.Red, rect, 180, 90)

to see it work.

Andrew
Jan 25 '07 #9
Qu******@aol.com wrote:
How to I clear the pie chart so that I cann replace it with an updated
pie chart
Are you working with Mythran's example or do you have some other code
producing the pie chart?

If the former, then I think you would want a different place to put the
image, like a..., ooh, let me look in the Toolbox window.... ah: PictureBox.
I /think/ the OnPaint event happens automatically when Windows decides the
window needs to be re-drawn.
(BTW I am a Newbie)
And what makes you think I /really/ know what I'm going on about? ;-) Just
about all my VB.NET has been as ASP.NET, so I haven't had to learn/worry
about forms other than for making little utilities with simple buttons and
text for the UI.

I'm sure someone in this ng will have good suggestions for a beginning
VB.NET book (hint, hint! to anyone else reading this :-).

Andrew
Jan 25 '07 #10
Option Strict Off
Option Explicit On
Friend Class Form1
Inherits System.Windows.Forms.Form
Private mBrush1 As Brush
Private mBrush2 As Brush
Private mBrush3 As Brush
Private mBrush4 As Brush
Private Sub Form_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.Load
mBrush1 = Brushes.Red
mBrush2 = Brushes.Blue
mBrush3 = Brushes.Green
mBrush4 = Brushes.Yellow
PictureBox1.BackColor = Color.Transparent
AddHandler PictureBox1.Paint, AddressOf Me.pictureBox1_Paint
Me.Controls.Add(PictureBox1)
End Sub
Private Sub pictureBox1_Paint(ByVal sender As Object, ByVal e As
System.Windows.Forms.PaintEventArgs)
Dim g As Graphics = e.Graphics
g.Clear(Me.BackColor)
Dim rect As Rectangle
rect.Size = PictureBox1.Size
g.FillPie(mBrush1, rect, 45, 90)
g.FillPie(mBrush2, rect, 135, 90)
g.FillPie(mBrush3, rect, 225, 90)
g.FillPie(mBrush4, rect, 315, 90)
End Sub 'pictureBox1_Paint
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
PictureBox1.Dispose()
End Sub
End Class

The dispose command clears it but then I cannot redraw it in
picturebox1
On Thu, 25 Jan 2007 13:15:53 -0000, "Andrew Morton"
<ak*@in-press.co.uk.invalidwrote:
>Qu******@aol.com wrote:
>How to I clear the pie chart so that I cann replace it with an updated
pie chart

Are you working with Mythran's example or do you have some other code
producing the pie chart?

If the former, then I think you would want a different place to put the
image, like a..., ooh, let me look in the Toolbox window.... ah: PictureBox.
I /think/ the OnPaint event happens automatically when Windows decides the
window needs to be re-drawn.
>(BTW I am a Newbie)

And what makes you think I /really/ know what I'm going on about? ;-) Just
about all my VB.NET has been as ASP.NET, so I haven't had to learn/worry
about forms other than for making little utilities with simple buttons and
text for the UI.

I'm sure someone in this ng will have good suggestions for a beginning
VB.NET book (hint, hint! to anyone else reading this :-).

Andrew
Jan 25 '07 #11
Option Strict Off

ACK! Why is this turned off? I don't see any latebinding in your code,
so you definately should turn this on. I realize it's annoying, and
narrowing conversions won't cause problems in a lot of projects, but it
is a super good idea to always leave Option Strict On, particularly
when you're just starting out.

Thanks,

Seth Rowe
On Jan 25, 8:38 am, Quest...@aol.com wrote:
Option Strict Off
Option Explicit On
Friend Class Form1
Inherits System.Windows.Forms.Form
Private mBrush1 As Brush
Private mBrush2 As Brush
Private mBrush3 As Brush
Private mBrush4 As Brush

Private Sub Form_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.Load
mBrush1 = Brushes.Red
mBrush2 = Brushes.Blue
mBrush3 = Brushes.Green
mBrush4 = Brushes.Yellow
PictureBox1.BackColor = Color.Transparent
AddHandler PictureBox1.Paint, AddressOf Me.pictureBox1_Paint
Me.Controls.Add(PictureBox1)
End Sub

Private Sub pictureBox1_Paint(ByVal sender As Object, ByVal e As
System.Windows.Forms.PaintEventArgs)
Dim g As Graphics = e.Graphics
g.Clear(Me.BackColor)
Dim rect As Rectangle
rect.Size = PictureBox1.Size
g.FillPie(mBrush1, rect, 45, 90)
g.FillPie(mBrush2, rect, 135, 90)
g.FillPie(mBrush3, rect, 225, 90)
g.FillPie(mBrush4, rect, 315, 90)
End Sub 'pictureBox1_Paint

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
PictureBox1.Dispose()
End Sub
End Class

The dispose command clears it but then I cannot redraw it in
picturebox1

On Thu, 25 Jan 2007 13:15:53 -0000, "Andrew Morton"

<a...@in-press.co.uk.invalidwrote:
Quest...@aol.com wrote:
How to I clear the pie chart so that I cann replace it with an updated
pie chart
Are you working with Mythran's example or do you have some other code
producing the pie chart?
If the former, then I think you would want a different place to put the
image, like a..., ooh, let me look in the Toolbox window.... ah: PictureBox.
I /think/ the OnPaint event happens automatically when Windows decides the
window needs to be re-drawn.
(BTW I am a Newbie)
And what makes you think I /really/ know what I'm going on about? ;-) Just
about all my VB.NET has been as ASP.NET, so I haven't had to learn/worry
about forms other than for making little utilities with simple buttons and
text for the UI.
I'm sure someone in this ng will have good suggestions for a beginning
VB.NET book (hint, hint! to anyone else reading this :-).
Andrew
Jan 25 '07 #12
Oh, forgot to answer the question :-)

I believe using
PictureBox1.CreateGraphics().Clear(PictureBox1.Bac kColor) instead of
..Dispose() will do the trick.

Thanks,

Seth Rowe
On Jan 25, 8:38 am, Quest...@aol.com wrote:
Option Strict Off
Option Explicit On
Friend Class Form1
Inherits System.Windows.Forms.Form
Private mBrush1 As Brush
Private mBrush2 As Brush
Private mBrush3 As Brush
Private mBrush4 As Brush

Private Sub Form_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.Load
mBrush1 = Brushes.Red
mBrush2 = Brushes.Blue
mBrush3 = Brushes.Green
mBrush4 = Brushes.Yellow
PictureBox1.BackColor = Color.Transparent
AddHandler PictureBox1.Paint, AddressOf Me.pictureBox1_Paint
Me.Controls.Add(PictureBox1)
End Sub

Private Sub pictureBox1_Paint(ByVal sender As Object, ByVal e As
System.Windows.Forms.PaintEventArgs)
Dim g As Graphics = e.Graphics
g.Clear(Me.BackColor)
Dim rect As Rectangle
rect.Size = PictureBox1.Size
g.FillPie(mBrush1, rect, 45, 90)
g.FillPie(mBrush2, rect, 135, 90)
g.FillPie(mBrush3, rect, 225, 90)
g.FillPie(mBrush4, rect, 315, 90)
End Sub 'pictureBox1_Paint

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
PictureBox1.Dispose()
End Sub
End Class

The dispose command clears it but then I cannot redraw it in
picturebox1

On Thu, 25 Jan 2007 13:15:53 -0000, "Andrew Morton"

<a...@in-press.co.uk.invalidwrote:
Quest...@aol.com wrote:
How to I clear the pie chart so that I cann replace it with an updated
pie chart
Are you working with Mythran's example or do you have some other code
producing the pie chart?
If the former, then I think you would want a different place to put the
image, like a..., ooh, let me look in the Toolbox window.... ah: PictureBox.
I /think/ the OnPaint event happens automatically when Windows decides the
window needs to be re-drawn.
(BTW I am a Newbie)
And what makes you think I /really/ know what I'm going on about? ;-) Just
about all my VB.NET has been as ASP.NET, so I haven't had to learn/worry
about forms other than for making little utilities with simple buttons and
text for the UI.
I'm sure someone in this ng will have good suggestions for a beginning
VB.NET book (hint, hint! to anyone else reading this :-).
Andrew
Jan 25 '07 #13
I'm sure someone in this ng will have good suggestions for a beginning
VB.NET book (hint, hint! to anyone else reading this :-).
Although I've never read it, Tim Patrick (a contributer here) has a
book called "Start-to-Finish Visual Basic 2005" you might check out. Do
you (the OP) have experience in any other programming language or are
you a complete newbie to vb.net?

Thanks,

Seth Rowe
On Jan 25, 8:15 am, "Andrew Morton" <a...@in-press.co.uk.invalid>
wrote:
Quest...@aol.com wrote:
How to I clear the pie chart so that I cann replace it with an updated
pie chartAre you working with Mythran's example or do you have some other code
producing the pie chart?

If the former, then I think you would want a different place to put the
image, like a..., ooh, let me look in the Toolbox window.... ah: PictureBox.
I /think/ the OnPaint event happens automatically when Windows decides the
window needs to be re-drawn.
(BTW I am a Newbie)And what makes you think I /really/ know what I'm going on about? ;-) Just
about all my VB.NET has been as ASP.NET, so I haven't had to learn/worry
about forms other than for making little utilities with simple buttons and
text for the UI.

I'm sure someone in this ng will have good suggestions for a beginning
VB.NET book (hint, hint! to anyone else reading this :-).

Andrew
Jan 25 '07 #14
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
PictureBox1.Dispose()
End Sub
End Class

The dispose command clears it but then I cannot redraw it in
picturebox1
http://www.bobpowell.net/picturebox.htm

Andrew
Jan 25 '07 #15
Andrew Morton wrote:
> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
PictureBox1.Dispose()
End Sub
End Class

The dispose command clears it but then I cannot redraw it in
picturebox1

http://www.bobpowell.net/picturebox.htm
The important part being, I think, the Invalidate() command which tells it
it needs to paint it again.
In VB.NET format:-

'-----------------------------------------------------------
Option Strict On

Public Class Form1
Inherits System.Windows.Forms.Form

'<snip web form designer stuff>

Private mBrush1 As Brush
Private mBrush2 As Brush
Private mBrush3 As Brush
Private mBrush4 As Brush
Private offset As Single

Private Sub init()
mBrush1 = Brushes.Red
mBrush2 = Brushes.Blue
mBrush3 = Brushes.Green
mBrush4 = Brushes.Yellow
PictureBox1.BackColor = Color.Transparent
Me.Controls.Add(PictureBox1)
offset = 0.0
End Sub

Protected Sub pictureBox1_Paint(ByVal sender As Object, ByVal e As
System.Windows.Forms.PaintEventArgs) Handles PictureBox1.Paint
Dim rect As Rectangle
rect.Size = PictureBox1.Size
e.Graphics.FillPie(mBrush1, rect, 45 + offset, 90)
e.Graphics.FillPie(mBrush2, rect, 135 + offset, 90)
e.Graphics.FillPie(mBrush3, rect, 225 + offset, 90)
e.Graphics.FillPie(mBrush4, rect, 315 + offset, 90)
End Sub 'pictureBox1_Paint

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
offset += 30
Me.PictureBox1.Invalidate()
End Sub

Private Sub Form_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles MyBase.Load
init()
End Sub

End Class
'-----------------------------------------------------------

Andrew
Jan 25 '07 #16
These two lines should be deleted as the form designer should have put them
in its section:-
PictureBox1.BackColor = Color.Transparent
Me.Controls.Add(PictureBox1)

And to get rid of the jaggies:-
Protected Sub pictureBox1_Paint(ByVal sender As Object, ByVal e As
System.Windows.Forms.PaintEventArgs) Handles PictureBox1.Paint
Dim rect As Rectangle
rect.Size = PictureBox1.Size
e.Graphics.SmoothingMode = Drawing2D.SmoothingMode.AntiAlias
e.Graphics.FillPie(mBrush1, rect, 45 + offset, 90)
e.Graphics.FillPie(mBrush2, rect, 135 + offset, 90)
e.Graphics.FillPie(mBrush3, rect, 225 + offset, 90)
e.Graphics.FillPie(mBrush4, rect, 315 + offset, 90)
End Sub 'pictureBox1_Paint
Andrew
Jan 25 '07 #17
THANKS TO BOTH OF YOU. I have done some vb 6 but am trying to learn
vb.net.

Just as an aside I have five VB.net books here that are dog-eared
from looking at. Quite often when people post it is simply because
they do NOT know where to start so what all you guys do is simply
GREAT!!!
On 25 Jan 2007 06:25:21 -0800, "rowe_newsgroups"
<ro********@yahoo.comwrote:
>I'm sure someone in this ng will have good suggestions for a beginning
VB.NET book (hint, hint! to anyone else reading this :-).

Although I've never read it, Tim Patrick (a contributer here) has a
book called "Start-to-Finish Visual Basic 2005" you might check out. Do
you (the OP) have experience in any other programming language or are
you a complete newbie to vb.net?

Thanks,

Seth Rowe
On Jan 25, 8:15 am, "Andrew Morton" <a...@in-press.co.uk.invalid>
wrote:
>Quest...@aol.com wrote:
How to I clear the pie chart so that I cann replace it with an updated
pie chartAre you working with Mythran's example or do you have some other code
producing the pie chart?

If the former, then I think you would want a different place to put the
image, like a..., ooh, let me look in the Toolbox window.... ah: PictureBox.
I /think/ the OnPaint event happens automatically when Windows decides the
window needs to be re-drawn.
(BTW I am a Newbie)And what makes you think I /really/ know what I'm going on about? ;-) Just
about all my VB.NET has been as ASP.NET, so I haven't had to learn/worry
about forms other than for making little utilities with simple buttons and
text for the UI.

I'm sure someone in this ng will have good suggestions for a beginning
VB.NET book (hint, hint! to anyone else reading this :-).

Andrew
Jan 26 '07 #18

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

Similar topics

1
by: Jason via AccessMonster.com | last post by:
I m trying to sort by quaters. I m using a qry as my basis for the report. the qry sums up fields and provides me with toals by qtr. I can not seem to get the sort to work in the report for those...
1
by: R.Balaji | last post by:
Hi, We are developing a windows application using c#. We have created a toolbar with some toolbar buttons. When we disable the toolbar button, the toolbar button image should be displayed...
0
by: Jeremy | last post by:
Hi all, I'm using the webclient class in VB.net to download a web page and save it locally. I have a few chars in the html that appear fine when the html page is viewed itself in IE, but...
2
by: chump1708 | last post by:
Hi... Can anyone outline the code for drawing a cirlce without using floating point computations>>>>
9
by: mankolele | last post by:
Hi all I need an idea on where to start when calculating a total amount betwee n two dates from a database like I want amount of money paid out from 30/03/2004 and 30/07/2004 ,but in the database...
0
parshupooja
by: parshupooja | last post by:
Hi, I want to find out current quater of the year. Can anyone let me know how to find out? Quater1 Jan - Mar Quater2 Apr - jun Quater1 July- sep Quater1 oct- Dec This is urgent, so any...
4
parshupooja
by: parshupooja | last post by:
Hello, I am using ASP.Net C#. I am trying to create a datalist on asp.net page. I want 3 columns: Image, Title and Description. My problem is I have tons of images in single directory based on...
5
parshupooja
by: parshupooja | last post by:
Hey All, I m using asp.net I have image control on page and I want to load image in it but image does not resides in root of application instead it is on C drive. This is the path ...
4
parshupooja
by: parshupooja | last post by:
Hey All, I have a dropdown on my page. I want to populate dropdown dynamically via code. Here is a scenario. for each year it should populate items automatically. such as most current item it...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.