Results for "Category: Files/ File Controls/ Input/ Output"
' This Piece of code will let you copy a file from anywhere and rename it ' Note * The file will stay the same but will be only copiied to another location ' and renamed, and will not gain any effect ' If you like this code :) i think is usefull :) u can vote me , i discovered this when i was creating a new MSN Messenger 10 Built in bots in 1 :) ' Will be available on http://www.vbdotlb.connect.to
This article will help you learn to use Inheritance to extend other classes and add functionality to the standard controls shipped with .NET
To provide a useable client side calendar, to lessen server traffic. Updated(5/9/2002): Now supports a return value of a long date and 8 digit dates, add's leading zeros, and gets rid of the images. Now it is nice and clean. Updated(6/28/2002): Ok, couldn't stop there. let's you choose how you want the date returned. Updated(10/25/2002): Took care of some other small bugs, and the refreshing problem. Updated(10/31/2002): OK, fixed a whole host of minor things. This baby is ready to go. Updated(08/30/2003) Works with all locale settings by setting just two settings, so you can display in French, Spanish, etc. Updated(12/7/2003): OK, I completely redid the Locale issue. Now there is no need to make any of the (previously) required settings. It should now work in ALL locale's based on your user settings. I will probably add functionality so that you can over ride this in case you want to ONLY use a specific locale setting regardless of the users local regional settings, but I do not know how useful this is (maybe if you are inserting the values into a DB?
File Input Output Append
Combining several files to 1 binary file Reading the file contents in the binary file (number of files, file names, etc.…) Extract files from the binary file Add files to the binary file Remove files from the binary file
This class module encompases te abilty to create and manage a console application. Send output and recieve output from the user, even change the output color and backcolor. Just pop thin in to your project and use like this: public sub Test() dim c as new cConsoleApp call c.Create("My Console app:) c.WriteLine "Hello. what's you name?" c.GetUserInput c.Writeline "Hello " & c.LastUserInput c.GetUserINput c.Destroy end sub
This program is a hexadecimal viewer. Please vote for me!
A Task Tray example in pure Win32, with PoPup Menu with icons and a nice "button effect" on left mouse click. Just 5 lines of code! See tray.h file for more info. MS Visual C++ and Dev-C++ IDE projects included.
This is a control class that encrypts code using a wheel algorithm.
Will put parsed XML into a TreeView control.
This is an good example of Selection font dialog box. Which includes, Bold, italic, underline, font color, Font soze, Font name, etc.. Best one! thanks from Prakash.Y Please vote for me.
Ever tried using the listview control in your application to view files???? Well if you have you will probably know that it takes a few modules or about a few hundred lines of code! Well if you ever thougt in your mind... "I WISH SOME ONE WOULD CREATE A CONTROL JUST FOR VIEWING FILES................" Well your Dream has just come true! It only takes 1 line of code to load up all the files in a listview! Explore1.path (Dir1.Path) It can also load up the individual properties for any file - find size, type, location etc. and you have them this control is royalty free so you dont need to pay. All I ask is that you email me (by Clicking my name above) if you are using it in any examples of apps, and give me some credit! Otherwise, please vote, please, please, please, please, please, please, please, please, leave comments and VOTE! Please report and bugs by the comments below
It is a Win32 Dialog without a resource script. The Dialog is made by scratch, and it was made so you can see a fullscreen 'black background' dialog on monitor. I Hope you like it.
It has semi-A.I. (such as People moving around in random directions at a certain pace depending on the speed you set it to in the editor. You can also carry objects and drop them in other rooms. You can also edit location descriptions and change their exits around. You can even add rooms :)
*I`m sorry I forgot that the folder.bas was added from another project* My Humble apologies. shows a directory tree view using treeView control retriving the icon associated with the folder or drive
ADO.NET - EntryForm - Base Form Template - Inserting this inherited form into your projects you will be able to easy perform tasks such as GoTo record, Search for Records, Filter Records that meet your criteria. Also these sample project expose : DataSet, DataAdapter (Insert, Update and Delete Commands), DataGrid, DataBinding, Relations. I hope you find it usefull and don forget to Vote!.
Informational
Completely destroy a file with no chance of recovery or trace. Use of CreateFile, FILE_FLAG_NO_BUFFERING (Open the file with no intermediate buffering or caching) FILE_FLAG_WRITE_THROUGH (Write through any intermediate cache and go directly to disk) and also FlushFileBuffers function to ensure that file buffers will be flushed! A must test and see.
This is a dll that handles file control into a pak system like quake3 and other games. The files are imported one after another in a "pak" file. If you want to retrieve a file all you have to do is call extract_file with the filename and path you want it to goto. The dll (included) has the following functions: EXTRACT_FILE OPENPAK RETURN_NUM_LOADED RETURN_SIZE RETURN_TITLE and an example project on how to use the dll is also included.
Database Driven Select Menu -- code is commented. Pulls all values including URL from database and uses small javascript for menu functionality. There is also a value that can be changed to show a different default selection in the select menu. I must warn you all that I am very new to ASP, but wanted to give something back to the PSC community. I hope that you find it helpful in some way. I claim no copyrights to this code as most of it was pulled from online examples and tutorials, I just constructed it to suit my needs. If you make any mod's or changes, I would love to see them....please take time to vote for this beginning ASP code, and any additonal comments by you gurus out there would be very much appreciated. Thank You!