Asked By
BubAngus5
20 points
N/A
Posted on - 06/07/2012
How to write a program that will display the periodic table of elements? The atomic symbol and atomic number should be the only information visible in your table.
And a pop-up message containing the atom name, atomic weight, density, melting point and boiling point of each element should appear once the element symbol is clicked.
Â
Create a visual basic program
1. I assume you are using Visual Basic 6.0 and created a solution that might be very easy to do, just check the attached picture and see if it will work, otherwise, you are using VB .NET, which I haven't done a solution for.
Anyway, it would just be pretty same with the .NET thing, just a little modification of the code, same design could be applied.
Just follow the procedures and refer to the picture attached below to get what I am trying to say.
Â
Hope it had helped you somehow.
Â
-
Open VB 6.0 /.NET.
-
Standard EXE (6.0)/Windows Form Application (.NET).
-
Design the interface.
-
Put in square shapes.
-
Put labels and change their captions.
-
Do these to complete your design in replicating Periodic Table.
-
Code the program.
-
Double click the symbol of the element.
-
The code editor window will be shown.
-
Type the code for each element and change the values indicated.
-
Run and test the program if it does the prescribed output.
Hope it had helped you somehow.