Contents
VB Wizard

Contents

The following Help Topics are available:

Procedure Wizard

Comment Wizard

Toggle Project Window

Toggle Toolbar display

Picture Wizard

Minimize VBWizard

Exit VBWizard

Registering VBWizard

Known Problems

For Help on Help, Press F1


New Procedure
Procedure Wizard

What is it?

The Procedure Wizard does two things. First it lets you quickly define new sub-routines or functions. Second, it lets you do this in a way that is standard across all of your routines. If you operate in a multi-developer environment, it will help you to standardize your VB routines. It allows you to declare parameters and variables for the routine. Procedure Wizard also allows you to type in comments about these parameters and variables. You can type without having to press <Enter> and then type ' to continue on a seperate line. You can specify the developer and system and describe the routine in detail.

The key pieces are:

Name

Type in the Visual Basic name for the procedure. Just like in VB, you cannot use a name twice in the same module. Nor can you use spaces in the name. Do not type in parameters or Function type in this text box.

Description

This allows you to fully describe what this procedure will do. You should use this section to explain how to use the procedure if it is shared. You should also try to explain any details about the procedure that would not be easily understood by just looking at the code. Don't comment about parameters or variables here.. you have other places that you can provide this information.

Function Type

If you choose Function as the procedure type, you can supply the function type. In other words if you type in Integer VB Wizard will create a function named MyFunction ( ) as Integer. You can supply any valid VB data type here.

Parameters

This grid gives you the ability to specify the parameters for this procedure. In the first column type in the valid VB name. In the second column type in the data type. You can select this from the drop-down combo box if you like. In the third column type in notes concerning this parameter. That's it. VB Wizard allows you to input up to 50 parameters.

Variables

This grid gives you the ability to specify the variables for this procedure. In the first column type in the valid VB variable name. In the second column type in the data type. You can select this from the drop-down combo box if you like. In the third column type in notes concerning this parameter. That's it. VB Wizard allows you to input up to 50 variables.

VB Wizard will dimension each variable for you. It will also document each variable in the comments section.

Developer

This is usually your name, but can be the name of any developer you wish. My name is Owen and you can give me credit for all your good work you do if you want to. The developer name will be inserted into the comments section beside of Developed By:

System

Type in the name of the system you are working on. This will go into the comments/header section of the code.

Actions

OK

This will insert the Sub or Function into your open VB code. Before you choose OK you should verify that the file/form highlighted in your Project Window of VB is where you want to insert this code. After creating the Sub/Function, VB Wizard will place a comments section at the top of the code. It will then dimension any variables that you declared and position the cursor where the first line of code should go.

Insert

You can use this to insert documentation into an existing sub or function.

Clear

This will clear the text boxes so that you can create a different Sub/Function.

Cancel

Well, what do think it does?  Right!! This will return you to the VB Wizard toolbar.

Note: From the edit menu of this form you can access the Options screen. This screen will allow you to set default settings used by the system.


Comment Wizard

The Comment Wizard allows you to type in comments as if you were using a word processor. Select OK and it will insert the comments into your VB code. It will format according to the style you selected. It will break the lines according to the line width you select.


Options

Program to Launch with Run Button

Type in the full name and path of a program that you would like to launch from this toolbar. Once you have entered a valid program name, you can just click on the "Run" button to launch it.

Default Comment Style

Sets the default comment style used by the Comment Wizard. Change this by selecting a new style from the drop-down combo box. It will immediately change the sample to show you what this style will look like.

Default Comment Character

Type in or select the character that Comment Wizard will use for its border character.

Default Developer and System

These defaults will be used when a new procedure is created.

Default Bitmap Directory

Sets the directory that Picture Wizard looks in for bitmap files. This can save you alot of keystrokes meandering through directories looking for your favorite bitmap directory.

Hide Project Window?

When selected, this option tells VBWizard to "Hide" the project window after you have double-clicked to select a form.


Wizard

One with immense knowledge and the uncanny ability to pass that knowledge on to others in a manner that makes learning fun and achievable.


Toolbar

A vertical or horizontal stack of buttons that allow you to perform complex options with just one click of the mouse.


On-Top

When a window is set to On-Top it will display over any other window. In other words other windows do not cover up the one that is marked On-Top.


VB Wizard

Written by Owen Poteat.

