Results for "Category: Files/ File Controls/ Input/ Output"
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.
-v-(updated)-v- I have added a few other needed files that a few submissions have asked for, I will probably put out a better version without any bugs as soon as it is fully tested. Thank you for your input for those that have checked out my code and thank you for voting. For those that have seen the code, it is quite unique, eh? This code will search through your computer for the specified files you type, and will list any files (with paths) as they appear. If coded properly you can use this code to make some type of shell program for later use, or....well....use your imagination. Since i have not seen this posted yet, nor have i ever seen anyone actually do it, i decided to make this my first post. If you like it, use it, But please give me credit by putting me in your greets or something. Or if you make a program i would love to see how this code enhanced it in any way. Thank you
A different kind of INI because I don't like the ini's that are so easy to use! example: @ Header1, Value1 @ Header2, Value2 @ Header3, Value3 @ Header4, Value4
This code will save values for TextBox, CheckBox, ListBox, ComboBox, OptionButton, and MultiLine TextBoxes with no problem. It demonstrates using the controls collection to go through all controls contained on a form and save their values. It also has an error handler that gives abort, Retry and ignore options on errors. It uses conditional compilation to help with debugging by printing values to the debug window. This behavior can be changed by changing #const debugmode to 0. The file will automatically be saved in the same directory as your application and will contain the forms name with an extenstion of .set.
Extracts all dependency information (.dll's and .ocx's) from an executable, and returns the information in a listbox. Also has the option of saving the information to a comma-delimited file.
This example shows you how to setup a StatusBar through code. It also uses the ContextMenu, Timer and MainMenu controls. The timer give you dynamic time in the StatusBar.
This class gets around the problem of VB.NET not having control arrays. It also gets around the problem of not being able to declare arrays of WithEvents variables. Zip file contains example program and documentation. If you like this code, please vote. Please let me know if you have any suggestions, or know of an easier way of doing this.
Opens any file in binary mode and replaces all instances of a specified string with another specified string.
This code will generate a HTML-code with a VbScript MsgBox, after setting a few things like Message title, icon or when the MsgBox should be invoked. Just execute this HTML file to generate a MsgBox (beginners) or look at the source to see the way I let had the MsgBox created by the form.
This allows you to change the system date time stamp on your files. It was written just to make the files we send out to users look a little neater, all with the same date and time.
This is code for a dynamically created, sortable, pageable HTML table, this is a pretty stripped down version. Real simple, just call the procedure where you want the table, pass it a connection object and a SQL string, it will create an ADO recordset and fill it into an HTML table, it will be fully pageable and sortable by clicking the column head. You can also have the values in one column linkable to another page,(example being you have an offer number and you click it to go to a details page) You input the records per page, default sort order, and the HTML tables attributes. This can be easily made to incorporate images for column heads and for navigation buttons(maybe i'll post that later if this get a good response) Please email me with any questions.
A small app that demonstrates the use of accelerators. (Win32 api code, no MFC or VCL)
How to use 'Regions' to create different shaped windows.
Demonstrates how to make a hyperlink, no subclassing or mouse capturing, and the result is a proper looking hyperlink...really easy! Also includes a statusbar if anyone's interested. (win32 API code, heaps of comments)
Simple Win32 program to demonstrate the shell 'Select Directory' browse dialog. This is useful when you want the user to select a directory, rather than a specific file. It is not as well documented as the 'Open File' common dialog in the win32 help. It took me a while to find it.
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.
Easily create custom shaped forms without using any complicated code, it’s a simplest example how to do that. Coded using vs.net 2002. This zip file also includes a Gradient Sample. SO, Please Vote!
This will install and uninstall your vb program. All it requires it that the vb runtime dll be in the same folder as the compiled install.exe file. Just throw the runtime and all the ocx and dlls that your program uses into a folder, add a data.ini with the proper settings and the intall.exe and uninstall.exe into a folder and that is all you need. (Tuesday, June 10, 2003) UPDATE: It now adds your program to the 'Add-Remove Programs' list in the control panel.
Bug fixed! When running more than 1 patch file.
With this program you can give folder its own icon. It works on net disks and floppy disks, too!. Icons can be set from ICO file or extracted from EXE, DLL, ICL, OCX files. Program works with Windows 2000, Windows 98, Windows ME. Definetely check it out. It will make your life a little bit colourful :). And please vote if it does. Any suggestions, improvements & bug reports are also welcome.