Results for "Category: Miscellaneous"
Checks to see if a Credit Card Number is valid by performing the LUHN-10 check on it.
Determines type of Credit Card by it's number.
This Code stops the End-user typing o#into a textbox but still allows them to scroll it because it is not disabled
TimeDelay fuction is good for when you want to time out a loop, in milliseconds. Does'nt use a timer control, Uses simple api declare.
This is a list of issues that I had while implementing this technology in one of my programs and how to solve them. This information took me many days to collect and should save you about a week's worth of testing. To understand this you need Srideep Prasad's turorial on "Multithreading" (txtCodeId=24672), also available at PSC. I've tried all multithreading methods listed on PSC and I found this method to be the best.
Creates a floating form on top of a previously existing form. Its useful for floating toolbars e.tc.
Classes to allow a VB app to browse the Network Neighborhood. Includes demonstration app.
This code will open a DAT file in the c:\windows\history folder and pull out all sites visited
Generic sort class. Works with any in memory structure and will sort in any order. Does this by exposing two simple to code events: isLess and SwapItems.
Auto upload multiple files to FTP Server
This code is a demonstration of a quick and easy way to copy an entire list (without needing to select them all) or selected list items to the clipboard for pasting into other applications. It simply copies the items to a hidden text box and then uses the clipboard method. Follow the instructions below to see how it works
Very short code! Newly updated and it WORKS! Display bitmaps instead of text on a drop menu, in a form. Use the VB Menu Editor to create a menu with sub menus, the code does the rest!! So easy you will slap yourself for using other people's lengthy drawn-out codes.
Easy Code here: Place an icon in the System Tray and have a drop menu appear when you click the icon with the right-mouse button. If you already have code with bitmaps in your menu, just add this code to your project! This code DOES WORK, just be careful and follow the tips. Then slap yourself for other people's long and drawn out useless code from the past.
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.
Finally, the RECORD source code for WAV files is here. Very easy, yet getting this (and all MCI commands) from Microsoft is like pulling teeth. We need simple code, so I brought this to you. Enjoy. I believe that I will start a website very soon, that will contain the entire listing and usage of the MCI Commands for the ordinary programmer like ourselves.
Find which drives, if any are CDs. A lot of the credit is owed to another person who submit similar code here (whoever you are, thanks). This code will help those who want to use the MCI codes to play a Music CD on different CD drives.
Advanced version! If you have a Video Capture card installed on your computer, then this will work great! I tested this on 3 different capture cards on different computers with 100% satisfaction! Thanks to E. J. Bantz Jr. for providing this free code from his website.
Flatbed scanner, Hand Held, or any TWAIN compliant device can be accessed in Visual Basic with the EZTWAIN DLL (Included free as freeware). I like this much better than the KODAK OCX for scanning. This uses less resources and less coding. Don't flood me with a ton of questions on this project. Once you use it, you will know as much as I do. REMEMBER to copy the EZTW32.DLL into your Windows System Directory!!!!!
This code will easily let any user create simple, yet effective credit scroller. This is so effectively easy, that any novice can create it. I created this code because I tried the other source code on this site, and I found it difficult to follow.
This source code will easily allow you to play a WAV file from within your Visual Basic application WITHOUT using an ActiveX Control. The two most amazing facts about this source code that amazed me were: • The value for the "flag." I had absolutely no idea what to do for the flag. But I took a good guess at it, and I got it! • It will actually play the WAV file from the Visual Basic environment (you don't need to compile it to hear the sound).