Advertisement

Results for "Category: Miscellaneous"

ASP_Volume2 #31181
get Font types on computer

This code takes every font from the computer it is run on, and places it into a combo box. (not using printer.fonts but using screen.fonts)

ASP_Volume2 #31209
Make Form always on top without API !

It automatically makes your form on top until they close or end the program and it is all API free!

ASP_Volume2 #31215
LZSS Compress/Decompress

This is a standard LZSS compression/decompression engine. It is written in VB for learning purposes, and should be converted to C/C++ if it is to be used with large amounts of data. It uses a dictionary compression algorithm (like ZIP,ARJ and others) and works the best on data with a lot of repetitions.

ASP_Volume2 #31222
Simple Email Send

While browsing through the files on this site, I noticed that most listings that dealt with sending e-mail using VB used the Winsock Control. I recently wrote a small demo for a customer that reads a database file, and then sends it to an email address. This code requires that you use the MAPISession Control as well the MAPIMessage control. You must also have a mail service installed on your system (Exchange,Outlook, ect.). Other than those requirements, the code is very easy to understand.

ASP_Volume2 #31225
*Improved* Cool Form Close

'This is a much improved version of the cool form close code submitted by Jas Batra. It shrinks the First of all, it is in function form, second it is a 'lot' faster and smoother. Code is fully documented for beginners.

ASP_Volume2 #31227
*Improved* GoAway Screen Wipe

I just quickly improved this screen wipe function written by Jesse Foster. It runs a bit smoother and is usable as a function for any form. Just drop it into a module. Also, I made it work so that it is 'public' not private.

ASP_Volume2 #31231
Spell Checker (uses MS Word)

This code uses OLE Automation to allow VB to open an instance of MS Word if the user has it on their system and spell check the contents of a text box. It could easily be modified to work with any control that has text on it. I would recommend better error control than the On Error statement listed here.

ASP_Volume2 #31234
Determine the Capabilities of an AVI file

MCI Multimedisa control NOT NEEDED! Determine if an AVI (movie) file has AUDIO, VIDEO, REVERSE, TOTAL NUMBER of FRAMES, STRETCH, etc... This is good information to know about an AVI before playing it in your program. You can use this information to help you display a "meter" or a scroll bar to quickly move around in an AVI file. This is easy code, enjoy.

ASP_Volume2 #31235
Form bouncing against the Start Menu at exit! 2.0

This code is a must have! It's cooler than the "Cool Form Close" code , cooler than the "Implode and Explode" code! So what does it do? When you close you program a really cool effect will appear. Your form will shrink so just the Titlebar is being showned, then the titlebar accelerates and bounces againt the start menu, goes up in the air, bounces a couple of more times and then disappears behind the Start Menu! Way Cool! This code is a very advanced one but it's really easy to use, try it!!! Includes functions for getting the top position of your start menu and offcourse the bounce code! New for ver. 2 is that the form now can bounce sideways if you edit the code just a little tiny bit, now also supports maximized windows!!!

ASP_Volume2 #31236
Dictionary, or Anything Else to store stuff

you enter a word, or whatever else you want and it brings up a definition, or something else.Note: Saves into the registry key: HKEY_Current_User\Software\VB and VBA Program Setting\ whatever you set the path to

ASP_Volume2 #31237
AutoComplete

Add the Internet Explorer 4 AutoComplete effect to a common combo box

ASP_Volume2 #31243
Fast way to remove all duplicates (dupes) in a ListBox

This method removes all duplicates in a listbox, regardless if sorting is turned on or not. AND it's fast, short and simple (no double loops like in some other submissions). It's also case-insensitive.

ASP_Volume2 #31244
Add only unique items to a listbox (no duplicates added). Fast and short without any loops.

Use this method to avoid adding an item to a ListBox that already exists. It's a lot faster and shorter than submissions that uses loops etc.

ASP_Volume2 #31249
GetTickCount Example

This code tells you how long your computer has been on. I can't think of any practical uses for it but it is kinda neat.

ASP_Volume2 #31267
Learn how to make a DLL in Visual Basic (ActiveX)

make a DLL in Visual basic... works just like an active X control

ASP_Volume2 #31269
Owner Draw ComboBoxes

Demonstrates OwnerDraw combo boxes in VB. Gives a few examples of the sort of items you may wish to draw. Particularly useful for art/drawing apps.

ASP_Volume2 #31274
A Better Listbox Example...

I have submitted a pretty bad listbox example before, but this is one that demonstrates how to use the ListIndex function. All you need to do is place 2 Listboxes, 2 command buttons, a timer, and a textbox. (Don't worry about their position, just put them anywhere and accept their default names. This can be done by double clicking on the icon.) Then, copy the code into the form and run it. Select any item in the list on the left, and double click on it or click Add. It will be added to the 2nd list. Add as many as you like. If you then select it in the list on the right, and click Remove, or double click, then it will remove it. (Note that it will still be selected, see the code for how to do that.) The text box on the bottom shows the two list box's indexes. Please tell me what you think of this example, and vote. Thanks :)

ASP_Volume2 #31286
Adhoc querying and reporting

Enables the user to create adhoc queries and reports from user-chosen access databases. User needs to have Word97 to run the reports and references to word 8, ado 2 recordset and dao 3.51 object libraries. Dragndrop fields/tables to choose selection fields and double-click field name for selection criteria.

ASP_Volume2 #31325
TimeZone Info/Converter

Get info for ANY time zone (including DayLight info), and convert Date/Time from one time zone to another, taking DayLight into account)

ASP_Volume2 #31346
Image Collision

Verify if two images will hit if you do move one of the image of X left and X right. Very useful when programming actions, sports or rpg games.

Languages
Top Categories
Global Discovery