130 adding a picture to your project
Some students have asked how to add the picture for Problem 8 to their projects.
There are probably several different good ways to do this. What I did for a picture that is in a picture box on the form is: in the picture box properties, set Autosize to True and open up the Picture property to load the picture itself. When I looked at it later, it was called "bitmap" in the Picture property and translated into a ".frx" item from the .bmp that it originally was. The original file seemed no longer to be necessary. However, the new .frx file is!
For more flexibility (later changes) and security, copy the original file into the project's folder, and do Project / Add to Project / File... to add any kind of file you like to the project. Submit the whole wad (compressed, natch) — extra files are OK, provided that they are in good order.
If the project in the book doesn't appeal to you, remember that you are free to make another one with the same ideas and equal or greater complexity.
Here is my wee sample of the above to try out. VB seems to make a new .vbw (workspace) file if I eliminate the old one, so I'm going to stop eliminating the old one.

0 Comments:
Post a Comment
<< Home