Copyright (c) 1993 Pocket Change Software.

Contact Owen at (919)667-5734 or CIS 71441,1264


Toggle Project
Toggle Project Display

Toggles the visibility of the VB Project Window.

VBWizard also does something for you that helps keep your desktop clean. You can set a default option that hides the Project window after you double-click to select a form. Access the Procedure Wizard and select Edit Options to change your global defaults.


Toggle Toolbar Display

Toggles the visibility of the VB Toolbar On and Off.


Minimize VBWizard

This will minimize the toolbar for you. To show the toolbar again, just double-click on the icon.


Exit VBWizard

Exits VBWizard. This is usually not necessary, as VBWizard automatically exits when VB shuts down.


Picture Wizard

One of the most diffucult things to do in VB is assign a picture to a control. You have to meander through many directories just to get to the picture files. You then have to know the exact filename without viewing the picture.

Well, those days are over. The Picture Wizard defaults to the directory that you assign as your default bitmap directory. It then shows you a picture of ALL of the picture files in this directory. You can then set the picture property, Icon property, copy the filename to the clipboard and even edit the picture with just a "Drag & Drop". You can also prune unwanted pictures by just dropping the picture on the "Trash Can".

Change the directory and drive just as you do in other Windows programs. You can select the appropriate picture by either clicking the picture or the filename.


Registering VBWizard

VBWizard is not, and has never been, public domain software, nor is it free software. If you use it, you are required by copyright laws to submit payment to Pocket Change Software. We support the shareware market and theory and encourage you to try out our software before buying it. Use it for up to 21 days with our blessing. We hope that you will find VBWizard to be well worth the $30 registration fee and therefore register. By the way, the first 100 to register will receive the source code for this tool at no additional cost. It is written in VB 3.0 by folks who use VB. We know the shortcomings and have tried to address some of them with this product. Also, unlike other utilities, we feel that our use of the otherwise useless caption area of VB leaves your VB screen uncluttered with layers of toolbars.

If you register VBWizard, you will receive the latest version! The first 100 to register will receive the source code for this tool at no additional cost.

TO REGISTER:

The EASIEST way to register this or any other shareware software is to use SWREG on compuserve. To do this type GO SWREG and select registration number 1508.

Or if you prefer, send a check or money order payable to for $30 to:

Pocket Change Software

Route 8, Box 644

North Wilkesboro, NC 28659

If you have a Compuserve ID, please state it for delivery via Compuserve EMAIL.

All registered users will receive a REGISTERED COPY of VBWizard. They will also recieve notification of future enhancements and new products.

We can also be reached via Compuserve: Compuserve ID: 71441,1264

Registration can also be done via Compuserve in the Shareware Registration Forum

The Registration number is 1508

(GO SWREG).  (If you are not familiar with this service, it is a method by which you can register this and other  shareware applications without having to forward payment to the author. You simply tell Compuserve which program you want to register, in this case 1508, and the author will be notified.)

*All registered users that register via Compuserve will receive a registration number for VBWizard via Compuserve EMAIL.


Know Problems
Known Problems

Stays on Top: Right now in version 1.1c there is a problem that we have not been able to solve. When you switch to another program without minimizing VB, the toolbar will stay OnTop. For now, if this happens to you, simply click on the VBWizard minimize button, and it will minimize and change the OnTop status. We are working on a fix for this problem, and a new version will be uploaded when it is available. You can also set the ONTOP status to OFF from the OPTIONS screen. If you do this, you can access VBWizard by holding down the ALT key and pressing TAB. This will switch you to the next window, which should be VBWizard.

Focus Problems: Some users have reported strange "Focus" problems when they "Break" out of a "Running" application. VBWizard is supposed to send the focus back to the Debug Window, but in some cases it seems to be failing. For now the work-around is to "click" in the debug window if this happens. We are looking into this and should have a fix soon. (This has been fixed in the 1.1c version. If you find that you are still having problems with this, please E-Mail me..)

1024 Resolution: We have not yet tested this application in 1024 mode and therefore there is a potential for display problems that we have not uncovered. If you are using VBWizard in 1024 mode, I would appreciate a Compuserve E-Mail letting me know if there are problems.

If you find other problems or have suggestions for improvements, please contact:

 Owen Poteat CIS 71441,1264  or (919) 667-5734.