Advertisement

Results for "Author: matt roberts"

2002VB #19653
Best Shell & Wait (No API's!)

Makes it easy to perform a clean "Shell & Wait" where your applicatoin kicks off an external application and waits for it to return before continuing. Many shell & wait examples I have found tend to overdrive the proccessor in a loop or require you to make API calls. This one uses the Windows Script object to take advantage of it's built-in wait parameter on the .Run method...scripting's version of Shell.

2002VB #19654
Create your own data types - A basic User Defined Type tutorial

Explains how to create your own custom variable packages that store various data types in one variable and display the elements in the IDE drop-down list while coding. This is a seldom used but very powerful data type in Visual Basic.

2002VB #19655
Advanced User Defined Types

Follow up to my first article on User Defined Types. Shows how to really put them to work. If you liked the first one, you will LOVE this one.

2002VB #19656
Is a certain form open?

Simple API call that tells whether or not a particular form is open. Useful for managing popup forms or a series of forms. Sample usage: If FormIsOpen("Color Picker") Then ' ....Do Something Here Else ' ...Do Something Else Here... End If

2002VB #19657
AlphaBar OCX - Easy sorting of lists using intuitive alphabet control.

Very basic example of creating a user control. This one has actually turned out to be useful in an application I wrote. I kept the features to a minimum in this one so that it would be easier to see how it works.

2002VB #19658
Cool Boolean Logic.

Explains the usage of boolean logic in Visual Basic to evaluate complex operations in the terms of "Boolean Logic Gates" ...a concept any electronics techies out there will love.

ASP_Volume2 #29216
Run Remote Apps on a Network

This demo project shows one way to easily send a program to another computer on your LAN and run it remotely. Sound impossible? Actually it is pretty easy. I have seen several questions on how to do this recently on the discussion boards and decided to show and easy way. NOTE: THIS IS A DEMO APPLICATION. I know it has some shortcomings and a lack of features...but simple is better for demos. It works. Feel free to use it and spiff it up if you like. Some possible enhancements could be adding the ability to display an image, play a sound, or print a document on remote machines. Network admins should especially have a lot of ideas on how this could be used for maintenance and inventory. Please read the README before posting any comments or questions. If you ask about something that was covered in the ReadMe file, I will make fun of you.

ASP_Volume2 #31056
Using Collections in Visual Basic #2 - Jet Database Collections

This article attempts to explain the Microsoft Jet collections and how you can use them in really useful ways. If you don't know about Jet collections, this is well worth reading.

ASP_Volume2 #34165
Advanced User Defined Types

Follow up to my first article on User Defined Types. Shows how to really put them to work. If you liked the first one, you will LOVE this one.

ASP_Volume2 #34169
Match() - Check any string for any number of characters.

Simple function to validate string contents. Compares a given string to a list of illegal values and evaluates whether or not it contains any. Very fast and easy. Can also be used as a string search function with a little modification.

ASP_Volume2 #34818
Is a certain form open?

Simple API call that tells whether or not a particular form is open. Useful for managing popup forms or a series of forms. Sample usage: If FormIsOpen("Color Picker") Then ' ....Do Something Here Else ' ...Do Something Else Here... End If

ASP_Volume2 #35806
Another (very easy) Rounding Function

This code makes easy work of doing simple rounding on decimal number...something that VB currently lacks. Why didn't they think of this?

ASP_Volume2 #36656
AlphaBar OCX - Easy sorting of lists using intuitive alphabet control.

Very basic example of creating a user control. This one has actually turned out to be useful in an application I wrote. I kept the features to a minimum in this one so that it would be easier to see how it works.

ASP_Volume2 #37006
Outlook-Style Splitter Form

This form can be used as a template for creating dynamic "Outlook" style forms in VB. Each frame resizes independently...and best of all, NO OCX!

ASP_Volume2 #37346
Cool Boolean Logic.

Explains the usage of boolean logic in Visual Basic to evaluate complex operations in the terms of "Boolean Logic Gates" ...a concept any electronics techies out there will love.

ASP_Volume2 #37360
Best Shell & Wait (No API's!)

Makes it easy to perform a clean "Shell & Wait" where your applicatoin kicks off an external application and waits for it to return before continuing. Many shell & wait examples I have found tend to overdrive the proccessor in a loop or require you to make API calls. This one uses the Windows Script object to take advantage of it's built-in wait parameter on the .Run method...scripting's version of Shell.

ASP_Volume2 #37367
List Directory Files

Lists all of the files in a directory matching the pattern entered in the form.

ASP_Volume2 #37368
Create your own data types - A basic User Defined Type tutorial

Explains how to create your own custom variable packages that store various data types in one variable and display the elements in the IDE drop-down list while coding. This is a seldom used but very powerful data type in Visual Basic.

ASP_Volume2 #37498
Subs, Functions, and Parameters...A beginner's guide.

Explains the concepts of Subs, Functions, and Parameters. If you are a little fuzzy on the difference, take a look.

ASP_Volume2 #37510
The Daily Newbie - Using the DateDiff() Function

Newest in the series aimed at teaching newbies (and not so newbies) about the commands that VB has available. This edition gives a basic outline of DateDiff() usage and, as always, some copt-and-paste sample code.

Languages
Top Categories
Global Discovery