Results for "Category: Files/ File Controls/ Input/ Output"
English version of my Imenik application Connects VB and Access
This is code will help to copy, move, delete files within VB Project without using Explorer and just defining the locations of source and target files. Kindly make reference to Microsoft Scripting Runtime (scrrun.dll). This code will greatly help in adding Backup and Restore routiens in simple manners.
It is the same as the Common Dialog Control,when you use it for openning/saving files,but it is working with directories not with files.This is my first code on PSC.Pls send some feedback!
This example will explain about How to use the FileSystem Object to do your file operations. This Object is available in vbScript and in vb also. File and Folder operations can be done with this object very easily. This program itself used this object to obtain data from file. Few working examples were added with this program to understand better. You will come to know something about FileSystem Object or get some code snippets or ideas from this code. This example explains about the file operations. Soon I will update the Folder Operations. If anybody is intrested in doing that I welcome them. It can be simply done by changing the source text file. The same logic can be used to display similar kind of things. Note: The functions CharFound and SeperateString were extensively used by me in almost all of my programs. I suggest you to use them freely in your code. Please read the ReadMe.txt
Exports a TreeView control (including ALL it's children) into a graphical representation with plain text.
Rev 8-1-2001. Have you ever had to compare files in two different folders? Mostlikely, you used paper and pencil. This VB snippet shows the contents of 2 folders and flags files with different date or file size. My graphic design is not the best and yes it would be nice to navigate to you folder (now you enter path). For the first step (3+2 hrs work), I think it will do.
Learn anything you want about Visual Basic.
Calculate Pi. This will only let you go to 32763 decimal places. ************************************************* If anyone nows any API for larger math please leave comment about it. *************************************************
!!!Please Leave Comments!!! This Prog is a painting program able to draw lines, free-hand, point to point to point, circles, rectangles, triangles, erase free-hand, selected areas, saves and loads pics, floodfill objects, create custom colors, save colors.
a little word processor. it can open, save files, print, also shows how to copy, cut, and paste using api
It sets the Attributes for any file. including hidden read only and archive.
How to upgrade Standard Open / Save Dialog with new text and Picture...
Haven't seen it done yet until I did it myself. I asked around if there was code to create a 'prompt' and all I seen was modifed multi-line boxes. This is not a Dos window, its a windows window. - this is as real as it gets... If you need a GUI windows command prompt... here it is, Best WINDOWS command line code here... Please: I am going to use this code for a Business Basic interpreter, if you find any bugs or make it better, please let me know!!! I am always looking for improvement here!! Code is FREE for all...
File Input Output Append
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 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 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
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.