Results for "Category: Files/ File Controls/ Input/ Output"
This code will let you read in values from a file of your choice, probably a .ini or .txt into a combobox. It will also let you save the contents of the combobox to a file of your choice. Example: Call WriteCombo(combo1, "C:/example.ini") or Call ReadCombo(combo1, "C:/example.ini")
protecte your EXE file via put a password to file and when you open the file you must type the correct password then it will be run.Note: first compile password project with name "data.dat" to the folder of EXEProtector then run EXEProtector project and enjoy! Please rate me if you like this.
Did you ever want a self-extract exe? This program creates self extract exes. you can pack into one exe many files, at any size, and when you run the exe, the exe will extract the files.
This is best for stealing MSN,Yahoo passwords.My first keylogger.Plz vote!
Encode and Decode base64 at 6 megabytes per second !!!(on a Intel Pentium 233) Documentation is in the zip (full source code included). Based on Sebastien's functions posted few monts ago on this site.
use to watch the sites visited, allocate time spent on the net, create a log file, hide in the system tray. uses password so you have control over the program. added the use of adding more users with there own set of websites they can visit.
These two simple wrappers can be used for setting and retrieving individual or selected file attributes without affecting the other attributes of the file. For example, to set the Archive bit of a file you should not just set its attributes to vbArchive (32), as this will turn off any other attributes currently set. Normally you would need to get the file attributes, add the desired attribute to the current attributes, then set them again. These wrappers just hide the details of this process. Update thanks to redbird77. +++++++++++++++++++++++++++++++++++++++++++++++++++ With the GetAttrib wrapper you can easily test the current state of an attribute. You simply specify the attribute(s) and the function will return True if the specified attribute(s) is set to on. You can specify more than one attribute and True will be returned only if all specified attributes are turned on. +++++++++++++++++++++++++++++++++++++++++++++++++++ The SetAttrib wrapper simplifies the setting of an attribute to on or off, and will be set as desired irrespective of its current state. You can set more than one attibute at a time (eg. SetAttrib(sFile, vbReadOnly Or vbHidden) will set these attributes to on, no matter if they are on or off, without affecting other attributes that may be set. +++++++++++++++++++++++++++++++++++++++++++++++++++ My first version of the SetAttrib function used 'Xor' to turn attributes off, but thanks to redbird77, I have updated it to 'Not' which has eliminated a limitation of my version. The bottom line is that you can set a files attribute(s) to on or off without needing to know the current state of the specified attributes, while not affecting other attributes that may be set.
This code is a really basic scripting language that is good for beginners and can be used to start anyone who is interested in making a programming language off in the right direction. Please vote if you think it's any good! I'll add the IF stuff for you guys soon!
Nice 3D Label Control
This is not your average hyperlink control. This is a bumped up hyperlink control that smoothly fades to your mouseover color when your mouse is paused over it, and fades smoothly back to your idlecolor when the mouse leaves the control, WITHOUT A FLICKER! There's also a property where you can have a orange carrot to the left of your caption, and on mouseover the carrot turns into a carrot with a circle. There is also another property that puts a gray, rounded rectangle around your label on mouseover. Theres also ANOTHER property that fades the old caption out and fades the new caption in when you change the control's caption. This control is extremely cool. This can replace big ugly command buttons with a small simple hyperlink control. Vote if you like it!
tired of waiting to popup the new>New Folder heres a little program... this makes yer life easier
It is the same as the Common Dialog Control,when you use it for openning/saving files,but it is working with directories not with files.This is my first code on PSC.Pls send some feedback!
My coworker programs Access databases that pull information from an Oracle database. The front-ends of these databases need modifications on a regular basis. Since all the front end master files are kept in a single folder on one computer, and all the clients have the frontends in the same location locally (to reduce network traffic), he asked me to come up with a way to automatically check the modification date of the client files against the master files to make sure the clients were all running the most recent frontends. This is my first submission to PSC, so be gentle! Please vote!!
This function attempts to delete all files and subdirectories of the given directory name, and leaves the given directory intact, but completely empty. If the Kill command generates an error (i.e. file is in use by another process - permission denied error), then that file and subdirectory will be skipped, and the program will continue (On Error Resume Next). EXAMPLE CALL: ClearDirectory "C:\Temp\"
Checks and makes sure that the user enters in a valid date. Make a text box on a form and call it txtDate
Richsoft Zipit Control Version 0.9 -------- ----- ------- ------- --- This ActiveX control will read a Zip file and will return information about its contents. It also returns information about the files within the archive.
Determines the filetype (PE Executable, GIF Image, Word Document, etc) using the file header/contents, as opposed to using the file extension. Supported types: PE Executable, INI File, AVI Movie, WAV Audio, Word document, Access database, GIF Image, MP3 audio, BMP image, TIFF image, ZIP archive, ARJ archive, RAR archive, HTML/HTA docs, JPEG image, Visual Basic files. If it can't determine the filetype, itll try and determine if the file is text or binary.
Via API calls, has the user choose a directory. No commondialog needed!
This is an updated zip of my TIFF File info class - I fixed a bug with the IFD Count.. Changing parts of the tags is not an easy task as they move depending on the images size, I needed to set the XResolution to 200/1 and the YResolution to 100/1 - file manipulation not always an easy task. So I looked for help on PSC and found 1 entry using a C DLL to return the info - more files to distribute hohum!! Well I have made my own in using VB ONLY and have turned it into a class module for you all to use.... Please Vote if you like it - any comments or suggestions to improve on it .. I think I have put all the info that is required for the header and tag info - it is based on Revision 6.0 of the TIFF file spec dated June 3,1992.
This is a compact code that changes the date of an at the moment hard coded file to the time at the moment.