Results for "Category: Miscellaneous"
Similar to BinFileEdit1, but for readers who have a fast machine which can afford a synchronized display of both hex and character highlights with each move in Edit Mode. As with BinFileEdit1, this code includes Hex Edit functions. View/edit binary and text files, with both hex and character search facilities fully functional, and you can print any displayed page (each page upto 512 bytes, showing byte positions, hex and characters). - Note: This version is for a faster machine, if you have a slower one, you may use BinFileEdit1 instead.
Sunero ActiveZoomer is an application, which is similar to the Windows 2000 zoom application… It has the following features… + It shows a zoomed image of the screen, using the mouse position. + Completely Flicker – Free + Uses API + Zooms according to the size of the window + Stays on Top i.e. above all the windows (including the start menu) + Specify area to be zoomed All this and more in this incredible app! PLEASE VOTE !!! :o)
this simpel program will shut down windows WITHOUT the use of any API in just 1 line of code....please vote for my code thanks -jason
Okie this is for all you AOL people. This is a module i have been putting together for a while now. When i was writing it i didnt write it with intention of giving it out, so its not commented. Begginers will not understand this code, but will be able to use it. Advanced people should be able to understand it, but i dont suggest messing with it because you can mess something up. I tested each function/sub and tried to make it as good as possible. Tell me what you think of it and dont forget to vote.
This code makes it possible to use function pointers (no, not OBJPtr) basic funciton pointers, in VB. It uses two API calls. Basically, it uses a window callback as the entry point for your new function, redirecting the window call to the function supplied. A little out of the norm, but a handy thing to have when callbacks to non-objects is needed. If you are attempting to call objects back, I recommend either the undocumented ObjPtr() or CallByName (when you know the name of the object function to call)
Displays a list of available printers installed on the computer, and lets you select one to use.
Print in columns to a printer or adapt this code to print to a form. First character alignes in a column for each row. No "Space(##)" and no grid. The project I am working on needed to be able to print an unforseen number of single words enterd by the user, whether 5, 25 or 100 and it should be neat and consistant. This code is a cut down version of my sub to show the principle and can be easily adapted. My thanks go to Harvest R for a tutorial(80647232000.zip) I downloaded in Aug/00 which I highly recomend. I hope this code can be used as a learning aid.
Prints out a 'table of contents' for your Visual Basic program, which contains method names, syntax, and comments only. Useful as 'cover sheets' for the actual code printout.
This sample project shows how to get the following information out of EXE / DLL / OCX files: CompanyName , FileDescription , fileVersion , InternalName , LegalCopyright , OriginalFileName , ProductName , ProductVersion
This class (or DLL) is used to load resources from resource-only DLL. You can load common picture formats (BMP, ICO, CUR, JPEG, GIF) directly to VB (through picture object). You can load also strings, HTML (as string or to file) and play WAVEs. All other resources can be saved to file on disk and loaded then (including those that can be loaded directly to VB. This file includes compiled DLL, class, example project and example resource DLL, created in VC++ 6.0.
This code demostrates several things you can do with Drag and Drop.
This new version of my neural net is not like the frst one at all...it is a complete remake and works much better(plus this one has a purpose). the net can be trained to do a single task in a few seconds, then after that it will take less that a second(at least on my comp) to do the same task over, it is an excellent way of having a computer learn something(in this case a string). If you like this please post comments and vote, also if you are working w/ NeuralNets then please email me and we can work together(with an app i am making that will allow ppl to use the same code-window for 10 diff languages..i will post it when done)-BTW: because of a complaint from them i now know that the background image i use on this originally came from RG Soft and is copyrighted by them.
Example code that will show how you can use the custom section (and LoadResData) of the resource file to store misc. files into your executable. Along with that, if one of the files is a .WAV file, to play it directly from the resource file without extracting it. Other parts of the code will show how you can embed JPG files into the resource file instead of .BMP files and use those files for your images in your program. This will help lower the size of your program if you love to use images in your program. Using the same code it will also show how you can extract out files to the users hard drive that were put in the resource file. A good usage of this is lets say you have a DB application and would like to give the ability to make a new DB file, but you want to make sure the DB has the write structure and filled with default data. Just embed your DB file into the resource and extract it out to a new file when the user wants a new file. I know a few days ago somebody else posted code similar, but I had this up here on PSC a long time ago (been removed since) and thought that since resource files can provide so much, it would be a good idea to post again for those who missed the other authors post. KEYWORDS: WAVE WAV RESOURCE LOADRESDATA CUSTOM SOUND PLAY EMBED SNDPLAYSOUND SND_ASYNC SND_LOOP
From time to time I write some little application or game for me and my co-workers to use and in the program I am using some new control I made or downloaded. I already know they have the VB runtimes so I dont really feel like making an install for them so I just embed the OCX into the EXE using the resource file, then on the program start up it checks for the files existance. If it cannot find it [like on the first time] it will extract the OCX from the EXE to their hard drive and register it. Then it will open the form(s) that use it. This project shows how I do it. While I would never do this in a professional application, some of you may like this. However, I know this code can show some of you malicious programmers out there how to embed a virus or something like that. I had to think long and hard before I shared this. It is not all that advanced and if you are any good you would of figured out this on your own. So I decided there are enough legitimate reasons that others may like this code so I posted it. Please everyone who is responsible...please get a Project Scanner to scan source code projects for code like this (like the one listed here on PSC or mine at http://vbasic.iscool.net )
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.....
-Well,with the NFL season upcoming I needed something to take up some time so I wrote this program to calculate the qb rating of your favorite player. The program will load the image of the Qb you choose and his team emblem(see the screenshot) and calculate his rating based on values you enter. I have includedthe calculation from the Nfl website in hopes that someone can find the error i made in the math code.The rating for the values entered should be 125.00 even. The math is wrong so.please dont vote.Hopefully someone who likes football as much as i do and codes better than me can figure this out.e- mail for questions or comments: [email protected]
Uses API to immitate keyboard strokes, into an extrenal program. Can easily by changed to immitate the strokes, into any VB program
This program will grab the Weather from Weather.Com by using a free 3rd party component by Softshell Solutions - http://www.softshell.net/asp/cp/weather.asp
This allows a VB program to capture either the screen or the program window. It has been tested under Win95 and NT4.0. It derives from a routine by Dan Appleman (VisualBasic 5.0 Programmer's Guide to the WIN32 API, page 303) which unfortunately does not work reliably under all conditions. Dan Appleman's exhaustive preliminary tutorial, though, is all it takes to understand the code.
Easy Code here: Place an icon in the System Tray and have a drop menu appear when you click the icon with the right-mouse button. If you already have code with bitmaps in your menu, just add this code to your project! This code DOES WORK, just be careful and follow the tips. Then slap yourself for other people's long and drawn out useless code from the past.