Results for "Category: Miscellaneous"
This article is intended to explain the usage of 64-bit integers. It goes over how to declare them (__int64), how to use them in format functions (%I64Ld), and how to convert strings into 64-bit integers (_atoi64).
This module will enable you to run a program, or open a file in its associated app with one command. It also allows you to add web or email hyperlinks just as easily. See the sample form for examples.
This code demonstrates using CreateRemoteThread to inject a dll containing code you want to run convertly into another process. Doing this allows you to run inside another process, so you have no footprint that shows up in TaskManager=0)
This code is useful for write, read and delete strings in regestry using wscript. You can now forget the cookies...
A very basic program to interpret values of Four Band Resistors by selecting the Band Colours.
This is a great way to run a file without having to get the path everytime you want to do it. It will check if there is an entry in the ini. If there isn't it will open a Common Dialog, save the selected file path to an Ini then run it.
a very simple and very easy way to enable, disable controls in any form. You can also get all editable controls list in the form. no other code can be as simple as this :) This is my first submission in PSC....please vote for me (i just uploaded a simple application to explain how to use)
For Beginners. Copy the contents of ListBox1 to ListBox2 where the contents of ListBox1 is checked off. Remove any duplicates from ListBox2 and remove contents of ListBox2 where the contents of ListBox1 becomes unselected. (uhmmm... hope that made sense)
For Beginners. Get rid of unwanted listbox duplicates in a few very simple lines of code.
couple of ways of moving data between two list boxes.
Using CSS you will be able to say what you want to be printed. Let's say: "What you print is only what you want to be printed"
This code is based on Ron Lights submission of similar title. Basicaly the code grabs the page from the United Media site, strips out the filename for the Daily Dilbert and writes out a page with an approprate IMG tag to view the strip direct. The code differs from Rons submission in that it uses FirebirdDEs WinHTTP code to grab the page rather than the older and more troublesome InetCtls. All kudos to previous authors.
I got bored so I wrote this clock.
A very simpile example of sorting. Not the most efficeint, but easy for beginners to see whats happening.
This is more for a programmer's tool then anything else. It allows you to select a window on screen with the mouse using a cursor and a smaller image representing that cursor on the dialog (which disappears when you click on it and drag it, reappearing when you make a selection)
Evaluates the input text and returns the result. Supports: multiple-argument functions, strings, octal, hexadecimal and decimal numbers, Recursion based method calls (as long as your stack holds out, it should be able to handle what you put into it)
Creates a list of files in a directory, something explorer does not allow you to do. List can then be printed or saved to a text file. Drag n Drop enabled!
Captures keystrokes from a remote machine. Can send fake error messages to remote machine to cheese people off. PLEASE VOTE IF U LIKE THIS CODE. (IF U DON'T LIKE IT FIND SOMEONE WHO DOES AND GET THEM TO VOTE!)
This code adds Register and Unregister capabilities to the right click context menu. Whenever you click on a DLL or OCX you will be able to unregister or register it easily. No more going to the command prompt to register those DLL's. This INF file imports keys into your registry. Make sure you back up your registry, for safe measure. To install just right click and select Install. Brought to you by D & M
I needed a *good* auto resizer to minimize the time spent on resize code. I tried a few auto resizers, but none of them worked the way I wanted. So, I threw together this little piece of code. Unlike other resizers making assumptions on how to resize your controls, this code makes no assumptions. You the programmer are in total control of the resize behavior of each control on the form. IMPORTANT NOTES BELOW!