If you find problem install mint from usb through advanced mode then reboot again.after booting from usb select install mint then press Tab key.you will got a command line already typed just you space then type nomodeset only.now enter you will booting to live mode.then you can find all drive mounted that you can install it to hard drive whichone is not mounted from advanced compatibility mode.
Computer lover
All Computer important News and tricks and method
Translate
Thursday, March 27, 2025
Saturday, April 26, 2014
Visual Basic Programming Examples
Visual Basic Programming Examples
These pages collect example tutorials, programs and ActiveX controls displaying particular programming techniques in Visual Basic.Further Assistance
We cannot offer any further help with these examples. Most were developed by students who are no longer present. Our current students have moved onto programming in C#, and thus no longer use VB. Please do not contact us for further help, although feel free to tell us that this page was useful to you!
Other VB resources
- Planet Source Code.com has lots of searchable example programs and tutorials
- E-Commerce Webopedia: ActiveX controls is a page of links, but not sure how good it is for VB
Tutorials
These tutorials contain step by step graphical guides to several visual basic
programming concepts and tools. Note that they are not necessarily in
progressive order!
| Tutorial | Description | Authors |
| # 1 | Introduction to Visual Basic
Part 1
|
Mike Rounding
James Tam |
| # 2 | Introduction to Visual Basic
Part 2.
|
Mike Rounding
James Tam Saul Greenberg |
| # 3 | Accessing databases using the ADO Data Control |
Mike Rounding
James Tam |
| # 4 | Accessing databases using the
Data Environment control |
Mike Rounding
James Tam |
| # 5 | Creating a simple HelloWorld
ActiveX control in Visual Basic |
Saul Greenberg
|
| # 6 | How to register your ActiveX Controls on the Computer Science machines |
Mike Rounding
|
| # 7 | Building a Ticker ActiveX Control with the ActiveX Control Wizard |
Mike Rounding
Rod Stephens |
| # 8 | Building a Transparent ActiveX Control that lets you click on a non-rectangular image |
Mike Rounding
Shaun Kaasten |
| # 9 | Dynamic queries and databases: simple example on how you can use sliders to build a query to a database | Mike Rounding |
| # 10 | The "Bitton" control, beginning guide to building ActiveX controls a few different ways along with some ActiveX explanation | Mike Rounding |
| # 11 | This program demonstrates dragging and dropping from explorer and between forms and also includes a cool control moving code module. | Mike Rounding Saul Greenberg |
| # 12 | This is a step-by-step tutorial for how to integrate Macromedia Flash into your VB applications. Complete with instructions on how to pass information back and forth and also how to remotely invoke Flash methods right in VB! | Mike Hornby-Smith |
Programs
| Project | Description | Authors |
| vbHelloWorld | A simple hello world program that illustrates a basic VB program as well as the command button and timer control. |
Saul Greenberg
|
| FirstProject |
The left figure shows when it looks like when the program is executed, while the right shows what happens after the user has clicked the button 3 times and selected the checkbox, and moved the mouse over the form. Try to program this yourself. It uses a command (or button), a label, and a checkbox. |
James Tam
|
| vbImages | These two vb Projects illustrates two ways to cycle through images stored in a local directory. Each demonstrates different controls for accessing files, while both show a control for displaying images. |
Saul Greenberg
|
| vbMarquee | A marquee (an automatically scrolling text region) is used to illustrate a Timer, a status bar and a checkbox control, and simple graphical repositioning, |
Saul Greenberg
|
| vbMoveList |
Rod Stephens, modified by Saul Greenberg
|
|
| vbPlaysound | Illustrates how to play a wave file in
Visual Basic. It works by declaring a function to the WIN32 API
sndPlaySound . Don't be intimidated: its two lines of code! |
Saul Greenberg
|
| vbSketchpads |
Saul Greenberg
|
|
| vbDrawpad | A simple object-oriented drawing editor
that allows a user to create, move and erase squares. You can easily extend this to include different graphical classes
e.g., circles, lines, etc., or to any interactive graphics. The program illustrates
|
Saul Greenberg
|
| vbDynamicQueries |
Saul Greenberg
|
|
| vbTableLens |
Rod Stephens
|
|
| vbDragPicture | Illustrates how to Bitblit a picture on another picture, and how to drag it around. |
Rod Stephens
|
| vbDragTreeNode | Illustrates how to use the Tree control and how to drag items around different parts of the tree |
Rod Stephens
|
| vbMoveControls | An example application that lets a user interactively move different kinds of controls on a display. Illustrates interactive graphics. |
Saul Greenberg
|
| vbclassexample | Illustrates how to create a simple class that raises events |
Saul Greenberg
|
| vbFlexdata-example | Illustrates a database with the flex
control. The database just has two fields: name and phone. This example lets you add and remove records. To make the grid sorted, we set the data control's record source property to the SQL statment: Select * from friends order by FirstName. The record is just added to the end of the file, but the flex grid shows it sorted. See also Tutorial 3 and Tutorial 4 for other ways to access databases. |
Shaun Kaasten
|
| vbShapedControls |
|
Shaun Kaasten
|
ActiveX Controls
| Project | Description | Author |
| HelloWorld |
Saul Greenberg
|
|
| TickerTape | A tutorial and example project that shows you how to build a TickerTape control out of a label. It also illustrates the ActiveX Control Wizard. |
Mike Rounding
Rod Stephens |
| ElusiveProfessor | A VB ActiveX Control that creates a 'new' type of button (actually a standard but augmented command button) that moves away from the person who is trying to click it. Includes an example program. The design was based upon a class project where students had to design a button that reflected their personality. |
Saul Greenberg
|
| FollowMe | This program creates a command button
that will follow the mouse around.This simple but very useful example
illustrates
|
Michael Rounding
|
| vbRangeSlider | Illustrates a very crude range slider
written in ActiveX. I include it to
To use: Unzip the file into a directory. Check out the test program in a sub directory that I included. In your own project, you can include the range slider by going into project/components and then selecting Browse. Navigate to the OCX file that will be in the unzipped directory and select it. You will see a new control that you can select. |
Saul Greenberg
|
| PictureClip | A tutorial program that shows you how to use the PictureClip component for creating animations. |
Dave
Miller, 581 student
|
| ShowNeighbours | An activeX control plus exe that shows you how to find the other controls in a form from inside an ActiveX control. Saul Greenberg used this example to build a Mr. Popularity button, where all the other controls on the form gravitate towards a Mr Popularity ActiveX button. |
Chris Bradley, 581 student
|
| xparent.zip |
|
Mike Rounding,
Shaun Kaasten |
| tranparent.zip | Similar to xparent.zip, except this version follows your mouse wherever it goes around the screen - very fun. |
Mike Rounding,
|
| MovingControl.zip | This example includes a user control that will move itself towards any other control. This example illustrates some custom events and properties in a user control, and shows how to do do simple control animation with a timer. |
Mike Rounding
|
Third
Party Examples
We've found these on the web or in books, and they are too good not to
include
| Project (as zip or .bas) |
Description | Author |
| animation | Bitmap Animation: Shows how to build a simple bitmap animation. |
Rod Stephens
|
| Transparent.zip | Transparency: A tool library to do transparency, including transparent controls. |
Doug Gaede
|
| vbRangeTool.zip |
|
Author unknown
|
| VB-ScreenCapture.BAS | Capturing bitmaps: A BAS library for capturing various portions of a screen. |
Thursday, November 7, 2013
Subscribe to:
Posts (Atom)