Results for "Category: Files/ File Controls/ Input/ Output"
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.
These two functions are designed to read and write a file as fast as possible in VB. It is faster for some cases than WinApi Read/WriteFile functions because you don't have to convert binary to string in a loop. Thats why, it is very fast and useful for any purpose. I have created it for my Encryption programme and with Windows Crypto functions and this two functions, my encrytion programme works faster than most of the Encrytion software you can download on the net. Hope it will be useful for you. Thanks. Ozan Yasin Dogan www.uni-group.org (will be online in 01/06/02)
This File reading tests compare 3 methodes of reading file. One is using Api, second is using random access file methode and third is using binary file methode. I have tested all and found that using Api is the best and fastest solution for reading files. I have included 3 classes for these 3 methodes and a template project to test them. In my tests, i have used a PIII450mhz, 195MBRam with WinXP Pro. I have read a 20mb file in 1.8seconds.
The program asks for two (or more) files and goes through them sequentially, searching for either differences or similarities, depending on what the user selects. Results are placed into a listbox in either decimal or hex. Useful for figuring out the sturcture of certain files (ie how a small edit changes the file) especially character files for rpg games.
Search Drive for files with a few lines o'code, Recursivly- Please VOTE!!!!
This Code uses the Microsoft XML Parser to Read an XML Source and Put it into a treeview. Ut Can Accept A path to An XML File EX:"C:\MYxml.XML" A string EX:"''" or a URL to an XML File Ex:"Http://www.MySite.Com/Myxml.XML"
Binary compare two files and save the differences to file. you need to 2 files with equal length, one original and one patched. please register syntools.dll in your windows system with regsvr32.exe. syntools.dll provides standard common dialog functions like file dialogs for open and save, color picker window, file exists function and more... you can download syntools.dll source right here at your mother of source codes. just follow the url below: http://www.planet-source-code.com/xq/ASP/txtCodeId.21368/lngWId.1/qx/vb/scripts/ShowCode.htm feel free to email me if you have any questions or suggestions. mailto: synaptor@hotmail.com
This 1 line of code will Open any file with their correct default program. EX: opens .Doc file with winword and .Zip file with WinZip..Or any file with their default program..
This Code will delete the Program Right After it close..
This will mod PE headers of compiled EXEs to change their icons.
Get the system directory with 1 line of code and no API.
A small module to set the status message on PJL printers (HP's etc).
VOTE FOR ME PLEASE! SIMPLE CODE to use with resource files. With one line of code, you will load text strings and images from a resource file WITH NO API CALLS.