Advertisement

Results for "Category: Files/ File Controls/ Input/ Output"

5_2007-2008 #172541
Open a text file FAST!

Opens a text file much fast than a "Do While Not EOF(filenumber)" loop. Makes file load times almost non-existant.

5_2007-2008 #172560
LoadFileIntoArray

Function that loads delimeted, fixed or Excel-files into an array.

5_2007-2008 #172599
Program with Command Line inputs

Make your application run from command lines or the run dialog with arguements. ie: myapp.exe -m No need to vote for this code because it is really basic.

5_2007-2008 #172607
A 'Dummy' File Generator

generates a 'dummy' file which can be any type and any number of kilobytes. 110% commented just like my code 'A+ Secure Delete'. purpose is to generate files, so not much of a purpose. i just saw it in a couple of hacking/security programs and thought i'd try it.

5_2007-2008 #172633
Search Form tutorial and sample code

This tutorial is thorough and provides working code that will have you on your way to searching databases with ASP!

5_2007-2008 #172648
Rename file

This will rename a file in one line of code. Very simple so I do not expect to be voted for but Comments are nice.

5_2007-2008 #172706
A huge tip: Visual Basic Scripting Host

This tip is the most powerful bit of code I've ever come across. It will act as an exe but with no need to compile. However you must have either Win 98 or IE5 for it to work

5_2007-2008 #172709
Input/Output to a text file

This code demonstrate a simple procedure for reading and writing to and from a text file. Level: Beginners

5_2007-2008 #172732
Get file info (without API)

Gets the following information from any file: CompanyName FileDescription LegalCopyright ProductName FileVersion ProductVersion InternalName OriginalFilename Basically it's the same information you glean from a file's properties. Uses no API whatsoever. UPDATE 10/26/00 ------------------- Fixes the problem of reading smaller files that don't have the StringFileInfo section padded with null characters. UPDATE 10/30/00 ------------------- OK, now it's perfect. Before it wouldn't find certain characters because some files are ignorant and in turn screwed up the return value but now it's all fine. Use it.

5_2007-2008 #172738
Create and save into .txt files.

This will create and write into a *.txt file of your choice. Put this code in a timer and you have yourself a keystroke logger. You can save the contents of a textbox into a file also.

5_2007-2008 #172772
Check for the Existense of a file

Checks if a file exists. If you have anyquestions fax me at 1(305)847-0621 dont forget to visit my website for more codes and full program source codes + forms available for downloading

5_2007-2008 #172773
KillFiles

I received a request from someone on help with a problem in deleting temporary files. It seems that they needed to delete all temporary files except for those with the current date. This subroutine was the result, and I though it would be good for those of you struggling with how to use the Dir and GetAttr and SetAttr functions in VB

5_2007-2008 #172780
Scroll TextBox to the end

This few rows of VB.NET code show how you can force TextBox control to scroll to the bottom.

5_2007-2008 #172781
Scroll TextBox to the end

Scroll TextBox control to the end. This is usefull for chat programs, like mine on the picture.

5_2007-2008 #172787
Check if File Exists - Including Hidden Files

Simple function to check if file exists. Detects Normal & Hidden files. Improvement of code from Greg G., and incorporating a suggestion by Larry Rebich.

5_2007-2008 #172819
Directory and File Search Demo v1.2

Search for a directories, sub-directories and files and sub-files without having objects on your form! You can even search in more directories! or use file-filters (*.bat;*.com;*.exe;ect...) and file-attributes (read only, hidden, ect...) while you search! This all in just one simply command! This version is much easer to use than the preview demo version 1.0. The results in this version also doesn't import duplicated results and some bugs are fixed. The results gives now also the size, date & time, and attributes. In the next version I will add some more commands, like a compleet directory/file browser. It sounds unbelievable but it's true. It's very easy and fast to use and it's over 100% user friendly! No heavy codes anymore just use this for all your codes! Download the file and see it yourself, I know you'll love this code!!!... I will release more codes when you vote for me, happy coding...

5_2007-2008 #172835
Binary In Executable

Source code for a program that will insert binary or ascii files into an executable or any file really. Also generates [VB] code to extract the file.

5_2007-2008 #172869
Media Player W/ Microsoft Multimedia Control

To Play the following file types: .mpg, .mpeg, .mp3, .wav, .mid, .midi, .avi using the Microsoft Multimedia Control and the Common Dialog Box.

5_2007-2008 #172883
Get a CRC32 for a File

HERE it is, Finally a CRC32 Generator for a file and it was put up due to the amount of requests for it. The Original CRC32 code is included and is easy to use. Only one Function to get a CRC32 for a file. It is very easy and simple to use. Thanks to Detonate([email protected])... Check out Neo's web Space http://vbcode.8m.com

5_2007-2008 #172896
Check for existing Directories/Folders

Check if that directory exists before running the risk of an error and/or data loss. One of the few that really works. No API, no function calls. Existence check and logic included. Incredibly simple.

Languages
Top Categories
Global Discovery