Results for "Category: Miscellaneous"
Fade IN and Fade OUT any form in VB !! Also you can make any form TRANSPARENT !
This is just a simple clock program.
Have you ever noticed that your computer's clock isn't very accurate? If so, then this code is for you! This program automatically connects to the U.S. Naval Observatory's atomic time server, and retreives the current Coordinated Universal Time (UTC). It then examines your system's time zone settings and daylight savings time settings, adjusts the UTC time based on those settings, and then updates your system time. Depending on your network connection, this program will always set your system clock to within 0.5 seconds of the actual atomic time!
This code will teach the beginner how to send anonymous and silent e-mails from within their VB apps. Great for silently mailing back a keylogging file! This is meant for the absolute beginner so don't bother pointng out that it is simple. If you use it there is no need to give me credit but please vote or say you like it!
Did you ever what to time something up to thousands of a second. This is not possible by using time() and timers at all. This little class (only uses 3 variables) can time up to a thousands of a second with your CPU clock frequency. There's a little example program also shows the difference between using: {if VarX "" then} AND {if Len(VarX) 0 then}. The last one will execute between 20-25% faster. The timer can show this in fractions of a second.
Change the color of a control or the picture property or whaterver you need for that matter, And the control's property will return to it's original value when the mouse moves out. This Works!!!! Try It. Rate It.
I wrote this 10 page tutorial because my brother wanted to learn visual basic. He decided not to read it any more after I wrote what I got done and so I never finished it. It is pretty good to start out beginners with programming. If it gets rated high enough I might continue writing it. Hope you all enjoy it and learn something.
Often especially when dealing with the API, byte and integer data types will be packed into LONG INTEGER (32 bit) values. Thes snippets allow you to decode/encode these 32 bit longs:
This application plays shockwave flash files using the shockwave .ocx. You must have shockwave installed on your system in order to use it.
This program dedects if system has a CD-ROM Drive(s) or not. If exists tells the drive letter(s) of your drive(s)
I have made a code ticker so you can just check it for new codes put on PSC. Check out screenshot.
This program is probably the best program I have ever done. Although I had to borrow some codes to make it perfect. This is the last vesion. Look at the screenshot and you can see that I have rounded corners on the form and a SYSTRAY when the form is minimized. You can put background pictures in and you can preview them also. There is a HELP section in there just about the program. Thanks in advance and PLEASE LEAVE COMMENTS and VOTE APPROPRIATLY.
MAKE UR OWN TICKER (just 6 lines of code, "No API"). IF YA LIKE IT(or not) RATE THIS CODE.
My code has 20 features! You should try it. Thank you to those people who corrected me on some problems. Please correct me if I have more problems on my program. I would appreciate feedback! Don't be surprised if you see any kids' stuff, I am only 8 years old.
Explains dragging and dropping of controls. It shows how to accurately find drop spots and is fully commented and very concise. If you have any trouble whatsoever, feel free to email me and I'll respond as quickly as possible. Enjoy this drag and drop tutorial.
Creating New Controls At Runtime useful for creating a front end to Vb6 or a programming like the D++ Programming one.
Performs compression/decompression on a byte array using run length encoding (RLE). This is an EXTREMELY FAST algorithm, implemented in a very efficient way. Many people have been emailing me about this so here it is.
This code just causes those neat little errors Windows sends us every so often. I don't think there's a use for this, but here it is anyway. Just a note, it also closes the VB IDE when called so watch out!
This code moves the desktop into a PictureBox on a form. This code can be applied to other things as well, such as hiding the "pay-to-surf" bars or free internet ads. Enjoy!
This code will dial a touch tone phone if the phone is held close to the computer's speaker. A good example of embedding several wave's in a resource file. Enjoy. Sorry, forgot RES file, now included.