Advertisement

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

ASP_Volume2 #34782
ActiveX Installer 1.1

This code creates a small self-extracting EXE which can be used for installing ActiveX controls and DLLs. You can display a license agreement and have the component(s) automatically registered. This version allows multiple files to be added to the EXE and has a new interface. You can also save your projects for later use. Be sure to compile the Stub project before running the AXExe project.

ASP_Volume2 #34826
Compressed File Viewer

Stripped code from Dana Seaman's FolderView project. I stripped the project so that the result was only the code that enumerated compressed files. With this code you can view the contents of compressed files (zip, cab, rar, and ace). Note that this code does not compress or uncompress files, it simply enumerates the contents of the compressed files. Also works with shared files over a network. Dana 's original code is at: http://www.planet-source-code.com/xq/ASP/txtCodeId.23292/lngWId.1/qx/vb/scripts/ShowCode.htm All of the code here is Dana's except for the minor stuff like the "Dump to Text File" subroutine and the browsing function. You will notice that there are alot of variables that have been commented out. Those are just the byproducts of the original and bigger project. They were not needed for the compressed file enumeration but i left them in the code. I want to personally thank Dana for such good work.

ASP_Volume2 #34853
pjl_setmessage

A small module to set the status message on PJL printers (HP's etc).

ASP_Volume2 #34878
Scan with vb

With this code you can scan pictures by a scanner Yuo can select a TWAIn and of curse scan. When you download you will download a dll file that you will need to scan in vb

ASP_Volume2 #34920
FileSystem module

BAS Module that handle several FileSystemObject methods using Windows API calls. Several new functions were added. This module will make file/folders operations a breeze.

ASP_Volume2 #34928
FileAttribs

allows viewing and changing of file and folder attributes batch or one at a time. contains warning msg boxes where nessary

ASP_Volume2 #34943
_*Who said it had to be called msvbvm60.dll? under 1 SECOND FLAT FOR 20 MB !!!! VERSION 3*

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

ASP_Volume2 #34946
Convert INI Files to XML

Take your Desktop apps into this decade by using XML files for INI Files. This Module will translate or convert your exsisting INI files into XML. If you are interested in the source code to access elements in your XML Files in place of INI Values, let me know

ASP_Volume2 #34952
Auto Run Registry Entry

If you have ever needed to have your program start at the same time as windows starts without putting the program into the start up menu but have been unable to figure out how to do it then just follow the following text.

ASP_Volume2 #34980
Hyper-link / mailto

Easily lets you add a link from you VB application or open default email program.

ASP_Volume2 #34982
TreeviewFrom/ToFile

This example builds on Srinis example found on www.vb-helper.com. Srinis example loaded data to a treeview from a text file with tabs denoting indentation. My contribution is the save treeview to file function. It only saves one level of childs, it was all I needed for my other project. Srinis example loads more than one level of childs. I am shure some small modifications to my example will enable it to save multiple levels of childs, but thats your jobb ;)

ASP_Volume2 #34985
Drag-dropping, dynamic controll adding

Sorry last entry had no .BAS FILE, SORRY FOLKS... It demonstrates how to use the drag & drop methods. It also shows you how to dynamically add controls in run time and how to move controls around. The prog lets you create controls and have them snap to a grid.

ASP_Volume2 #35007
Read INI

Opens a INI-file and Get the value of ex: "Screensaver=" without using any system calls!!!

ASP_Volume2 #35008
ShellExec, Wait and Check for changes for a file.

This sample program calls the Windows API to ShellExecute to a file you select. Then it opens the file with it's associated program, waits for the program to end, and identifies if the file has been changed. Rock ON!

ASP_Volume2 #35056
FindSystemFolders

Returns the path to a system folder, based on input. This code is based on a submission by 'Don'. Originally the code only found the System Folder on the machine. I have added all of the system folders (MyDocuments, System, Cookies, etc), and made it into a class/dll for ease of use. The code is relatively self explanatory, however, I have added comments, just in case.

ASP_Volume2 #35131
OCX >Virtual Hard Drive< OCX

Creates Virtual HDDs , BUT now it automatically converts the LongPath to ShortPath , so it is great for newbies.The *.zip file includes a very nice sample and the ocx.Vote if you want...

ASP_Volume2 #35132
____A simple filereader & writer____

This is a simple file reader\writer, it demonstrates how to use a filesystemobject and a textstream to write text to any file and to read text from any file.

ASP_Volume2 #35135
A ****** File Splitter

Need a file splitter? Here is the good one.(NO BUG FOUND/REPORTED IN MORE THAN 2.5 YEARS) You can split any type of file with this. PLEASE VOTE FOR ME because this code shows how to write to files in binary mode and to make a batch file at run time. This program opens all the files in binary mode for reading, writing or appending. I have tried to remove almost every bug in it but if comes please feel free to notify me. In case you make any enhancements to it please let me know. Enjoy splitting....

ASP_Volume2 #35172
MP3 File Renamer

Cleans up and renames your mp3s to a specific format, example: "[Artist] Songtitle.mp3". Option to pull artist and title info from the ID3 tag if one exists, and to update your ID3 tags with the new properly formatted Artist and Title.

ASP_Volume2 #35189
Basic FSO, Inet Example

This is to show basic FSO & Inet use, it is a registration program that will create a temp.dat file, upload it and change the name to registered.dat and then delete the temp.dat on the users pc. It is commented on almost every single line, it describes everything the coding is doing. Basically made for beginners but to give intermediate and even experienced users some ideas. Please Vote If You Find The Code Useful Or A Good Tutorial, Your Votes Are Much Appreciated.

Languages
Top Categories
Global Discovery