Advertisement

Results for "Author: jon barker"

ASP_Volume2 #29922
_ Extract an icon from any file you wish, including the root of a drive or a folder _

You can use this code to get the icon from any file on your hard disk.... Simply call the function with a filename; 'c:\testfile.exe', an imagelist to add the icon to; 'imagelist1', a picturebox for buffer purposes; 'picturebox1' and the size of the image you wish to extract, either 16, or 32 pixels. This code returns the index of the icon that has been added to the imagelist. tHe_cLeanER

ASP_Volume2 #29957
_ How to query a Half-Life, or mod (eg Counter-Strike) server and get map information, player etc _

This code connects to a half life or half life mod server that you type in, and retrieves info about it. Perfect if you wish to make you own gamespy program, or something similar.

ASP_Volume2 #30196
_ Authenticate via HTTP 401, digest calculator (You have no idea how long this took to work out! ) _

This code takes into account the NONCE, CNONCE, NONCE-count, Username, Password, HTTP Method, URi, realm......... and finally QOP type :) THIS CODE IS FOR WEB DEVELOPERS WHO WISH TO AUTHENTICATE VIA HTTP, AND KNOW WHAT ALL OF THE ABOVE ARE... (if you dont, i suggest you stop reading now :)

ASP_Volume2 #31997
Get a chunk from a file, but specify start and finish (usefull for splitting files / P2P program)

This code can be made to take a certain chunk of your choice from a file. Mainly for making resumable downloads etc, or working on a patch for a program... I made this cos im working on a file sharing program that downloads from multiple sources. SERVERAL UPDATES HAVE TAKEN PLACE (thanks to guys who posted comments improving the code)

ASP_Volume2 #32258
The lamerizer ( or lameriser ) ( or Thë £âmë®ízë® )

Youve all seen that stup1d squiggly text people use in chatrooms etc... You CaN NoW eaSiLY WRiTe LiKe a ReaL LaMeR (ÎÑ ÇÃ$Ê ÝÖú ÑÊÊÐ †Ö fâkÊ TÖ ßÊ §úçH...). No delamerizer as of yet :( pulls the text from a textbox and uses the [ replace ] command... no commenting... but it seems reasonably easy to understand.. :)... jB

ASP_Volume2 #32782
WINDOWS XP THEME STYLE BUTTONS ETC!! UPGRADE CONTROLS!

THIS CODE WILL ONLY UPGRADE CONTROLS IN WINDOWS XP, tho it wont cause any errors etc in other OSs..... ever wanted ur controls to look like the ones in windows XP, but didnt know how? simple... this program is completely self contained... NO EXTRA DLLs, OCXs ETC ARE NEEDED! PROGRAM CREATES THE THEME RESOURCE (manifest) IF IT DOESNT EXIST! look at the screenshot! by: tHe_cLeanER, enjoy!

ASP_Volume2 #33638
A Fully (i hope) string manipulation example / tutorial... InStr / Replace / Split / Join / strComp

Utilises a lot of the string manipulation commands to do just about anything with a line of text. Some of the more advanced functions i learnt as i went along, so they arent gonna be particually perfect! I hope this should be more or less bug free tho... I designed this to be for beginners / intermediatte needing a hand geting going in this field. Im sure other people are gonna have string manipulation tutorials already on PSC, but what the hell! have another one... :) Beginners: if you have any problems getting the code to work, email me at the address at end. tHE_cLeanER

ASP_Volume2 #33708
A Tutorial for Writing to / READING FROM An ASX playlist (the ones that Windows Media Player uses)

You can use the following code to read from, and write to ASX playlists, the type that can be read and created by Windows Media Player, and generally most other music programs. This may not be the easyest code in the world to understand, so i would recommend you have a good knowlage of string manipulation before reading this (see my other uploads) For the following code you work correctly, YOU MUST HAVE, ON THE FORM: 2 x Listboxes, name List1 and List2 1 x Textboxes, name Text1 tHe_cLeanER

ASP_Volume2 #34417
Change ANY users / user PASSWORD on the network / lan you are connected to

This code, using the windows API (NetUserChangePassword) call can change any users password on the network you are on, provided you know their original password. You need to know: 1. The machine name (ie. \\jon) 2. The username (NOT case sensitive) (ie. the_cleaner) 3. The old password (ie. password) 4. the new password (ie. password2) Enjoy!

ASP_Volume2 #34418
DELETE a user from ANY COMPUTER on the network

