Advertisement

Results for "Category: Miscellaneous"

2002ASP #319
Mike's Trial Creator

This is an example on how to make your programs have a trial counter on it.This example uses VB's "SaveSetting" and "GetSetting" to the number of times the program was opened. I made a function in here to detect how many times it was open and if the number of times open is greater than the number you specify, then it displays a "Trial Over" message and exits the program. And also, if you wanted to add a "Register" part, I Included a "Reset TrialCount" feature so if they register it, make it "Registered" and stop the trial count. This is perfect if your working on a program and want it to be Shareware.

2002ASP #322
Disable program after 100 times used

This code will disable your program after a certain number of runs of the program. more info: worm@thepentagon.com

2002ASP #323
CWizardEngine

Ever wanted to implement your own wizard but thought that the logic to manage all the different panels would be too complex? Here's the code you've been looking for! This class implements a wizard engine. You can use it to manage all the displaying of any number of panels for your own wizard. All you have to do is create the individual wizard panels. Assign the panels to the WizardEngine along with the Previous, Next, Cancel and Finish buttons and you're done. The WizardEngine handles the rest!

2002ASP #329
Blinking Title Bar

Want Attention? Let the title bar of your program blink!

2002ASP #336
GetWindowSnapShot

This allows a VB program to capture either the screen or the program window. It has been tested under Win95 and NT4.0. It derives from a routine by Dan Appleman (VisualBasic 5.0 Programmer's Guide to the WIN32 API, page 303) which unfortunately does not work reliably under all conditions. Dan Appleman's exhaustive preliminary tutorial, though, is all it takes to understand the code.

2002ASP #342
ScrollKeys

This is a simple demo on how to implement the use of the keyboard's arrows keys to scroll a picture box. It also shows how to set the Max property of the scrollbars in order to work properly.

2002ASP #347
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)

2002ASP #352
MP3Snatch v2.0

This revised code finally supports the MP3 "Genre" tag (WinAMP 2.22+ compliant). Loads of you have emailed me requesting this facility - I think this is the first such VB code to support it! Easy to implement and the new genre routine is compact. It was a right pain in the arse collecting the Genre descriptions ;-) Note:- A demonstration app is availble from my homepage...

2002ASP #362
ListView SubImages

This code show how to place images in the subitems of a listview. It also has a function for placing the direction arrow in a column header to indicate the sort direction while compensating for existing header icons.

2002ASP #368
Making A Splash Screen!!

Load any program and the first thing you see is a splash screen. Splash screens usually display the program's name along with a graphic of some sort, such as a pen for the Microsoft Word splash screen or the company's logo for the Procomm Plus splash screen.

2002ASP #371
A Winamp Module like no other

I was looking for a winamp code that went beyong the normal play, pause, and stop functions. When I couldn't find it, i made it myself. This is the best winamp module on planetsourcecode, it does more than just play and stop, it can get song length, get song position, set the song position, get the status of winamp, allows you to do just about everything winamp can do. You don't want to miss this code if your looking for code to work with winamp, for plugins or for anything. It's extremely easy to use too, even novice programmers will be able to understand.

2002ASP #377
Winzip 8.0 Clone Shell ( 15% Complete )

This is a Clone of the Famouse Winzip 8.0 that I am currently working on. There is not Compression in this, this is just the GUI shell to the application. Please Leave Some Comments. And Vote if you think it is worth continuing... Thnaks

2002ASP #405
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.

2002ASP #409
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!!!

2002ASP #422
Form On Top (Your Application)

This ONE LINE of code will make a form stay on top of your application. This is good to use for toolbars, search forms, and so on. This WILL NOT make the form stay on top of all running applictions, only yours.

2002ASP #425
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.

2002ASP #426
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

2002ASP #427
*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.

2002ASP #436
Add menu items at runtime! :)

This code adds allows you to add menu item's on your form while you are running it(runtime :)...

2002ASP #438
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.

Languages
Top Categories
Global Discovery