Results for "Category: Miscellaneous"
this is a very small example on putting scanning power into your apps. scan something from the scanner and display it in a img control in either .tiff, .bmp, .jpg, etc, form. you can also add a editing tool like photoshops, and create a image editing program.
This program goes to the atomic clock at time.gov and gets the time. It then converts the time to your local time. The set clock button sets your system clock to the atomic clock. PS: does not work in all time zones, PSS: please e-mail me any sugestions on how to improve. Thank You
It grabs the Dial-Up Networking passwords that are saved with the Save Password checkbox. Very easy to understand. Has a kool interface .
Long time listener, first time caller. I believe computers should have more lights and make noise like they do in the movies. This program helps correct some of these flaws. The Idea is from an old movie probably everyone here has seen. When it gets all twelve it launches the missiles. Some useful coding examples include: Play a Wav by API, API drag around, Resource file plus more… Various pieces parts from PSC, thanks if it looks like yours. I wrote it a while ago so I forgot where I got things. Enjoy all.
The code on this submition is not the important thing, it is the idé. I have seen and made some coderepositorys, the problem is that i do not have the time to file in all the names,descriptions and so on. This code showes how you can use the existing filestructure where your code is currently placed. You can view the catalogs on one side and the files on the other. This way you can drag-and-drop files in to the vb-ide window. The program searches for a readme.txt file in each directory, and gives you a chance to write to it or make a new one.
A class that allow you to simply add a progress bar (or any other control) to a status bar. The demo shows how to refresh the position of the control when the statsu bar resize. (No subclassing is required)
This is a simple little app to show you how to get the current time (GMT) from the Internet and automatically set your PC clock.
Search for string in listbox
This is a short and to the point winsock tutorial. Pleae note this only covers tranferring text between two computers. Nothing more.
This example allows you to set the contents of a picturebox as the Mouse Icon (cursor). It uses the ImageList's ExtractIcon method to extract an icon, then it is simply set to the main form's MouseIcon property. Very easy to understand, all lines are commented.
Hey everyone. A great TIP here! I don't know if this has been brought up before (did a search but found nothing) it may even be in VB books - but some of you may not know this... Did you know that (in the code) you can right-mouse click over a particular procedure, function, word, method, event, any declared variable, etc... Then choosing "DEFINITION" from the menu selection will jump you to where it was declared or the code for it?! See screen shot for example of this. Then after you get there, right-mouse click again and choose LAST POSITION to jump back where you came from? How useful is this? Coulden't remember how something was declared? Need to check the code real quick for a function? You have several modules/forms/classes in your code?, etc... Give it a try (similar to highlighting something and pressing F1 for help) This may be a simple trick and many of you may already know this. But for those of you that don't, please VOTE. I think it's worth it. Comments are welcome.
Based on other code found on the web, i created this class (CToolTip.cls). Very simple to use, this class allows you to create multi-line and "Bubble" style tooltips that you can attach to any control (with a hWnd property) This is Not just a copy of other code found on this site, this class takes a slightly different approach to tooltips - an approach that made more sense to my application. eg passing just the hWnd of the control you wish to apply the tooltip rather than the control its self, strongly typed variables, and completely encapsulation. This class (with the exception of the error handling) is identicle to the class im using in some of my commercially written applications, so its already been tested [any bugs let me know :)] Use it but dont abuse it - im fed up of reading harsh comments on PSC for perfectly good example code.
This teaches how to use treeviews using databases (MS-Access). Uses ADO for connection. Also demonstrates small amount of SQL statements. All in one for real VB Beginners! This includes other treeview methods not discussed in other tutorials. Run the program to find out more! (this is just a part of an application that I am also about to upload). Dont forget to read the README.txt which is also in the zip file. tnx!
This code is an example to show everyone how easy it is to excute any code IN DESIGN VIEW. This is to warn everyone: Viruses and trojans could be installed this way. Scan source code BEFORE even opening it in vb.
Here is a great program to make your MSNmessenger nickname more lively. Just make a list of your nicknames (eg. Willem, wIllem, wiLlem, wilLem, willEm, willeM) and let this program change your nick every period of time you specified. You can set a speed between 1 and 60 seconds.
This is a pretty interesting little program. Using the MS Webbrowser control, it searches a webpage for all its links and stores them in an collection. After it has finished a page, it goes to the next page and scans that one. This little example application looks for email addresses. But don't be afraid, it's much to slow for being used by spammers.
Clearly demostrates how to send email using smtp and also uses the UUEncode algorithum to encode files to be sent as attachments. One more thing: This program has GREAT GUI!!! If you press the "Send" button fast enough, it can also act as an EMAIL SPAMMER!!! ----------Must-See------------
Inserts text files at desired spots in the code before compiling. Doesn't modify original source!
This is an attempt to have text to speech feature on a notepad. Handles text files 64k. Can speak the entire file or selected text only or from the cursor to the end of the text file
Do you have a beautiful wall paper but has got lot of desktop icons on it, only to destroy its beauty. Then this program will help you. On clicking the tray icon of this program all the desktop icons are transfered to a window and on clicking the tray icon again will restore all the icons. Put a short cut in the startup to load it everytime Windows is loaded.