Results for "Category: Miscellaneous"
Add vertical and horizontal splitter bars to your application. This code creates a form with three panes, and two splitter bars. I originally found the code in Planet Source Code last year, but found a couple of bugs, so I rebuilt it from scratch, and added the horizontal splitter. There are no DLL's or references to worry about, very easy to use.
This code will detect if SoftICE is loaded in memory! I wrote this code to protect my programs against crackers who want to register my programs without paying for it!
NOW With SOURCE! (Last time I haven't included it) .I have recently submitted a code, which downloaded a picture from a webcam. With this code, you can add your own links to webcams and other often-changing pictures to the programs database and view it simply selecting from the menu. This program also implements a favourites list what has it's own menu. Just look at the picture and download it. Oh, and please don't forget to vote for it and send feedback. Thanks.
This is a very cool MIDI piano coded in VB. You can define everything in this sample. Have fun!
This amazing piece of code actually shows you the real password in those password boxes instead of the ***** you always see! This code uses the mouse as a "revealing glass"(Sorry, I couldn't find any icons of a magnifying glass to use for the cursor), so that when you move the mouse over a textbox, the password changes to REAL TEXT, and when you move it away, the password is shown as ***** again! This effect is easily edited out of the code, if desired. This program is not meant for stealing passwords, please do not use it for that purpose. I hold no responsibility for passwords stolen using this program. This program won't work with IE, but it will work with Netscape, because of the way it handles windows.
This code will close and (To the extent of my knowlege) stop AOL ads from downloading. These are not the popup window ads, but the ads on the read email, buddy list, etc. This code was tested in Compuserve, but should work the same with AOL. Let me know if it doesn't. Just run it and watch!
Ever wonder how all of those other software programs put themselves in the system tray(The start menu icon list at the bottom of the screen)? Well, this code, centered around traymodule.bas and written entirely by me, will do just that. Just use the RespondToTray(X) function in the Form_Mousemove event and call addtotray and removefrom tray when you want to add or remove your icon from the tray. You can customize tool-tips(The yellow labels), the icon appearing in the tray, and the form to have it respond to when you click the tray. You may use this module in any program you'd like, although if you're going to post a program using this on PSC, please give me credit for the module.
This code goes one step further than the password viewer that I submitted... this code actually logs an AOL password to a file! Here's how you do it: You run the code. You get someone to sign on(Guest support will be coming soon, but is not yet supported), and once they click connect, their password will be logged to the file pw.txt in the directory that the program is in. NOTE: This will not work if the user has a stored password, he must type in his password for this to work.
Draw a perfect arc using any 3 given points. Find a point on a line at any given distance from the start point. Find the common point where 2 lines intersect. Find the distance between any 2 points. Get the angle of a line in degrees or radians. The list goes on. Sample program included. This module is an absolute must for graphics programmers.
A tiny bas module is all you need to draw 3D ellipses. Just give it any rectangle, colors and point of light and it will draw the ellipse quickly and smoothly. The zip includes one form (for demo purposes) and the Ellipse3D.bas module. A MUST SEE for graphics beginners and pros.
Just a small program to show how to show a screen saver in a picture box from within VB. Also has some other usefull functions. This is just a small program I was playing with. It is not complete and I don't know if it would be usefull to anyone, but I thought I would upload it anyway.
This is my first bas file. It contains 134 WORKING subz/functions for AOL. Please email me if 1 or more of the functions do not work and the error message.
(For Newbies wanting to find out the following). Information on what you find in BJ's How to Get... (BJ's How to Get... Readme.txt can be found in BJ's How to Get Directory) The Directory you can find them in 00: How to Get All - (BJ's How to Get)* 01: How to make a Basic Calendar. - (BJ's Basic Calendar)* 02: How to get colours. - (BJ's Colours) 03: How to Copy Files. - (BJ's Copy File) 04: How to Delete Files. - (BJ's Delete Files) 05: How to Disable the [X] on the top form. - (BJ's Disable Close Button) 06: How to add info to E-Mail. - (BJ's E-Mail) 07: How to make an Image Combo. - (BJ's Image Combo) 08: How to make an .ini file. - (BJ's Make INI) 09: How to Use a Multi Undo. - (BJ's Multi Undo) 10: How to make a Popup Menu. - (BJ's Popup Menu) 11: How to access the Registry. - (BJ's Reg Example) 12: How to Rename Files. - (BJ's Rename Files) 13: How to access the Systems About Box. - (BJ's System About Box) 14: How to get an elapsed time. - (BJ's Time Elapse) 15: How to add an Icon to the Icon Tray. - (BJ's Tray Icon) 16: How to make you own Trial Application. - (BJ's Trial Version)* 17: How to get the Windows Directory. - (BJ's Windows Directory) If you have anything in mind to add to this just E-Mail me. Click on E-Mail on any of my apps.
UPGRADED: NOW MENU & TOOLTIPTEXT ENTRIES This code permit to have a multiple language application. The LoadResString provided with VB doesn't permit to end user to make a new language file.
This code closes a window, if you know part of it's title. It uses some AOL API's, hehe(sendmessagebystring). I used it for closing Netscape windows because the "Window Class Name" always changed. Not sure if this code has any use though...
This will get the hWnd of freaky programs that change class names every time you start it, and then close it. The only thing you need to know is part of the Titlename (Netsc, instead of "Web Page Title" - Netscape). This WILL close Microsoft Internet Explorer (old version wouldn't) now =Þ. Also, I made it so that you don't have to have a form named "Form1" (by using EnumWindows)
This is a Basic Neural Net, based on original code by Richard Gardner. This is designed as a learning program, to help in the process of learning and understanding the basics of coding neurons and neural networks. I've taken Richard's code, changed it around a bit to make the neuron data a bit more readable, and commented the code to explain whats going on at every stage. The program uses backwards propogation (or back prop) to train the network. There is a basic data structure for a neuron that stores all the information about the neuron and associated weights, and the code (Richard's, mainly) is broken down into parts that allow you to clearly see code for training, activation of a neuron, and getting an output from the network. There's a nice GUI stuck on the front of it all, which gives you a graphical representation of how the neurons are layed out in my code (its a static graphic). As it is at the moment, it makes for quite a nice tutorial program if you just want to compile it and watch it train for the preset functions, or enter your own input data and train it for that. Basic neural net knowledge is assumed (you should really know what a neuron is, and have some idea of what training a neural network to do functions like AND or XOR actually means, otherwise the GUI won't mean much from the outset). I'm still really only a neural net learner, so I don't make any guarantee that this is completely accurate or complete in anyway. Hopefully the code is written so that you can expand on it to make different neural configurations if you want to. I don't mind what you do with any of this program, or code, but would be interested to hear comments and/or suggestions.
This will get all the text from your forms, modules, and classes. I needed this to spell check some forms today. I also added a quick text search, and VBP info. including code line counting.
Dial-up Networking demo. Soon it will be updated with RasGetEntryProperties and RasSetEntryProperties API's. Some parts are not written by me...
I wrote a little dll. You can convert a bitmap to a jpeg image (with Compress quality) or a jpeg to bitmap image. You can also capture the desktop in both formats (if You are using more then 256 colors).