Advertisement

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

ASP_Volume2 #31708
CommonDialog Multi Select - Must Have Code

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

ASP_Volume2 #31755
Create a Internet Shorcut on Anyone's Computer

This code will create an internet shortcut on someone's computer. All you have to do it call it with a path and hyperlink!

ASP_Volume2 #31788
Fax Server for 2000/NT

With a small bit of coding, you can modify this app to suit your office server environment as a fully function FAX SERVER. You MUST be running WINDOWS 2000 / WINDOWS NT, as these are the only two OS's that have the FAX SERVER Object.

ASP_Volume2 #31814
File Recursion

Demonstrates the use of recursion to retreive the files in a folder. Code is in two mudules...one demonstrates the Windows API's to open a browse folder dialog box to select a folder, the other contains the code to list all of the files in the directory selected, including files in all subfolders. Code is well documented.

ASP_Volume2 #31820
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.

ASP_Volume2 #31850
Bulk Un/Register DLLs & OCXs

generate two batch files (one to register, one to unregister) that manage dlls/ocxs in a dev branch. the batch files execute and give the line number of a failed registry event. this is a two minute script that saves me time in trying to see what new dlls/ocxs were added/deleted...hope it is useful to all.

ASP_Volume2 #31853
Adress book

English version of my Imenik application Connects VB and Access

ASP_Volume2 #31867
Clean Up Temp Directory

This will delete all files in your temp directory older than 10 days. I made this program 'cos for some reason, Disk Clean-up wasn't deleteing the files. It will also check and delete files in subdirectories and the sub directories themselves. I have to stress though ; be very carefull what directory you use this on - I accidentially deleted my windows directory during testing ;) Feel free to vote and any comments are appreciated

ASP_Volume2 #31874
Synchronize v1.1

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.

ASP_Volume2 #31896
VB Takes Out The Trash

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

ASP_Volume2 #31899
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.

ASP_Volume2 #31906
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

ASP_Volume2 #31961
LoadRes

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.

ASP_Volume2 #31971
XML To TreeView Parser

Will put parsed XML into a TreeView control.

ASP_Volume2 #31997
Get a chunk from a file, but specify start and finish (usefull for splitting files / P2P program)

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)

ASP_Volume2 #32031
Prepend PE(VB) to a PE file w/o damage to the original PE

I made this project after reading a paper about asm. they were talking about how programers were amazzed to find out that a program will still run even when appended by another. then they took it to the next step, prepending an still getting it to work. then an even greater step, filling the programs white space up with code and running the program + the code that filled the white space without any errors. i got it to work in asm and wondered if there was any way to get any kind of prepend, append, or white space fill effect in a vb writen app. all i got was the prepend. append only worked if i knew what compiler made the program (masm hehehe, not vb6 or vc++...sorry lads).

ASP_Volume2 #32039
Find and Replace Text in a File

Replaces text in a file with different text. Form has two three text boxes: Search String Box, Replace String Box, File to Search Box. The file will be searchd for the search string and if found the file will be updated with the changes. (Note the entire file will be re-written)

ASP_Volume2 #32057
Sending Raw Data to the Printer Port in VB

Have you ever tried to send raw data to a printer port (LPT1 for example) using Visual Basic without using VB's printer object or an outside DLL or API? If you have then you know that it is virtually impossible because Visual Basic cannot directly access any system devices. This very simple code demonstrates how to use an undocumented feature of VB's 'OPEN' statement to allow direct access to the printer port as if it were a file. Accessing system devices as if they were a file is a method that was built into the old DOS-based versions of Basic, but until now I was unaware that this functionality still exists in Visual Basic. This method even works in Windows 2000, which is supposed to block direct port access for security purposes.

ASP_Volume2 #32061
Serial Com User Control

This is an event driven VB user control to handle serial COM communications. Instead of using the default ocx you can now compile this user control with your code and you don't need to supply any extra ocx's or third party dll's to support serial comm's.

ASP_Volume2 #32064
Read / Load contents of a textfile into a listbox

Reads / Loads contents of a textfile into a listbox

Languages
Top Categories
Global Discovery