Advertisement

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

7_2009-2012 #217669
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!

7_2009-2012 #217684
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.

7_2009-2012 #217742
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

7_2009-2012 #217745
Input/Output to a text file

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

7_2009-2012 #217768
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.

7_2009-2012 #217774
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.

7_2009-2012 #217808
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

7_2009-2012 #217809
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

7_2009-2012 #217816
Scroll TextBox to the end

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

7_2009-2012 #217817
Scroll TextBox to the end

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

7_2009-2012 #217823
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.

7_2009-2012 #217855
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...

7_2009-2012 #217871
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.

7_2009-2012 #217905
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.

7_2009-2012 #217919
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(detonate@start.com.au)... Check out Neo's web Space http://vbcode.8m.com

7_2009-2012 #217932
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.

7_2009-2012 #217947
Easy Browse For Folder

Let the user select a directory (as workingdirectory, or for save/load data to/from, etc.), which is also known as a "Browse for Folder" function. This is the most easy way to provide this feature, just using the standard Common Dialog control.

7_2009-2012 #217959
VB Takes Out The Trash

Empties the Recycle Bin, regardless of what drive/folder assigned to.

7_2009-2012 #217967
Fast Code 2 Create Excel Files

I have many troubles when try to export big amount of records from database into excel. These troubles because I use Excel.Application, Excel.Workbook and Excel.Worksheet. Unfortunately all of them working too slow, spend many resources, and not compatable between OSs/Versions. There is other way to create all excel compatable file.

7_2009-2012 #217973
Get Command Line Parms

This Will Return The Command Line Options That Your Program Was Run With EX if a person used a command line to run yourapp.exe /option then mycommandline would return /option PLUS IT'S ONLY 1 Line Of Code

Languages
Top Categories
Global Discovery