Groups | Blog | Home
all groups > vb.net controls > july 2006 >

vb.net controls : How to animate in VB.Net ?



David
7/17/2006 12:00:00 AM
Hi,

I am wanting to write a demo simulation program to show how our water
tank controllers work. I have tried using a progress bar, changing the
height of a panel and making bitmaps visible and invisible but cannot
find a suitable method of animating a water tank filling and draining.
Also want to show some round LEDs turning on and off but the SHAPE
component is not included with this version of VB.

Anyone know where I might be able to obtain a component for a round LED
and something that could emulate a tank level filling and draining ?

I have looked at commercial programs such as National Labview and Dundas
gauges but these are far too expensive for the small amount of
programming that I need to do for an application that we will be giving
away. Hopefully there may be a shareware version of gauges and indicators ?

Thanks in advance for your help
--



Kind Regards

David
-----------------------------------------------------------
ORBIT COMMUNICATIONS Pty Ltd - Wireless Solutions that Work
(Telemetry, Control, Monitoring, Security, HVAC ...)
A.C.N. 107 441 869


Website : http://www.orbitcoms.com
PO Box 4474 Lakehaven
NSW 2263, AUSTRALIA
Phone: 61-2-4393-3627
Fax : 61-2-4393-3685
John
7/17/2006 8:03:38 PM
Some suggestions:

For water, use a PictureBox with a tile-able water image set to Tile mode,
then increase/decrease height/size of picture box. You could always use the
good old Drawing methods too.

For LEDs, use picture box, and have a picture of a lit and unlit LED. Then
just swap the image (lit/unlit) in each LED picturebox when you need to.

J


[quoted text, click to view]

Frank Hileman
7/20/2006 2:11:09 PM
Hi David,

You may be able to use the free VG.net run-time for this purpose. It works
for C# or VB.net:
http://www.vgdotnet.com/articles/real_time_vis.shtml

Regards,
Frank Hileman

check out VG.net: http://www.vgdotnet.com
Animated vector graphics system
Integrated Visual Studio graphics editor

[quoted text, click to view]

AddThis Social Bookmark Button