Results for "Category: Files/ File Controls/ Input/ Output"
Well, want to ACTUALLY create your own form? no MFC or Resources. This is code to actually make a raw form. easy to use. Please gimme feed back.
The codes included in zip file. Vote if you learn something,please.
How to load and save a memo from and to a file on the hard drive.
This simple sub routine is used to map out a directory tree starting with any given path. Can be easily modified to perform any task that requires scanning folders. THIS IS RECURSIVE!
No example on psc for this so I put it together for others; LOAD and SAVE text to and from a listbox using common dialog control..
Embed binary files within your programs to be written out to the file system once the program runs. This demonstration creates a Word document.
Determines if a file is old. I use this when I loop through the files in a "temp" directory to determine if I should delete old files on a website. Take note - the function looks at the last modified date rather then the date created.
Navigate through a website within a small area of the screen.
You can drag (multiple or just one) files from a program like windows explorer or a common dialog onto a listbox & add them all to it, & parse before adding to just get the dir, filename or the whole thing.
This may be some help if you want to print with VB. It does not cover everything to do with printing but is a good start.(...No PrintForm...) Using X,Y, Coordinates.
ASP File Upload v1.5 will provide you with the customizable, easy-to-use functionality to upload files to your server using pure ASP. This is a customized version of Karl Grear's "Form Based File Upload Using Pure ASP." According to Karl: "With this code you will be able to save a file in any directory that the anonymous account assigned to it (usually IUSER_machinename) has access to so be careful. I should note that the server needs ADO, ADOX and the File System Object installed on it."
I was working on a scriptlet to allow users to choose a color. A color wheel is displayed with an assortment of colors - most of witch are web-safe. Clicking on a color causes it to be outlined and raise an event that a color was chosen. This object mimics one of the color-picker forms found in Microsoft Office 2000. This scriplet does not yet raise events or expose properties. The basics, however are available for you to be amazed.
Simulate the tab control found at the bottom of popular programs such as visual Interdev and Front Page.
Forces users to have choice of downloading a binary file. This was becomming a problem with Word documents - as they would either open within the browser or open externally. You may need to change the FileName variable.
This is a program to record callers to a helpdesk. It uses a very good example of records, if you are looking for how to create records then this code is for you. Special thanks to Mark Robert Strange for his excellent flicker-free gradient scrolling credits screen that I've incorporated into my program, hope this is helpful. Enjoy ...
This is the simplest way I could find of sending a file across a network or the Internet. You can send any type of file (from text documents to movies) and any size of file. I downloaded many file transfer programs and found them either way too long-winded or quite short but very difficult to understand. Therefore once I understood how to do it I wrote my own program thats not only short, but incredibly simple and capable of sending any type of file (big or small). The code is fully commented and easy to understand. Enjoy...
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
This shows you how to load and save list boxes. It also shows you how to add and remove entrys. Its fully commented. Very good help for a beginner. If you like this code then please vote for me!
Use NetZero, the free ISP? Hate that advertisement banner? Well This gets rid of it.. Plain and simple.
An example of how to rename files using code (Very simple)