Advertisement

Results for "Author: jon barker"

ASP_Volume3 #51518
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_Volume3 #51519
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_Volume3 #51520
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_Volume3 #51521
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_Volume3 #51522
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_Volume3 #51523
_ 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_Volume3 #51524
_ 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_Volume3 #51525
_ 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_Volume3 #51526
_ 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_Volume3 #51527
_ 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 #51528
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_Volume3 #51529
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_Volume3 #51530
__ TeleFusion TV Listings guide. Parses webpages for TV info. (made to replace My DigiGuide) __

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

ASP_Volume3 #51531
_ 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_Volume3 #51532
_ Beginners Listview LVW tutorial: Various difernt views, add items WITH ICONS, spreadsheet style! _

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

ASP_Volume3 #51533
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!

C_Volume2 #70984
_ 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

C_Volume2 #71019
_ 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.

C_Volume2 #71258
_ 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 :)

C_Volume2 #73059
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)

Languages
Top Categories
Global Discovery