Programming

Programming questions? Ask a programmer for answers ASAP

Ask a Computer Expert,
Get an Answer ASAP!

Hello,I am designing a form in vb.net 3.5 a windows control…

Customer Question
Hello, I am designing a form...
Hello,

I am designing a form in vb.net 3.5 a windows control form (very basic). I am looking for a way to draw 14 circles on a form. There will be two columns of 7 circles each. I then want each of the circles to be a different color. After 8 seconds one of the next circle up the column on each side will light up with color and the previous circle will become white.

I have tried the draw ellipse method using the
Protected Overrides Sub OnPaint(byVal e as Paint EventArgs)

I then go on to use use "a" which is defined globally as graphics. I want to use a globally define counter to determine which circle needs to be lit up at the appropraite time. I was also using a basic timer as the impetus for filling the appropraite ellipse with color. When I have the timer_tick event go off the fillelipse method wont work. I think it is because i have already painted the form. I suppose I need some kind of overriding function that will repaint the form each time the timer_tick event goes. Help?
Submitted: 8 years ago.Category: Programming
Show More
Show Less
Ask Your Own Programming Question
Answered in 2 hours by:
6/19/2010
Programmer: Jason Jones, Programmer replied 8 years ago
Jason Jones
Jason Jones, Programmer
Category: Programming
Satisfied Customers: 19,466
Experience: Over 10 years of work experience.
Verified
Good day,

Just to be clear, you want 14 circles to be drawn on your form?

Once I receive your response, I will start putting together the appropriate code.

Thank you.
Ask Your Own Programming Question
Customer reply replied 8 years ago

Yes sir, 14 circles

 

Programmer: Jason Jones, Programmer replied 8 years ago
I reread your initial post and I'm sorry to say that I do not fully understand what your question is.

Can you please describe in further detail which issues you are having with the drawing of these circles?

Thank you.
Ask Your Own Programming Question
Customer reply replied 8 years ago

I'll try to write up what I want

 

Form loads

Draw 14 Circles in 2 columns of 7

Colors in order from bottom to top: red, orange, yellow, green, blue, inidigo, violet

Timer is initialized and starts

All the circles are empty (they have no filler color, except bottom 2 red circles)

Timer ticks after 8 seconds

The red circles loose their color

Orange circles get their color.

Timer ticks another 8 seconds

Orange circles loost their color

Yellow circles get their color.

etc. etc. until it cycles back around to red.

 

I hope that helps. I am trying to make a light show for my physics students I know it sounds odd but it would take awhile to explain.

 

Thanks Let me know if i can clarify further.

 

Programmer: Jason Jones, Programmer replied 8 years ago
I think I got it now, thank you for the explanation.

Do you want to upload what you currently have and then I can 'fix' it and re-upload it for you?

Please, compress all the files into a Zip file and then upload that zip file to http://www.wikisend.com

Once it has uploaded, please give me the resulting link.

Thank you much.
Ask Your Own Programming Question
Customer reply replied 8 years ago

http://wikisend.com/download/917718/Drawing System.txt

 

Thanks so much

Customer reply replied 8 years ago
Relist: I still need help.
Was this answer helpful?

How JustAnswer works

step-image
Describe your issueThe assistant will guide you
step-image
Chat 1:1 with a programmerLicensed Experts are available 24/7
step-image
100% satisfaction guaranteeGet all the answers you need
Ask ATLPROG Your Own Question
ATLPROG
ATLPROG
ATLPROG, Computer Software Engineer
Category: Programming
Satisfied Customers: 7,677
7,677 Satisfied Customers
Experience: MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

ATLPROG is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

ATLPROG

ATLPROG

Computer Software Engineer

7,677 satisfied customers

MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

LogicPro

LogicPro

Computer Software Engineer

7,175 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

lifesaver

lifesaver

Computer Software Engineer

950 satisfied customers

Several years of intensive programming and application development experience in various platforms.

ehabtutor

ehabtutor

Computer Software Engineer

936 satisfied customers

Bachelor of computer science, 5+ years experience in software development, software company owner

TheDoctor

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

The-PC-Guy

The-PC-Guy

Software Engineer

848 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

< Previous | Next >

