Visual Basic Programming
You have learned to program Logo using a series of commands.
Now you are going to use Visual Basic to make
your own Windows program.
Use the worksheet below to get you started with some of the
first steps in programming.
Using Visual Basic at home You can download a free older version of Visual Basic from this
link (it's legal)
You may be able to download a free test (beta) version of the
latest Visual Basic from this
link (although it may have a few
bugs)
If you have Microsoft Excel, you can work on a version of Visual
Basic called Visual Basic for Applications. Follow these steps:
- Make sure code can run - go to Tools... Macro... Security... and
set it to medium
- Now go to View... Toolbars... Control Toolbox
- Draw a button on your spreadsheet, double click on it and
enter the code as you would with normal VB.
- To test your code, go into your spreadsheet and click on
the blue triangle/set-square that will take you out of design
mode.
|