Make Another form follow the main form like in winamp & 3 D Pie Charts

I would like to know how to make a secondary form follow the first main form in visual basic like winamp does when you move it around ? I also want to know where can I get a 3D Pie chart component or how to make a one?

Any help is much appreciated!
LVL 23
Shane Russell2nd Line Desktop SupportAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jaime OlivaresSoftware ArchitectCommented:
0
cool12399Commented:
For a 3D PieChart Component (although not specifically VB, but you may be able to use in your project, believe it is Java based):
http://www.wyka-warzecha.com/website/products/123piecharts/index.htm

For a secondary form following a first one, not exactly sure what you mean (don't use
winamp right now). But assuming basically you'd have to capture a move event, and
simply change the form.left & .top properties when the primary one is used. (May need
to use subclassing for this).
0
cool12399Commented:
Ah, p.s., re: the form moving, this might help (you'll have to do a little coding
yourself, but this has the API calls)

http://www.vb-helper.com/howto_move_form_with_arrows.html
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Mike TomlinsonMiddle School Assistant TeacherCommented:
If you don't want to use the timer then here is how to do the subclassing route:
http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_21205857.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
2AngelCommented:
For the Pie you can do: Right click on the ToolBox and select "Components..." then select the tab "insertable Objects" and select the "....Microsoft Graph" (ussuly at the end of the list) and "OK" - add the "Chart" component to your form and then on the menu (above) you can select a 3D Pie... (like MsOffice Chart/Pie - very easy to use.....)
0
Joachim CarreinSr. Software DeveloperCommented:
maybe for the movement, make a timer, keep the old position and compare it to the new position(left and top)
if it is different, oldposition = new position and form2's position = form1's position+offset
0
Shane Russell2nd Line Desktop SupportAuthor Commented:
I have tried the method of using the 3D pie chart that 2Angel suggested and that does not work for me because I do not know how to update the values for the pie chart like I did using the MS chart control.

Basically I have made a utility in visual basic that attains disk information, like serial number, free space, used space, etc and I need to be able to update the values for the pie chart to represent the information in real time such as the free space , etc.

If someone could help me with that then I will split the points.

Thanks !
0
Shane Russell2nd Line Desktop SupportAuthor Commented:
None of the suggestions made for a 3D pie chart worked for me so I just accepted the move form answer.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.