Results for "Category: Files/ File Controls/ Input/ Output"
How to use 'Regions' to create different shaped windows.
Demonstrates how to make a hyperlink, no subclassing or mouse capturing, and the result is a proper looking hyperlink...really easy! Also includes a statusbar if anyone's interested. (win32 API code, heaps of comments)
Simple Win32 program to demonstrate the shell 'Select Directory' browse dialog. This is useful when you want the user to select a directory, rather than a specific file. It is not as well documented as the 'Open File' common dialog in the win32 help. It took me a while to find it.
Cleans up and renames your mp3s to a specific format, example: "[Artist] Songtitle.mp3". Option to pull artist and title info from the ID3 tag if one exists, and to update your ID3 tags with the new properly formatted Artist and Title.
Easily create custom shaped forms without using any complicated code, it’s a simplest example how to do that. Coded using vs.net 2002. This zip file also includes a Gradient Sample. SO, Please Vote!
This will install and uninstall your vb program. All it requires it that the vb runtime dll be in the same folder as the compiled install.exe file. Just throw the runtime and all the ocx and dlls that your program uses into a folder, add a data.ini with the proper settings and the intall.exe and uninstall.exe into a folder and that is all you need. (Tuesday, June 10, 2003) UPDATE: It now adds your program to the 'Add-Remove Programs' list in the control panel.
Bug fixed! When running more than 1 patch file.
With this program you can give folder its own icon. It works on net disks and floppy disks, too!. Icons can be set from ICO file or extracted from EXE, DLL, ICL, OCX files. Program works with Windows 2000, Windows 98, Windows ME. Definetely check it out. It will make your life a little bit colourful :). And please vote if it does. Any suggestions, improvements & bug reports are also welcome.
Updated 3/23/2001 11:17 PM !!!!!!!!!!!!!!!!!!!!! This code will allow you to build an input form "on the fly" from a database. Instead of creating and hard coding the same old input form you can automatically build your form based on column names or values in your database! Just added is another page that will submit your data to your database "on the fly", truely making the process of creating web based entry forms DYNAMIC!!!!!!!! Now whenever you have to alter your input forms you just have to change your SELECT statement, no more HTML!! Please vote for this code if you find it useful, and feel free to send me any questions you have regarding the code. Thank you.
Simple example of how to select (and retrieve) multiple filenames when using a common-dialog and adding them to a listbox.
(v1.01) -- Some function to manipulate file strings. GetFileName > Returns only the filename -- GetExtension > Returns file extension (optional lowercase) -- GetFileNoExtension (New) > Returns filename without extension -- GetPath > Returns full path. (optional without drive) -- GetDrive > Returns drive (optional include "\") .. Also fixed a horrible bug in the GetFilePath. Screenshot is from v1.0
This logger has the same functions as most other keyloggers that u get off planetsourcecode but it has a few more useful functions like : · Take A Screenshot Every so many minutes · Log anything the victim does in Hotmail and MSN into its own window (ie. Passwords, or MSN Instant Messages) · This Logger runs in the background and is un-noticeable to the victim. · You can set the logger to pop up a message box every so many minutes · It is disguised as mirc (ie. mIRC password box pops up on startup. If you type runmirc, mirc will run. If you type runlogger, the logger will run) There is probably more stuff, i just don't remember right now.
This will delete all files in your temp directory older than 10 days. I made this program 'cos for some reason, Disk Clean-up wasn't deleteing the files. It will also check and delete files in subdirectories and the sub directories themselves. I have to stress though ; be very carefull what directory you use this on - I accidentially deleted my windows directory during testing ;) Feel free to vote and any comments are appreciated
This will split a into parts of the given size. I know that there are a lot of these on psc (and other sites), but the code here is clean, neat and very well commented and keep in mind that this is for learning purposes. Good for anyone learning about file/string handling. The gui isn't up to much, but the code is centered around a module, so you can just add the module into another project and call the functions. You only need three things to use the module, a form, a label and a progressbar. The interface is entirly up to you. All checks are done internally, so the interface code is about as minimal as you can want. Any suggestions for improvements are welcome and feel free to vote :)
This will get various statistics of your code. it can scan projects, forms, modules, classes and controls. The informations retreived.. well, just look at the picture. The code is a definate improvement on the last version which only scanned projects, forms and modules. This version can scan classes and controls, plus gets the amount of declared variables, properties and api decalrations. The code itself has also been slightly re-structured for ease in inserting any other files you wish to scan for. Let me know if you have any suggestions, as these improvements were suggested in the feedback from the last version. Any votes are also appreciated :) Thank you.
I haven't submitted in a while and figured that some of you might might be able to use some of the things I have worked on. Much of this code was inspired by this site or derived from this site. This submission is a File Object by encapsulating Win API functions into an object oriented dll. I have used this dll in several applications currently distributed in high stress environments. Includes advanced file and directory properties and functions including File Input/Output. And a file searching collection. File Object Properties CRC32, CRCAlder, Computer Name, Date Accessed, Date Created, Date Modified, Directory, Drive, Exists, Extension, Name, Size, Type, Fixed Disk, Hidden, LastAccessed, LongName, Parent Directory, Read Only, Short Name, Title General File Functions FileCopy, Delete, Execute, ExploreDir, FileMove, FilePropertiesDialog, FileRename File Input Output Functions FileOpen, FileClose,GetData, GetDataFromFile, PutData, PutDataInFile, SetFilePosition Directory Object Properties Exists, Drive, ComputerName, Path Functions Copy, Create, Delete, Move
Very fast recursive function to calculate the size of a directory (folder). This code is simple and built for speed. This code does NOT use the FileSystemObject because it is NOT installed on all PCs, therefore you cannot write code using it (unless you include the scrrun.dll - Microsoft Scripting Runtime with your application). **Update - I added the search options for System, Hidden, and Read-Only files so the result will truely match the same number of bytes that is displayed in Windows Explorer properties.
Will check the parent node of a Treeview control when all of its child nodes are checked. will uncheck parent node when any one of it's child nodes are unchecked
This Simple program (for Beginners) retrives file properties like Size, Modified date and time and also the File attributes. No API's, OCX's or DLL's. Just simple code anybody can understand. I hv tried to comment the code (I am not good at it though). Pls. Pls. Pls. VOTE
let the program delete itself ;)