Results for "Author: jon barker"
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
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
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!
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! :)
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)
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 :)
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.
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
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!
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
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.
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.
TV LISTINGS PROGRAM. Displays channel guides for all UK TV cable channels. Includes page caching, favourite channel + show highlighting, SEARCH FOR SHOW, browse by category.... FULL SOURCE CODE, NO EXTRA DEPENDANCIES. Uses: Context menu, listview, web class, date class, tooltips, lots of string manipulation! :D SEE THE WEBPAGE FOR MORE SCREENSHOTS and executable: http://thecleaner.publication.org.uk/telefusion
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.
BEGINNER TREEVIEW TUTORIAL how to use the treeview and add items with icons to the treeview. + Spreadsheet view etc. First release, update with properties, events etc coming soon. Source code examples included
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!
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
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.
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 :)
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)