VB.NET School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 307,128 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 2,018 people online right now. Registration is fast and FREE... Join Now!




circle drawing codes

 

circle drawing codes, circle drawing

bisweck

3 Nov, 2009 - 05:14 PM
Post #1

New D.I.C Head
*

Joined: 3 Nov, 2009
Posts: 1

can i have codes of drawing a circle using visual basic 2005

User is offlineProfile CardPM
+Quote Post


Nikhil_07n

RE: Circle Drawing Codes

3 Nov, 2009 - 07:02 PM
Post #2

Idiot of the year.
Group Icon

Joined: 9 Jan, 2009
Posts: 2,132



Thanked: 15 times
Dream Kudos: 1200
My Contributions
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is offlineProfile CardPM
+Quote Post

JackOfAllTrades

RE: Circle Drawing Codes

3 Nov, 2009 - 08:33 PM
Post #3

I exist to Google your problems.
Group Icon

Joined: 23 Aug, 2008
Posts: 5,322



Thanked: 454 times
Dream Kudos: 50
Expert In: Being annoyed with lazy people.

My Contributions
This is the VB6 forum. VB 2005 is VB.NET, so I'll move this there.

User is online!Profile CardPM
+Quote Post

motcom

RE: Circle Drawing Codes

3 Nov, 2009 - 11:16 PM
Post #4

D.I.C Addict
Group Icon

Joined: 16 Jun, 2008
Posts: 548



Thanked: 94 times
Dream Kudos: 175
My Contributions
You can either download the Visual Basic Powerpacks or you can do it in code

You need to import System.Drawing

This is the code for drawing on the form

CODE

        Dim G As Graphics = Me.CreateGraphics
        G.DrawArc(Pens.Black, 10, 10, 50, 50, 0, 360)
        G.Dispose()

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 02:31PM

Live VB.NET Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month