Results for "Category: Files/ File Controls/ Input/ Output"
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)
This code is used to send form information to your email account. Essentially, it sends an HTML email with some basic information to an email account and a link to view the completed form. It uses CDONTS to send the information. The link contains all the information the user entered on the form and when you click on the link, it populates the form with that information. No database needed! It is really simple but since no one else has submitted something like this, I thought I would make my own contribution. There are three .asp files (and some graphics) and one .htm file and the source is very straight forward. Unzip to your wwwroot and give it a try! Be sure to change the SendTo address so it goes to your email account. Good luck!
More code from me shwoing the .NET way to do common things that used to require mucho API.. This is a BrowseForFolder class that uses the .NET framework only... Havent seen this done yet without API. Enjoy..and please vote if you like it and use it.
Offers 6 ini functions that are extremely useful. Handy, because it has a "setup" function that specifies the filename and the number of characters you'ld like to retrieve (max) so that you don't have to re-specify them every time you write to your INI file (great if you only have one or two INI files per project). Someone else did a "complete INI module" that actually hard-code edited the ini file to find out the number of sections, and so on, but this one uses in-built features of GetPrivateProfileString. Have fun! Read_Ini -- Returns a string with the appropriate INI key in it Write_Ini -- Writes to a specific ini key Read_Sections -- Returns a Chr(0) delimited string containing all the [Sections] of the INI file Read_Keys -- Same as above, but returns all the keys=values under the appropriate section Delete_Key and Delete_Section do just what they say =) Note: vbCrLf's are turned into a funky string because I noticed when writing vbcrlf's to ini files it has the tendency to screw up and actually place them on separate lines so you can't retrieve the whole thing again. The funky string is recognized by this module when you read the values in again, and converts em back to vbCrLf
Removed bug causing small menus to be displayed off-center. This is a .NET component written in C# that allows you to place an animated "circular menu" within your applications. This type of menu is a popup menu designed myself and a group of interface engineers to be more efficient and appealing to end users. This popup menu animates its icons circularly around the click position, ensuring that the user moves the same distance to any desired option. Enclosed within this package are the library projects (C#), two tutorial projects (VB.NET and C#), a Word tutorial, a quick HTML tutorial, an installer project, a compiled help file and a PDF help file. NOTE: The documentation was created with NDoc, which you can find at http://ndoc.sourceforge.net/; the PDF documentation was generated with NDoc and Miktex, and their implementation is apparently buggy. As a result, all cross-reference links in the PDF did not show up. Also note: PSC removed an EXE file required for the installer project to compile. This EXE file, H2reg.exe and its accompanying .INI file, allow the installer to register the Circular Menu help files with Visual Studio. They are recommended by NDoc as explained on this page: http://ndoc.sourceforge.net/content/vsnet-deploying.htm
The purpose of this program is to create file associations with programs and file types on your computer. You can select from several options, but of course, the most important ones being what program to open the file with and what program to print the file with. Take a look through the code and feel free to modify it and use it in your install program or setup program to creat file types.
INIEdit v1.1 is a windows INI Editor. it loads an INI file into a visual interface, allowing you to add and delete sections, keys and values. If you like this project, please vote! I am already working on 2.0!
FolderView (updated 18-August-2002). A Vb6 constituent control (piggy-backs Treeview). Enumerates drives, folders AND optional files with user specified FileFilter property (example: *.zip;*.rar;*.ace). Great for making Explorer, WinZip, Archiver clones. Supports tiled background image (wallpaper), optional drag-drop. Uses API (sorry, no Slow DIR or FSO code here!). Expands on demand for speed. Plus signs are added when a child folder OR user-specified file is detected. Demo uses Listview (with column sorting) to show files. Zip enumeration with no 3rd party Dll needed. Check out other goodies such as CVC function to handle 64-bit NTFS file sizes, rip column header strings direct from Windows Dll's so they appear in YOUR language, get FileTypes (including those in Zip's!) direct from registry (very fast with dupe check), verbose Zip Method function conforms to PkZip 2.04g specs, extended Attribute Formatter, Size Formatter that handles bytes Kb Mb Gb Tb Pb Eb Zb Yb, and recursive FolderSize function. Tested on WinME (English) & WinXP (Portuguese). Because Dll are no longer allowed in uploads you will need to build as follows: 1. Load TvBackDll.Vbp and compile DLL.
This little tutorial shows how to change the font on controls at runtime. Easy to do in the IDE, but, to do it in code at runtime in .NET (compared to VB6) it is a bit different!
A Beginner method to check whether the file exists or not. It is simple, easy to understand and should able to run on different Window OS.
Just a simple INI module, no API calls. I made it as easy to use as possible, not really tested much but it does work better with remarks and such then the INI classes I've found on here. I've now updated it for writing INI files (or creating them!). I didn't test it but its simple enough that it probably works (ubounds always confuse me!).
Deletes Multiple Files at one time. It uses Drag and Drop to put the files into a listbox. If you have any questions about this program just email me at [email protected] . I'd appreciate any feedback and please take the time to vote if you find this of any use. Thank You Very Much
Splits large files into smaller ones.