Advertisement

Results for "Author: matthew roberts"

ASP_Volume3 #47874
Clipboard spellcheck/Right-click File Spellcheck

This is very cool. For those of you who appreciate it, thanks. For those of you who are just looking for something to put down, move along. I don't want the coding award, so you don't need to try to make me look bad. WHAT IT DOES: This code allows you to utilize the Microsoft Word Spellchecker without having to open word. I am constantly typing something on the web (like right now) and I want to do a quick spell check...I have to open word, paste it in, check spelling, copy it, and then paste it back in the browser. This code automates that. Just copy it and run the app. The corrected results will end up in the clipboard ready to paste back in.... ALSO.... If you create a shortcut and place it in your SendTo folder, you can right-click on any text file and check the spelling. The result ends up in the clipboard. A little creativity and you can code a function to save it back in the corrected form. That is a little project for you. This project is a good example of how to use the Word objects from VB. Enjoy

ASP_Volume3 #47875
The Daily Newbie - Using the DateAdd() Function

Explains how to use the Visual Basic DateAdd() function to add and subtract dates.

ASP_Volume3 #47876
The Daily Newbie - Using the DatePart Function

Explains how to use the DatePart Function in Visual Basic.

ASP_Volume3 #47877
Edit Flex-Grid in place.

Amazingly easy method for editing flex-grids in place. This is an example that I created to help someone out who needed to edit a flex-grid in place and didn't want to get a third party grid. It is a good starting point for a custom grid control. Good, bad or ugly, comments are always welcome. M@

ASP_Volume3 #47878
The Daily Newbie - Using the App Object

Explains the basics of using the App Object.

ASP_Volume3 #47879
The Daily Newbie - Using the Dir() Function

Explains the basics of using the Dir() command to get file and folder information.

4_2005-2006 #153151
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.

4_2005-2006 #153152
ComboBox Menu Demo

Demonstrates one method of creating custom menus that can contain images, combo boxes, or any other Windows control. Although this is not the most powerful method, it doesn't require any API custom calls or any third party .ocx's (like the Office Toolbar). NOTE: This is a DEMO project. It is not a finished product. I realize that it has some pretty big limitations as it is, but it should be enough to get someone who needs to add VB controls to menus a good start. I made it simple to make it easy to understand. Please feel free to use it, modify it, and call it your own...but please don't tell me things like "It would be better if it had a calendar control" or something like that. Instead, modify it to include a date-picker, calendar control, or whatever and re-post it as an improvement. I am sure others would appreciate that and I sure won't mind.

4_2005-2006 #153153
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.

4_2005-2006 #153154
List Directory Files

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

4_2005-2006 #153155
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.

4_2005-2006 #153156
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.

4_2005-2006 #153157
Using Collections in VB

Explains the basics of using collections in Visual Basic. These are a very powerful and often unused feature of VB.

4_2005-2006 #153158
Auto Form Resize

Automatically rescales a form to keep the layout identical at any size. For those of you out there who lock your forms to a certain size because rescaling is such a pain, give this a try...you will love it! NOTE: Although this code works as is, it is JUST AN EXAMPLE. You should be able to take the same logic and apply it to all of your forms, but please note that this example does not handle every type of control. For special controls (dbGrid, etc.) you will have to write a little code yourself to make it work.

4_2005-2006 #153159
Create your own custom parameters list

Ever wonder how to create your own custom list of parameters for one of your functions? You know, like the MsgBox options list with items like vbQuestion, vbExclamation, etc? This article shows you how. It is easier than you might think.

4_2005-2006 #153160
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.

4_2005-2006 #153161
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.

4_2005-2006 #153162
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.

4_2005-2006 #153163
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!

4_2005-2006 #153164
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.

Languages
Top Categories
Global Discovery