Advertisement

Results for "Author: edward catchpole"

6_2008-2009 #202485
Everything a Window Handle can do (almost)

Grab the window handle for any window then you can: move and resize, destroy, flash title bar, set caption and get caption to that window. To use: open a window like Notepad or Paint and click on Get Handle in the middle of the form. Then a message will appear, click OK then you have 5 seconds to activate a different window. At the end of those 5 seconds you will hear a sound. It is now safe to torture that window.

6_2008-2009 #202486
A++ Control Resizer with 4 modes!

Simply and easily resize all the controls on any form by use of a reusable class. Set the different modes for the Left, Top, Width and Height properties of controls by entering 4 numbers into their Tag property (a number for Left, a number for Top, a number for Width and a number for Height). There are 4 different modes: Do nothing: the resize code wont touch properties with this mode. Proportional: control property will be resized according to the forms change. Static change: the control property will move with the form. Limited static change: if the form is made too small then the control wont go off the screen (still in testing stage). For example; a label with a tag of '0011' will not change its left or top property, and the width and height will change proportionally. The next release will be even more improved with the Limited Static Change fully tested and an add-in to easily configure tag properties. Please vote and leave constructive critisism.

7_2009-2012 #224415
Show File Property Dialog

This function will display the file property dialog for any file you specify - it is the same one that Windows Explorer shows when you right click and goto 'Properties'. The original article can be found at: http://www.mvps.org/vbnet/code/shell/propertypage.htm

7_2009-2012 #224416
Restore IDE

If you have worked with fullscreen DirectX, then you'll know that when you end your program, the VB IDE is all messed up, in the wrong place of the screen etc, and you have to minimize then restore it to get it back to it's original state. I got tired sick of having to do this so I created this simple little add-in which will detect when your program ends and automatically restore the IDE to the state it was in before. To use it, simply compile and place in your main VB program folder (usually: C:\Program Files\Microsoft Visual Studio\VB98\), then open VB again, goto Add-Ins > Add-In Manager, and double click on "Ed's Restore IDE" to load it for the first time and you're done!

7_2009-2012 #225001
A++ API Viewer (with find error from error number!)

An excellent alternative to the standard API Text Viewer with extra functions! This has the standard Declares, Types and Constants but also Enumerations where certain groups of constants have been neatly formatted into an easy to use Enum. Also find error code! This function will find the error from the error code or from the GetLastError API. This also includes AutoComplete, variable scope ie: Private or Public. Also shows how to put a progressbar in a status bar. An excellent source of database access code for getting started for a database frontend. API Viewer will also copy your entries to the clipboard and format them into an easy to read format. Please vote!

7_2009-2012 #225002
Lock-Out

This will stop anyone from accessing your computer. Compile this into an exe and remember that the password is password - DO NOT forget. If you forget the password then there is no known way of getting back in. You have been WARNED!!! This works by: hiding your cursor so that the unauthorised doesn't know where it is, puts the cursor in the top left corner of the screen and makes it stay there, fools the system into thinking the screensaver is running therefore disabling Ctrl+Alt+Delete, Alt+Tab and the Windows Key. If you put in the password wrong 3 times the system is forcefully shutdown. There is no way of getting round this that I know of without having access to the system in the first place.

7_2009-2012 #225003
Everything a Window Handle can do (almost)

Grab the window handle for any window then you can: move and resize, destroy, flash title bar, set caption and get caption to that window. To use: open a window like Notepad or Paint and click on Get Handle in the middle of the form. Then a message will appear, click OK then you have 5 seconds to activate a different window. At the end of those 5 seconds you will hear a sound. It is now safe to torture that window.

7_2009-2012 #225004
A++ Control Resizer with 4 modes!

Simply and easily resize all the controls on any form by use of a reusable class. Set the different modes for the Left, Top, Width and Height properties of controls by entering 4 numbers into their Tag property (a number for Left, a number for Top, a number for Width and a number for Height). There are 4 different modes: Do nothing: the resize code wont touch properties with this mode. Proportional: control property will be resized according to the forms change. Static change: the control property will move with the form. Limited static change: if the form is made too small then the control wont go off the screen (still in testing stage). For example; a label with a tag of '0011' will not change its left or top property, and the width and height will change proportionally. The next release will be even more improved with the Limited Static Change fully tested and an add-in to easily configure tag properties. Please vote and leave constructive critisism.

Languages
Top Categories
Global Discovery