Simple API call to delete any user account on the network. I think you need to be admin to do so... infact, its very likely you have to be :) You need to know: 1. Machine name (ie. \\jon) 2. Username (ie. the_cleaner) Enjoy! :)

ASP_Volume2 #34437
Connect to a remote share AUTOMATICALLY, with NO user input.

Ive seen a lot of source code that can bring up the window asking the user to connect to a remote share, but none of which would work without user input. This API call (WNetAddConnection) is very easy and simple to use, altho i cant guarrentee it will work on 98/ME.... tHe_cLeanER

ASP_Volume2 #43593
_ Reverb :: Playlist generation program :: ASX M3U WPL 3mP PLS HTML TXT

This program goes though your MP3 collection, creating playlists automatically in the format you choose for artists you have 5 or more songs from. Can also create one large playlist from all your songs... Supports playlist types: ASX M3U WPL 3mP PLS HTML TXT Also see the website for EXE / screenshots etc: http://thecleaner.publication.org.uk/reverb Enjoy!

ASP_Volume2 #43594
_ QuickEvent - event viewer for NT / 2000 / XP. Just like win eventvwr.exe program. Also remote PC _

See the screenshot, lists events in all event folders, alows you to see extra details about them including user name, time, date etc... Improvment on my code only submission about using the eventlog a few months ago.

ASP_Volume2 #43595
A Winsock File Transfer example for VB.NET (and it works! :) Clocked at 1Meg/second over 10mBit LAN

This code (the first of its kind in the VB.NET section of PSC) will allow you to quickly and easily send a file over dialup, LAN or BroadBand. Works fine, and all the programs that i tested it on (from 20k to 200Meg worked fine after the transfer!) If you have a brief knowlage of file manipulation, this should be pretty simple to understand.

ASP_Volume2 #43596
File Functions: Read from file on disk / Create file on disk

This code simply writes to a file on the disk, or reads the contents of an existing file on the disk into a text box.

ASP_Volume2 #43597
Read / Write information to the Windows XP / 2000 / NT (?) Event Log (Admin Tools item > Event Log)

This simple code will write to the windows Event Logger, which can be read by going into Control Panel > Admin Tools > Event Logger. Useful for diagnostics after compile time, when you have no debug window. YOU NEED TO ADD THE 'EVENT LOG' CONTROL FROM THE 'COMPONENTS' MENU TO YOUR FORM!

ASP_Volume2 #43598
_ A Task Manager for VB.NET, displays processes on local / remote computer, can end / terminate them

The code lists ALL programs running on a local, or remote computer, and gives you the option to close or terminate them. It was originally styled like the XP/2K task manager, but i removed some of the performance tabs etc for simplicity. Enjoy! tHe_cLeanER

ASP_Volume3 #51515
The lamerizer ( or lameriser ) ( or Thë £âmë®ízë® )

Youve all seen that stup1d squiggly text people use in chatrooms etc... You CaN NoW eaSiLY WRiTe LiKe a ReaL LaMeR (ÎÑ ÇÃ$Ê ÝÖú ÑÊÊÐ †Ö fâkÊ TÖ ßÊ §úçH...). No delamerizer as of yet :( pulls the text from a textbox and uses the [ replace ] command... no commenting... but it seems reasonably easy to understand.. :)... jB

ASP_Volume3 #51516
WINDOWS XP THEME STYLE BUTTONS ETC!! UPGRADE CONTROLS!

THIS CODE WILL ONLY UPGRADE CONTROLS IN WINDOWS XP, tho it wont cause any errors etc in other OSs..... ever wanted ur controls to look like the ones in windows XP, but didnt know how? simple... this program is completely self contained... NO EXTRA DLLs, OCXs ETC ARE NEEDED! PROGRAM CREATES THE THEME RESOURCE (manifest) IF IT DOESNT EXIST! look at the screenshot! by: tHe_cLeanER, enjoy!

ASP_Volume3 #51517
A Fully (i hope) string manipulation example / tutorial... InStr / Replace / Split / Join / strComp

Utilises a lot of the string manipulation commands to do just about anything with a line of text. Some of the more advanced functions i learnt as i went along, so they arent gonna be particually perfect! I hope this should be more or less bug free tho... I designed this to be for beginners / intermediatte needing a hand geting going in this field. Im sure other people are gonna have string manipulation tutorials already on PSC, but what the hell! have another one... :) Beginners: if you have any problems getting the code to work, email me at the address at end. tHE_cLeanER

Languages
Top Categories
Global Discovery