crosshairs.zip- This example illustrates how to use an instance of the shape object and two lines to cheat a selection rectangle commonly seen in vector based programs like AutoCAD or Microstation. Uses no API. Written by Mr. Wonka
capture.zip- This code sample was put together from a tutorial by Randy Birch on the VBNet Web Site and shows how the capture the screen (OLE style).
drdesk.zip- This code sample illustrates how to use Mr. Wonka's Desktools, an Active X component written in Visual Basic 5.0. Features the screen capture code from the file above, plus many other functions and methods for the desktop and screen.
ImageViewer.zip- This example shows how to create an image viewer capable of displaying up to 1000 images in a slideshow format. In addition, it illustrates the use of a control array of Image controls to produce an image contact sheet. This code uses the above screen capture code by Randy Birch again, but the rest of it was written by Mr. Wonka and is for the most part is uncommented. Check it out though, it is pretty cool.
imgresize.zip- This example shows how to allow the user to resize a picture box at runtime to meet their needs. For example if you were creating an HTML editor and you wanted the user to be able to insert an image to their own size specification this would be perfect. The Form_Resize event also illustrates how to adjust the position of controls according to their size of the form. This work is still under construction so if you have some ideas to optimize it let us know. Coded by Mr. Wonka
commandline.zip- This small bit o' code shows how to use the command$ function that VB has, which is similar to the command$ funtion of QBASIC. Nothing to flashy, just accepts a string( Filename of a picture) and reads it into a picture box. A good thing to know if you would like to make your app associated to a particular filetype. Coded by Mr. Wonka