Example #3

Material Handling Sortation

Simple Animation

 

Finally we do something interesting.  Since everything on TV nowadays is "reality programming" we'll try that approach here.  

Congratulations on your first job out of school as manager of the material handling department.  You quickly look around at all of the manual labor and decide that automating some of the material handling will result in lower labor costs, fewer errors, and better quality and consistency (don't forget -- better, faster, and cheaper).  

In this example you are shipping barrels -- it could be boxes, raw materials, parts, or anything else.  The sorting could be based on size of barrel / box, weight, product type, bar code label, or any other criteria. In this example you select what conveyor the barrel is placed on.   

This example is designed to demonstrate the following:

In VB6 we had the "shape" control that allowed us to draw rectangles, circles, and lines on the form at design time.  We loose this capability in .NET.  That is a shame because in the world of WYSIWYG RAD -- you would expect capabilities like the shape control.  It is much more difficult to create these objects during run-time and get them positioned properly.  Lots of write code, build, run, view and suggest changes -- change code, build, run, view and suggest changes -- ...  Note that for our customers we do include the source code for many custom controls

In VB6 we had both the picture control and the image control and used both for the barrel in the VB6 application.  Now in VB.NET and C# we only have the picture control and in ASP.NET we only have the image control.  And the web image control in ASP.NET is nothing like the others :-(.  To view the ASP.NET on-line demo (which is not nearly as nice as the VB.NET or C# versions) click here

 

Download Options

  1. Click here to download the Visual Basic 6 source code for this example. 
  2. Click here to download the VB.NET source code for this example.  
  3. Click here to download the C# source code for this example. 
  4. Click here to download the ASP.NET source code for this example. 

 

 

We try to offer a fair and balanced opinion on every page of our website.  We would appreciate more information from other users to express their opinions which we will then incorporate.  If you have questions or comments please post them on our message board (see button in left hand column) so that others can read and benefit. 

visual basic vb C# net 6 example source code tutorial factory laboratory industrial manufacturing automation