Related Programming Questions
***For LogicPro Only*** Assignment 3: Final Project—Creating
***For LogicPro Only*** Assignment 3: Final Project—Creating a Paintbrush Application By Tuesday, February 21, 2012, read the project description and create the GUI for the application. You can downlo… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,175 satisfied customers
Write a program that simulates a traffic light. The program
Write a program that simulates a traffic light. The program lets the user select one of three lights: red, yellow, or green. When a radio button is selected, the light is turned on, and only one light… read more
lifesaver
lifesaver
Computer Software Engineer
Bachelor's Degree
950 satisfied customers
I have MS Visiual Studio 2005 and 2008 on my PC and have run
I have MS Visiual Studio 2005 and 2008 on my PC and have run into a strange problem. I have written a small sample program which illustrates the problem. When I add this code snippet to Form1.cs in a … read more
namstech
namstech
Software Development Engineer
Master's Degree
9 satisfied customers
will pay very big bonus 1.)Describe the basic structure
will pay very big bonus 1.)Describe the basic structure of the Unix file system. What is the root directory, working directory, and path notation used in this system? 2.) Compare and contrast the foll… read more
ATLPROG
ATLPROG
Computer Software Engineer
Master's Degree
7,677 satisfied customers
Hello , I have created an internal infinite loop in VB
Hello , I have created an internal infinite loop in VB code . I wish to know how to set VB code to enable external events like : resizing a VB Form ...etc can be taken in account , at VB run time . Ph… read more
Louis vdW
Louis vdW
Bachelor's Degree
92 satisfied customers
I need help with the following Instructions given 5. Create
I need help with the following: Instructions given: 5. Create a new class named AnimationPanel which extends JPanel. This is an “auto-scrolling” animation panel that allows MoveableShapes to be added … read more
unvadim
unvadim
Computer Software Engineer
Diplom
1,168 satisfied customers
Question 11 Assume that two arrays are parallel. Assume
Question 11 Assume that two arrays are parallel. Assume the first array contains a person's id number and the second contains his or her age. In which index of the second array would you find the age … read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,175 satisfied customers
i need help with a visual basic 2008 program. I have been working
i need help with a visual basic 2008 program. I have been working on it for awhile now and its due tonight so was hoping i could get some fast help. I can get the program to work almost like i want bu… read more
Alex
Alex
Sr. Software Engineer
Bachelor\u0027s Degree
332 satisfied customers
I have a program currently running. In this program, I have
I have a program currently running. In this program, I have several timer to control some outputs in the paralel port. The problem rhat I cannot sove is: If the user scroll down any option in the menu… read more
Ingo U
Ingo U
Master\u0027s Degree
358 satisfied customers
For this project, you will define a Circle class with various
For this project, you will define a Circle class with various features. You are provided another class that will draw the circles on a graphical window, facilitating testing of your code. Overview of … read more
Steve The IT Guy
Steve The IT Guy
Master\u0027s Degree
54 satisfied customers
Hey jeff. Are you able to do Visual Basic This is a new language
Hey jeff. Are you able to do Visual Basic? This is a new language to me and I'm not really sure how to get started.… read more
Louis vdW
Louis vdW
Bachelor's Degree
92 satisfied customers
Help! Im making a simple drawing program in visual basic,
Help! I'm making a simple drawing program in visual basic, right now I'm working on an undo and redo functionality. In order for this to happen I have to utilize stack data structure to keep track of … read more
ehabtutor
ehabtutor
Computer Software Engineer
Bachelor's Degree
936 satisfied customers
I need this program fixed or written properly asap...
I have a code for a project in visual basic 2008, it seems to have many problems, what would be the easiest way to fix it. Public Class Project4 Dim dblCost, dblLife, dblYear, DblDepreciation, dblBegV… read more
Ansh P.
Ansh P.
System Analyst
Bachelor\u0027s Degree
6,393 satisfied customers
Using WPF/VB.net, I need to have a button click event trigger
Using WPF/VB.net, I need to have a button click event trigger the WPF equivalent to windows forms .show method. I need to be able to click a button and have a specific window open. Can you help? Thank… read more
Dharmendra
Dharmendra
Master\u0027s Degree
275 satisfied customers
C# Event Handling I am a C# noob, and I am using a DLL in
C# XXXXX Handling I am a C# XXXXX and I am using a DLL in a .NET environment. The Delegate that is in the DLL looks like this: public delegate void ResponseEventHandler(string ReceiverId, string Devic… read more
Dharmendra
Dharmendra
Master\u0027s Degree
275 satisfied customers
I dont understand how to draw GUI in Paint. to create the
I don't understand how to draw GUI in Paint. to create the object and provide access to each object's processing methods. can someone tell me please.… read more
Karl Everest King
Karl Everest King
Web Designer, Programmer
Vocational, Technical or Trade Scho
224 satisfied customers
I need the code for a java project. I have to create random
I need the code for a java project. I have to create random circles of random sizes and random colors. Some will be filled. It needs a circle class that represents a single circle, has the boolean, a … read more
Erik Vonderheid
Erik Vonderheid
Diploma
2 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x