Results for "Category: Miscellaneous"
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).
This source code will search for a certain string from a TextBox (can be modified to search from any string-bearing control, etc.). Once the string is found, a message box will appear letting you know that the string was found, and then the string will be highlighted.
This source code is a jump in revisions from 1.0a to 1.1a of neXus. For those of you that don't know, neXus is my coordinate-mapping application inspired by an original idea from Tyson Westby. Anyways, the changes in 1.1a are that you can have a visual confirmation that you have marked a coordinate. However, unfortunately, this meant that I had to take some of the source code out. Some of the old functionality was lost, and some of the new functionality doesn't work correctly. Anyways, this application allows the user to map coordinates for irregular-shaped Visual Basic forms without the need for bulky ActiveX Controls. As always, leave feedback and vote!
This is the source code to the largest project that I've ever worked on -- neXus 1.0a. neXus is based on an application that was created by Tyson Westby about one year ago. It's function is to allow Visual Basic programmers to modify the shape of the Form without having to include a bulky ActiveX control. The way it did this was to harness the power of the Windows GDI, and other API calls. But don't take my word for it, download the source code and try it out! And please, take the time to vote and leave feedback!