Results for "Category: Miscellaneous"
Shows how to bounce an image around on a form. The image can move in all directions.
This program will protect folders from being opened without a password. The only problem with this is that it won't werk if the folder has been renamed! If you know the code to protect a folder from being renamed then please Im me(xMEminemMx) or e-mail me(DMXXMD44@fcmail.com). I really didn't want to post this up here because instead of people voting or commenting on it they will jus d/l and steal the code and change some stuff and say they made it, I spent a lot of time debugging and fixing this to werk so please if you like the code then vote for it and use it for what ever you like, also please send in comments.
This will record the mouse X,Y positions, and play them back. The only problem with this is that it is limited to how long it can record, it doesn't record long, but that can be fixed if you want to mess with the code and fix it.
This Shows you How to Manipulate Message Boxes Using some Simple API. You can change the font size, add a strike-through, underline, bold or italic to the text of the Msgbox. You can Also Position MessageBoxs other than having them appear in the center. Also you can create self closing messageboxes that close after a period of time you specify in microseconds. Enjoy.
Create a 3 of 9 bar code without using a TTF, DLL or OCX.
Demonstrates one method of creating custom menus that can contain images, combo boxes, or any other Windows control. Although this is not the most powerful method, it doesn't require any API custom calls or any third party .ocx's (like the Office Toolbar). NOTE: This is a DEMO project. It is not a finished product. I realize that it has some pretty big limitations as it is, but it should be enough to get someone who needs to add VB controls to menus a good start. I made it simple to make it easy to understand. Please feel free to use it, modify it, and call it your own...but please don't tell me things like "It would be better if it had a calendar control" or something like that. Instead, modify it to include a date-picker, calendar control, or whatever and re-post it as an improvement. I am sure others would appreciate that and I sure won't mind.
Automatically rescales a form to keep the layout identical at any size. For those of you out there who lock your forms to a certain size because rescaling is such a pain, give this a try...you will love it! NOTE: Although this code works as is, it is JUST AN EXAMPLE. You should be able to take the same logic and apply it to all of your forms, but please note that this example does not handle every type of control. For special controls (dbGrid, etc.) you will have to write a little code yourself to make it work.
Simple API call that tells whether or not a particular form is open. Useful for managing popup forms or a series of forms. Sample usage: If FormIsOpen("Color Picker") Then ' ....Do Something Here Else ' ...Do Something Else Here... End If
The code is a VB class used to log data in a series of text files. The text files will have common name with unique indices (the file index is incremented each time a new file is created). You can set limits such as how many lines/records in a text file and how many files to create. This class is a general purpose tool that can be used to log e.g.: data, system events and errors. You need to specify explicitly the common file name, extension, path, number of records in a file and number of files to create. There are options that you can set: - whether to continue logging from previously created files or to start with a new set of log files - to continue printing/writing on next cursor position (print without carriage return) or on next line (print with carriage return)
Class object that gets the systems available screen workspace dimmentions and can also position a form to one of 9 screen quadrants. All API.. No SysInfo Control!
ANOTHER starfield (like there is not enough already) this is faily basic code using X,Y,Z distances, VERY simple 3D.
I downloaded the Disoco Keyboard a few days ago from A.K.San and did a little work on it. The form code is completely rewritten - but the base functions in the modules are all A.K.San's not mine. I added a "editor" of sorts that lets you create save and load patterns very easily. I was considering making this able to minimize to the system tray. Any thoughts, sugesstions, whatever are welcome. Instructions: Green=On, White=Off. Select a column by clicking beneth the circles pressing "Insert" will place a row before the current one and "Delete" will delete the selected row.
PART 1/2: GAME ENGINE *********************************************** I've just added a few more features to yesterdays submission and compacted it a bit so I can post it here. The man now can face eight directions with ten frames in each direction and looks a lot nicer. Sorry to those ppl who want DX, but this is (at the moment) a purely BitBlt run engine. Does anyone else get slow framrates (ie less that 50?) if so could you post a message. ********************************************** This demo shows a few new features in my Envision2d Graphics Engine (BETA 3) The man (animated) walks around the screen which scrolls behind him. It uses the Bitmapped Font(for the text), TileSet(grass) and ZOrder(trees and man) classes of the engine. I have had this running at 160FPS on a 1GHz! (It has been limited to about 80 to prevent lockup). This is without ANY buffering. each tile and tree is drawn 80 times a second. Each element (trees/man) is sorted every loop, so they will always be drawn in the correct order. This demo is simply to show how eaay (and fast) the engine is to use. The movement is based entirely on the KeyPress event (very evil) and this does detract from the smothness a bit. If you like it give us a vote and any suggestions/complaints/comments would be appreciated.
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.
This code shows the basic function of the HScroll and VScroll bars.
This program converts fahrenheit to celsius and back again. Very good working example.
This code contains 3 examples of sorting numbers. Bubble, Exchange and Shell sort. With shell sort I was able to sort out some 45 000 numbers in less then 8 seconds. (no API) If anyone finds a faster solution please let me know.....
This code is a simple way to make text scroll in a label, like a HTML marquee. It is simple and very well commented. It's easier to use and understand than all the previous examples I have found so far. Nice to use in one of your programs, if you need a little animation... Enjoy!
You can make you form just like a Window.. in fact just like microsoft windows, window... :)
Hello, this example shows you show to view powerpoint (.ppt) files inside your vb project. You can also change the file and change some viewing options. Every line is commented. please vote! Thanks hope this help, Matt!!