Results for "Category: Miscellaneous"
After seeing an attempt to display text 'Matrix' style, I figured I would upload an attempt I made at it a little while ago for fun.
This is probably the first NetZero alteration made for v3.1.2 considering they only came out with it yesterday morning. It basically removes the NetZero banners, but also replaces the logon screen. I put a lot of work into the code and would appreciate votes and/or comments. I really don't want there to be arguments in the feedback section over how this effects NetZero, so for anybody who is going to post a reply please just let the comments be about the code. *Now with disconnect button *It now takes away the 40 hour time limmit!
This code is the primary module of Calculation Solver, a compiler-based string evaluation program. This module can be called in one simple line which evaluates and returns the result. Feel free to use it in your programs (just remember to give credit where credit is due). Full syntax description and sample program is included as well.
Verify if two images will hit if you do move one of the image of X left and X right. Very useful when programming actions, sports or rpg games.
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
Lately I've seen some posts for editing ini files that involve opening the ini file directly as a text file, looping line by line thru the file until locating the line desired and then altering that line. There is a much easier and more reliable way using the Windows API. This class module makes that easy. It also shows the proper way to handle errors that happen in a class module by raising custom error codes to be handled by the application that using using the class.
C2VB parses through C style declarations of functions, structures etc and creates the VB equivalent. I decided to create this little program to make my life easier when working with APIs. Instead of having to "translate" an API declaration from the Platform SDK help file, I wanted a way to do that automatically. This is the result. All you have to do, is copy paste the declaration from the help file. Apart from being a handy app. it demonstrates how to parse instructions, how to implement a rudimentary splitter and above all, it explains what do all those wierd things mean in C! It can process either user inputted instructions or it can read from a file. Optionally, a filename can be passed on the command line. If you have any comments or disagree with the way I converted the datatypes, let me know.
Demonstrates OwnerDraw combo boxes in VB. Gives a few examples of the sort of items you may wish to draw. Particularly useful for art/drawing apps.
Replace the array descriptor that VB uses with your own descriptor structure, and make it point to your data. Here is an example that forces VB to create an array of bytes that only takes 2 bytes per array element instead of 6, plus the descriptor size. Lots of comments. Please don't forget to vote!
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 form I created to encourage shareware registration. Instead of the user having to navigate to and through my website just to get to a PayPal link, they can select their level of registration, and the program will launch their default browser to the appropriate PayPal x-click payment page. I put the sub to open the users default browser in a BAS file with the appropriate declaration so you can use it in other projects by just dropping in the module. If you like this code and find it useful, please vote.
Makes a form shake when a button is pushed, I made this for a game i'm working on, great for explosion effects, makes the form shake/vibrate on the spot (like the BUZZ in yahoo messenger)
This is an IMPROVED version of my other "Create your own tabbed dialog" like the other this code lets you create a tabbed dialog (like the tabs used in property pages) without using any OCX/API! In this version, I've gotten rid of that dotted focus box that used to appear on a tab when it was selected, and to make it look EVEN BETTER, as an option, the selected tabb will turn BOLD. (SEE SCREEN SHOT) Please VOTE! Happy Programming! :) Any comments would be appreciated! please vote.
Neural networks (NN) emulate the thinking process of the human brain, including the ability to "learn". Many applications exsist for NN's, most popular of which is video games. This is a complete NN "Engine", all nicely packaged into one class module. v1.0.2: Some optimization and NN saving. v1.0.3: Actually made the NN export work (:Þ) and added NNImport. Toyed around a bit with Memory Banks, but have put them off in the background for now. v1.0.4: Added Noise and Momentum factors. Noise is useful for a small sample of scalar data, while momentum prevents drastic changes when training as well as promoating continued change in the right direction. Also see my chess program that uses this class. (Not yet updated with v1.0.4... on its way...) Just also want to say that this work is heavly based off of the work by Ulli. His code used to be available here on PSC, but I don't know what happened to it.
Submission 2 for the RGCC contest Uses a neural network to provide a "universal" logical operator replacement function. This wonderful function will do all the work that Xor, Or, And, Imp, Eqv, and Not would do - IN ONE SIMPLE FUNCTION!!! God I love this contest.
This is an example that shows you how to append unlimited items to the system menu! Reach where you couldn't reach before...
One of the most common obstacle for a beginner VB programmer is how to suppress the textbox right-click menu. This example shows you how with heavily commented code.
This is a simple class module that wraps the Always On Top function to make your forms on top of others.
By using the "Performance Timer" in all modern PC's it is possible to achieve timing accuracy of greater than one microsecond (yes, 1 millionth of a second). This code shows you how to use API calls to access and use it.
A clone of the MsgBox() function, but allowing any buttons you like. I know similar things have been done before, but I don't think they're as complete as this one.