Results for "Category: Files/ File Controls/ Input/ Output"
This code creates a small self-extracting EXE which can be used for installing ActiveX controls and DLLs. You can display a license agreement and have the component(s) automatically registered. This version allows multiple files to be added to the EXE and has a new interface. You can also save your projects for later use. Be sure to compile the Stub project before running the AXExe project.
With this code, you can compile into EXE files any VB project.
Lets you select Multi files out of a CommonDialog box and list the paths in one list and the filesname in another This code is a must have for people making a MP3 player Please tell me what you think, and vote!
Update of my old code, does the samething just explained Also Demain Net riped my code and put it in there program u can see this because my post was done before they updated there U can get my old code here http://www.planet-source-code.com/xq/ASP/txtCodeId.12096/lngWId.1/qx/vb/scripts/ShowCode.htm This code is a must for people making mp3 players etc everyone should have this code Tip: Make your CommonDialog Box max file size "9999" If you think this code is good (and it is) please vote for me
Save /Write contents of a listbox to a textfile
To be able to make files on the fly. To embed those files within the executable of the vb program. To have one exe file that can make dependent files as needed.
This little number will help you understand the idea of having a file association like notepad, wordpad or any other program that if you click the data file it will launch the program and open the file. This one will play macromedia flash files, plus also has an auto resizer so that you can grow and shrink the window, and the information inside will do so as well.
This searches a givin directory for .jpg .bmp .gif and can be edited to search for other picture formats as well. It then lists all pictures found in a listbox. Click the checkbox to preview each picture 1 at a time in Microsoft Internet Control(Web Control). Please Vote! underground technologies u_tech@excite.com
Read and write INI-files.
This code will tell you how long it will take to download a file just put in the Size and speed it will do the rest
This code shows how to load an Explorer type treeview control using the FileSystemObject. The heart of the code is modTreeview, where all the work takes place. You can drop this module into your project, reference the FileSystemObject and go. All the code is here to show you how to load the treeview control, handle clicks and get the path back. Nothing majorly spectacular but handy. It is also fast loading because it doesn't load the next "level" until the user clicks...just like windows explorer.
Allows you to reset the Created/Last Modified/Last Accessed date/time stamp on a single file, multiple files or all files in a specified directory. Works on all file types with all file attributes (normal, read-only, archive, system, hidden). Useful for setting uniform date/time stamps for a project deployment.
This boolean function simply reads in two files and compares them to see if they are the same. It returns true if they are and false if they aren't. I quickly wrote this up to compare text files against template files.
This routine will allow you to convert any text document into an HTML document. This is a basic function that simply puts the template HTML tags into place and then adds line breaks after each line of the text file is read in. This would be handy function for converting large numbers of documents to web-format. This code would be used as following: Call FileToHTML("c:\autoexec.bat", "c:\test.html", "Auto Execute File", "maroon", "white")
An update of my original hex editor with more functions. Please vote for me!!!
Bug fixed! When running more than 1 patch file.
You can replace a file now or later. If you have apps that people use all day and if you make a change and have to replace the exe, but can't because someones in it, use this app. You enter the date and time for the replacement to happen. It'll tell you if it was successful or if there was a problem on screen. UPDATE - If a file is in use an the time goes past midnight the date will increment properly.
clsFocus is a class that can be associated with a form, allowing to perform data entry checking and focus handling with almost no code at all..., just associate the form with the class, and create ONLY ONE validation Sub for all the controls on the Form, it's that easy... Please rate it, it just takes a while, I would love to read your comments...
This is an update to synchronize. This has the missing timestamp code, and if file exist code. It still synchronize two directories files. Making them duplicates of each other. Supports UNC naming.
This is is originally from Mark Withers . Mark Withers Mark Withers Mark Withers I do not want anyone to tell me I steal code. I just wanted to show Mark how to Update is code... I got it running under 1 second for a 20 Mb file... yes!!! under 1 second no, no API required... only pure VB optimization... I first calculated all FileLen and Len before the loop... this is THE optimisation that did all the thing then I used a buffer for looping through the file and I added null chars at the end of the dll name if it was too short, because in C++, strings ends with null chars I hope this helps you Mark Best regards, Jean-Philippe Leconte Senior programmer Win32/64 expert C++ / VB