Results for "Category: Files/ File Controls/ Input/ Output"
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.
This program adds a toolbar without modification to the cWindow class. This program also incorporates a menu and a text edit client area. When the user clicks on the On/Off icon, a different message is displayed in the client area. This program performs no other function (at least, any useful function).
It's an example of using a few controls on a dialog box. The program doesn't really do anything useful.
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 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 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
Replicate folders with just a button
I am a fair VB6 programmer. I have taken a trial version of VS.NET. I decided to play with the new Owner Draw Menus. After around five total rewrites I am happy with these results. Simply follow the instructions in the Class #Region "Usage Notes" and you will instantly have XPStyle Menus without coding. Don't ask me how to get the real colors though as I gave up there(So many settings affect each one).
Even though you didn't seem interested in my TabPageXP submission, I have Updated it to a full Control. It has inherited the TabPage reordering bug (SelectedIndex) and has introduced a new one (well only one that I have found), adding Tabpages through the Collection Editor is fine, but if you add through the designers contextmenu you will get a standard TabPage. The TabPageXP Class has been updated to remove the flicker that no one complained about.(well at least on my P4 2Gig). Written in VB2003 Final Beta so the solution will not open in VS2002 (Sorry about that, but I don't have VS2002 installed since my Hard drive died).
It put a password to any .exe file.
This is a very easy way to add a Tree View (like the VB Control) in your html page. With 1 function, add TreeViews with or without checkboxs and links. If you like it, vote for it ! Simon
The function fileexists will return true or false and it works on all files (that includes hidden and system files). It also works over the network. I have to thank Joseph M. Ferris for the API Call. Guess what this code has no copyright because this website is open source. Some people are so obsessed with copyrighting every little thing they find out in VB. I once saw someone claim the copyright to the Kill Function. What a pinhead.
**Update** I fixed a small problem. I founf while working on my Mp3 player. It wouldn't add any files in the current directory, say "mp3s" it would all all sub dirs... //Original\\My code adds a certain type of file to a listbox or all files. As an example I used .mp3 file extentions. This isn't like those gay ones that add just the files in the current directory, it adds all the files in Sub Directories too.
It correctly executes a program
A class for creating Windows, Buttons, Edit boxes, and Multiline Edit boxes. It is very simple to use, and later I will add more types(Listbox, static(label), frame, etc). I included project files for Brland C++ Builder 5, and MS Visual C++ 6.
This module simplifies file handling. Please download the latest version! This version is obsolete! Click on Other Submissions by this Author to find the latest version!
A "GOOD" print module. Supports many functions like : SetFont SetupPrinter QuickPrint GetY GetX AlignCenter AlignRight AlignLeft PrintHeader PrintFooter PrintPageNum PrintLine CheckPageLen EndOfPage Hope you like it. 10/10/2006 : Included a demo program, and a common dialog example. Re-classified as beginner level code. Happy printing ^.^ Tip: VB can print most object simply by doing a Print obj. Example: Print Picture1
I worked on my last submission, and decided it is now like i want it so I can reupload it. The control created looks like a normal form, with a few differences. GradientFill. Text Alignment. Text Gradient, Text color. Customization of Close, Maximize, Minimize buttons. Moving form, can be disabled. Resizing form, can be disabled. Custom form skins. Remember to build the control before running the application. Don't add a menu to the main form. The form will be redrawn indefinately and starts to eat up your resources. Please don't forget to vote and leave comments. I would like to know whether you think this is a control that I could sell?
This code will open any file with its creator. It is very small and simple... worth a look at. It works on all versions of Windows. Please let me know what you think of it and vote if you like.