Results for "Author: morgan haueisen"
Updated 12-20-03 - Have you ever needed to print out a copy of your source code to put into a validation record or you just want a hard copy? This application will give you a well-formatted printout that includes a cover page, a table of contents and a brief summary. You can select which printer to print to and some of the printer settings without using any OCX. It will also will show you how to print centered, print right justified, print from right, print in color, center a form (task bar aware), and display a progress bar. It will do good job of printing your source code
7/7/2003-BugFix in Function CheckForRoom. This is not meant to be a replacement for WinZip nor is it WinZip compatible (does not have all the header information). Its sole purpose is to provide your application a way to backup its data files in a compressed format. It is one class; you supply the source path and file name, destination path and file name, and the action (compress or decompress). It only compresses one file, so if you have multiple file to back-up, each will be compressed individually. See the READ_ME file for more information
Three ways to save picture files in JPG format.
Update 11-29-03, Address Book with VCard import/export; save both business and home addresses, phone numbers; send an email using your default email app, dial the phone number, many ways to sort your information. In the DAO version, several people had problems getting the application to open the database. This was due to differences in machine configurations that would normally have been solved during an installation. This was written several years ago. I don’t use it anymore and decided to clean it up, convert it to use ADO and post it on PSC. Hope you find it useful. Please see the ReadMe file.
Update:2/15/05 - This application will scan both VBP and VBG project files. It will copy or move all the files referenced in a project file(s) to a project folder of your choosing, either new or current, and update the project file(s) with the new file locations. User Options Include: - Leave your existing project intact by creating a new project folder to copy the files to, - Move all your project files to a new project folder, - Update your current project by copying all referenced files not currently in your project’s folder to your project’s folder, - Organizes your project files by placing them in separate sub-folders, - Copy or Move any sub-folders that are currently in your project’s folder, - Copy or Move any miscellaneous (non VB) files like graphics, databases, and sound files that are in the same folder as the project file(s), - Delete empty folders, - Copy only newer files, - Prompt before overwriting existing files. No more submitting that perfect project to PSC, with high hopes, only to get e-mails back saying that your zipped project is missing files. This project comes as a standard exe or a VB6 add-in. It also supports command line so that you can create a shortcut to this application and place it into your “Send To” folder, giving you the ability to open projects from Windows Explorer. This is a complete project; meaning that error and data entry checks have been included along with warning messages and other user feedback. I have run extensive tests to make it as bug free as possible. Any comments or ideas for additional features would be greatly appreciated. PLEASE VIEW THE READ_ME FILE.
Update 11-24-03 This does everything the standard msgbox does plus more and it is all in one file. It uses all the standard parameters for selecting the buttons, icons and sounds; which means it is a direct replacement for the standard msgbox. It automatically adjusts its size based on the amount of text to display (in the caption or the body of the message). What makes it different are the following: 1. Display it centered or at the current mouse position. 2. Display it with no buttons and close it through code only. 3. Display it so that it automatically closes after a specified number of seconds. 4. Display it as a modal or non-modal form. 5. Display 5 additional system icons. 6. Uses a more modern look, rounded corners and a yellow background to make it easer to read. 7. The special Help button is treated as any other button, returning a value when pressed. 8. The Ok button is not shown by default. You need to add the vbOkButton parameter to make it show. 9. NEW: Added an Inputbox function (frmMsgBox.sInputBox) with the same look and feel as the msgbox.
A simple calculator you can add to a project; use the keyboard and/or mouse.
A replacement for Sheridan's 3D (THREED32.OCX) SSPanel and SSFrame controls. This is not a direct replacement because some of the property names are different. A good alternative when using XP manifest files over VB's Frame control and a picture box (which contains a lot of overhead). This control has 70 different border combinations and 3 text styles that can be positioned one of 15 possible locations. You can change the background, highlight and shadow colors; add gradient fill and/or fill with a pattern. Also included: Line3D control, automatically create a manifest file, link XP themes to the application, and End an application the proper way. Please see the Readme file for a listing of the property definitions.
(Update 2/17/05) You should include error handling in every procedure of your application regardless of its size or purpose. Usually, during an application’s design phase, we naturally include “ON ERROR RESUME NEXT” to handle expected errors while we are writing the code. The problem occurs when the initial design is complete; we don’t always go back and add error trapping for those unexpected errors. This is usually because it takes to much time or we meant to but just miss some when we did. This utility will add error trapping and logging to all the procedures in your code that you didn’t. View the read_me document for more information. I am not interested in trying to winning the monthly contest so please DON’T vote; save your votes for those who are.
(Updated 11/09/04) This application will give you a well-formatted printout that includes a cover page, a table of contents and a project summary. You can select what will be printed, from the entire project, a single procedure in a module, or just the project summary. You can send the output to the screen (preview) or the printer. You can also export the results to a RTF file, HTML file, or a bitmap file (using the preview). It also has some additional printing options to save paper. Includes a stand-alone version as well a VB add-in. It uses VB6's TreeView control, so it will not work with older version of VB. (Project's name change: was 'A Project's Source Code Printer).
(Update 5/11/04 - added another display type) This is an alert window that rises up from the taskbar or fades in/out. I had no intentions of posting this but after seeing Todd Tanner's MSN style alert window, and having my comments deleted, I decided to post it for education purposes only. NO VOTING PLEASE but comments are welcome. (Update 4/7/04 - Added options for border style, background color, and Close by code only.)
(Update: Added input limits on the time) 22 functions for working with dates. Included are a Calendar Form and a Class module; both are independent entities (you can use one without the other). The Calendar Form provides a "popup" calendar using VB code only, no OCXs or DLLs. The Class module provides various date functions.
(Update 3/8/05 - Check for unused, Added some user options.) Fix poorly formatted code by reformat all tab indenting and removing all double spaces between lines, - Add line continuations (user defined maximum line length, - Change type declaration postfix (exp: Dim x% changed to Dim x As Integer), - Change multi-line declaration to single line, - Insert ‘Option Explicit” where missing, - Alphabetically sort procedures within a module, - Move comments between procedures inside procedures. It supports drag-and-drop and command line (so you can add it to your Send-To list). You can save your code in RTF and HTML formats. All features, except tab indenting, can be turned on or off. This code was originally developed as a teaching tool. It will make backups of any files it changes and is very fast. Because the varieties of program styles are endless, ALWAYS test your modified code before you delete any backups created by this application. The code is simple and easy to follow, even for beginners. This is an update to a previous submission, NO VOITING PLEASE, but suggestions for improvement or enhancements would be appreciated.
Need Part 11 compliance then you will need multi-level password security with passwords that expire. This sample application will show you how to this to your applications. All you need to do is copy 2 forms, a class module and a module to your application (see below) and you are ready to go. It was written to use an Access database (DAO); I have also written an ADO version, which I will post later. You set up the access rights, add users, and assign these rights to the users. New users, by default, are assigned the password of password, which they must change the first time they try to log-in. A user can change their password anytime they choose as long as they know what their assigned password is. The security file (security.pwd) can be renamed to anything you like and is password protected. You can assign a unique application ID to insure that the security file can only be used with that application. If you are connected to a network, the application will display your network log-in ID automatically in the Log-in ID text box. The passwords can be set to expire after a user-defined number of days.
Need Part 11 compliance then you will need multi-level password security with passwords that expire. This sample application will show you how to this to your applications. All you need to do is copy 2 forms, a class module and a module to your application (see below) and you are ready to go. It was written to use an Access database (ADO). You set up the access rights, add users, and assign these rights to the users. New users, by default, are assigned the password of password, which they must change the first time they try to log-in. A user can change their password anytime they choose as long as they know what their assigned password is. The security file (security.pwd) can be renamed to anything you like and is password protected. You can assign a unique application ID to insure that the security file can only be used with that application. If you are connected to a network, the application will display your network log-in ID automatically in the Log-in ID text box. The passwords can be set to expire after a user-defined number of days.
This will give you the tools and instructions necessary to convert your DAO project to ADO.
Update 1/14/04: This is an address label printer. It was originally created for church use and mass mailings. You can have multiple files to help organize your address; the program will remember the last 4 you have opened. You can search for a specific address in a variety of ways. It allows you to move address from one file to another (one at a time or a selected group) by opening a selected paste file. You can Import/Export address from/to text files; you pick the field delimiter (Tab, Semicolon, Comma, or Carriage Return). You can print a single address label, selected address labels, all address labels of selected zip codes, or all address labels in a file at a selected starting row and column. You can print a single page of labels beginning with the first address you select. You can use it to print nametags by selecting the print option "Print Names Only". You can create and save different printing schemes which contain label size/layouts as well as what font will be used to print. You can view/edit one address at a time or view all the address in a spreadsheet format. In the spreadsheet, you can filter the information displayed to show only the address you want. The data in the spreadsheet can be sorted by column heading in either ascending or descending order. PLEASE READ THE README FILE.
Bug Fix: 4-19-04 This code gives you the ability to add print previewing to you application and the tools to allow you to make nice looking printed reports. You can fix the printing options such as paper orientation and preview/screen or allow the user to change them when running the report. Use it to design reports without wasting all that paper. I have tried to make this as simple as possible so you can add it to your existing projects and with only a little effort to change your reports. I have never before asked for votes, but I have put a lot of time into this and would appreciate your feedback (please be kind).
Update: Added a new print option. This is an address label printer. It was originally created for church use and mass mailings. You can have multiple files to help organize your address; the program will remember the last 4 you have opened. You can search for a specific address in a variety of ways. It allows you to move address from one file to another (one at a time or a selected group) by opening a selected paste file. You can Import/Export address from/to text files; you pick the field delimiter (Tab, Semicolon, Comma, or Carriage Return). You can print a single address label, selected address labels, all address labels of selected zip codes, or all address labels in a file at a selected starting row and column. You can print a single page of labels beginning with the first address you select. You can use it to print nametags by selecting the print option "Print Names Only". You can create and save different printing schemes which contain label size/layouts as well as what font will be used to print. You can view/edit one address at a time or view all the address in a spreadsheet format. In the spreadsheet, you can filter the information displayed to show only the address you want. The data in the spreadsheet can be sorted by column heading in either ascending or descending order. Included with this project are several cls files, which contain a lot code that you will find very useful to use in your project such as: * Play wave files stored in a resource file. * Many screen utilities like Center Form, Vertically Fit Form to Screen, and Make on top. * File Open and File Save dialog boxes without using an OCX. * Auto match Combo Boxes. * Masked Text. * Format text as it is typed. There are two versions of the project included, PrintLabels_MsGrid.vbp and PrintLabels_SheridanGrid.vbp. PrintLabels_SheridanGrid.vbp uses the Sheridan Data Widgets and PrintLabels_MsGrid.vbp uses Microsoft's data grid control. To select a group of connected rows using the mouse and the shift key, you need to click somewhere inside the grid; to select several non-connected rows using the mouse and control key you need to click on the Record Selectors bar located on the left side of the grid. The dbgrid32.ocx can be found it on your Visual Basic CD under ?:\Common\Tools\VB\Controls. You can find the ADO version of this project at: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=36736&lngWId=1
Updated 8-13-03. You can copy any object from one Form to another except the Menu; that is until now. This application will copy the menu properties and source code (under the Click event) from one Form to another. If the Destination Form already has a menu, it will be replaced with the menu from the Source Form or you can merge the Source and destination menus. There are few times you need to copy menus, but I wrote this app just to see if I could. Included are two form to try it with.