Advertisement

Results for "Author: herbert n swearengen iii"

ASP_Volume3 #62609
Animal Match Game

This is almost identical to my Celebrity Match Game. Here the object is to match the name of the animal with its photo. This would be a great game for kids. And just because I think this would be a great game for kids does not mean that I am a pedophile. However, some people here seem to think that. I used to be a school teacher and I respect kids.

ASP_Volume3 #62610
Music Database for MP3 Files

Title: Music Database for MP3 Files Description: This code is based on "My Music Database" by H. Morales. Here are the differences: 1. Code was rewritten in Visual Basic. 2. Additional fields added to the table: Composer, Copyright, Comments, and FullPath. 3. Removed buttons and wrote event handlers for BindingNavigator buttons. 4. Added ComboBox for Search type and wrote code to search all fields except Track and FullPath. 5. Added class library to obtain ID3 data from file. 6. Added class library to play MP3 file. 7. Added button to create entries for all MP3 files in a folder automatically. 8. Added setup program. Because of the multiple projects (and types) it is necessary to use a full version of Visual Studio 2008 to build this solution. Microsoft SQL Server 2008 R2 is also required.

ASP_Volume3 #62611
Managed Speech Synthesizer (VS2010)

This application uses the System.Speech namespace in .NET Framework 4.0 to systhesize speech from text input. It will use any installed voice on your computer and will also use SSML (Speech Synthesis Markup Language) if the voice supports it.

ASP_Volume3 #62612
Setup Wizard (Update #2)

Semi-automate a series of application installations with the Setup Wizard! I built this project because I am constantly setting up virtual machines and beta releases and have to install applications for testing purposes. This program would be most useful if you were burning a CD or DVD. Once you click the "Install" button, the process begins and the Setup Wizard minimizes to the system tray. It is possible to cancel or exit the process from the context menu of the icon. But any installations in progress will have to complete first. The programs runs the installs using the BackgroundWorker component so that the tray icon context menu remains responsive and you have control over the install. Any comments or bug reports will be appreciated. I hope someone, besides myself, will find this useful. (This revision modifies the code to conform with current Microsoft guidelines.) Herbert Swearengen

ASP_Volume3 #62613
RAM Inspector 2.0 with novel vertical meters made from panels and advice on upgrading VB6 code

I've been going through my collection of VB6 code downloaded from PSC. Since I'm coding exclusively in Visual Basic 2005 now, I was able to immediately cull out a lot of code. I don't need users controls to provide the "XP Look," for instance. And other code just duplicates functions built into the .NET Framework. After that I was left will quite a few programs that looked interesting. I've done about 20 of these conversion so far, but none that I spent as much time on as this one. These conversions can take a long time, so you should carefully examine the VB6 code first. If you haven't downloaded the NEW version of the Visual Basic Code Advisor from Microsoft, do yourself a favor and do so. It's much better than the old one. You can also set what your target development environment will be. It's also useful for cleaning up code that you intend to leave in VB6. You should also look at the code you intend to convert. If you don't see "Option Explicit" or "Dim" statements, the code is probably full of variants and is probably not worth fooling with. If you see any undocumented statements like "VarPtr," forget it. If the code is messy and all the variable names are like "Text1" and "Command1," you should take the time to give all the controls and variables meaningful names. And you should format the code. Fix everything you can while in VB6! This particular project had some bad formatting, default contol names, and a few strange programming practices like storing integers as strings in hidden text boxes and then converting them back for use! It also had a user control that provided meters or vertical bars for memory usage. I looked at it and decided I would have to come up with another solution because the user control used the "Shape" control which does not exist in VB.NET. I just replaced the "meters" with picture boxes as placeholders and decided I would come up with a solution. Also the project used the API call GlobalMemoryStatus, which is obsolete because it will not deal with RAM or Page Files larger than 4 GB. I also decided to replace that after the conversion. I came up with what I think is a novel replacement for the "meters." I used several panels per "meter," a little arithmetic, and a timer control. Maybe you might find this idea useful.

ASP_Volume3 #62614
Drive and Folder Scanner

This program can scan folder or drives for a variety of reasons. By scanning, it possible to spot security problems in the NTFS file structure. Of course, total number of files and folders and their attributes can be returned. But the most useful function this utility serves is to identify those paths that are not compatible with CD/DVD recording. (This update cleans up code and fixes bugs.)

ASP_Volume3 #62615
SimplePad Multti-Language Text Editor

This project is basically a simple text editor. What makes it unique and a useful learning tool is that it supports 13 languages and 19 cultures. I started this project using Visual Studio .NET 2003, but put it aside be of the difficultly of access data on one form from another. This is no longer a problem with Visual Basic 2005. I’ve also been able to improve the looks of the program by using the new menus and toolstrip toolbars. The method I chose is not the only one available for globalization, but it seemed easier to understand and the resource files could be edited within the IDE. A disadvantage of this approach is that a folder is created in your installation folder for each language and culture. I can’t take credit for all the code. The find-replace dialog and printing code are largely based on old Microsoft samples converted to VB 2005. You will notice also that all of the common dialogs are in English. On a localized version of Windows, they would appear in the correct language. The program also defaults to the language installed on the computer.

ASP_Volume3 #62616
System Information (Update #2) (Visual Basic Version)

This program provides a lot of information about your computer. Most of the information is harvested using the .NET Framework 2.0 or the WMI classes accessible through the Framework. This version is a major upgrade from the original submission. A lot of code has been cleaned up and most existing panels have been enhanced in some way. There are 4 new panels: Installed Programs, Services, Startup Programs, and Users. This project is also available in C# and because I did not use any language features specific to Visual Basic in this version, they are quite similar. The idea for using the panels is not mine. I modified some code from a Microsoft sample. This update has been converted for VS2008 and includes some additional features including support for 64-bit versions of Windows.

ASP_Volume3 #62617
Start Shutdown

I had a batch file that shut down my computer after my antivirus scan. The problem was I couldn't abort the shutdown. This little program solves the problem.

ASP_Volume3 #62630
System Information (C# Version)

This program provides a lot of information about your computer. Most of the information is harvested using the .NET Framework 2.0 or the WMI classes accessible through the Framework. This version is derived from the original submission written in Visual Basic, which is also available here. Because I did not use any language features specific to either language, the Visual Basic and C# versions are quite similar. The idea for using the panels is not mine. I modified some code from a Microsoft sample.

ASP_Volume3 #62631
One-Click Cleanup (Update)

Empty your Recycle Bin and remove temporary and extraneous files with just one click. (This update has been converted to VS2010 and includes some changes suggested by feedback that have been made.)

ASP_Volume3 #62632
Read Me The Weather

This is a simplified version of a commercial weather monitoring program I developed. It features current conditions and a two-day forecast from The Weather Channel. It is designed to read the weather to you using speech synthesis, but also displays the weather in a form and in a tray icon with balloon. This application uses Microsoft .NET Framework 3.0 to provide managed speech synthesis. This is built-in to Microsoft Vista and Longhorn Server, but must be downloaded and installed for Windows XP or Windows Server 2003. It is not available for Windows 9x or Windows 2000/NT. This application also uses a XML feed from The Weather Channel. Please have fun with this. Remember you can separate the voice synthesizer class and use it for other applications. I'm sure you will find any number of useful methods and classes here. I think it is pretty well commented. All the documentation for The Weather Channel XML feed, as well as their icons, are included.

ASP_Volume3 #62633
Disk Pie Chart

This VB9 utility program displays a 3D Pie Chart for any of your drives showing either used/free space or used space by root folders. It uses a 3D Pie Chart library in C# written by Julijan Sribar.

ASP_Volume3 #62634
System Information II (Update #1)

This VB9 utility program is a major upgrade to my previous System Information submission. This version offers, in addition to information, the ability to control the information displayed. You can start/stop drivers and service, uninstall programs, control processes, set OEM computer information including logo/picture, share/unshare folders, delete startup programs, and modify user/company information. The complete list of categories is Bios, Components, Computer, Cpu, DateAndTime, Desktop, Drivers, Drives, EnvironmentVariables, EventViewer, FileTypes, Fonts, InstalledPrograms, Introduction, Keyboard, MultimediaCodecs, Network, OEMInformation, OperatingSystem, PointingDevice, Ports, Processes, Services, Shares, Sound, SpecialFolders, StartupPrograms, UsbDevices, UserInformation, Video, VisualStyles, Win32Explorer Hardware, Win32Explorer Memory, Win32Explorer Network, Win32Explorer Storage, Win32Explorer System, and Win32Explorer Users. By examining the source code, this application will familarize the reader with .NET WMI class methods, Panels used as UserControls, TreeView, ListView, and ListViewGroups. This update fixes a problem when the application starts as a notification icon.

4_2005-2006 #167906
Animal Match Game

This is almost identical to my Celebrity Match Game. Here the object is to match the name of the animal with its photo. This would be a great game for kids. And just because I think this would be a great game for kids does not mean that I am a pedophile. However, some people here seem to think that. I used to be a school teacher and I respect kids.

4_2005-2006 #167907
Music Database for MP3 Files

Title: Music Database for MP3 Files Description: This code is based on "My Music Database" by H. Morales. Here are the differences: 1. Code was rewritten in Visual Basic. 2. Additional fields added to the table: Composer, Copyright, Comments, and FullPath. 3. Removed buttons and wrote event handlers for BindingNavigator buttons. 4. Added ComboBox for Search type and wrote code to search all fields except Track and FullPath. 5. Added class library to obtain ID3 data from file. 6. Added class library to play MP3 file. 7. Added button to create entries for all MP3 files in a folder automatically. 8. Added setup program. Because of the multiple projects (and types) it is necessary to use a full version of Visual Studio 2008 to build this solution. Microsoft SQL Server 2008 R2 is also required.

4_2005-2006 #167908
Managed Speech Synthesizer (VS2010)

This application uses the System.Speech namespace in .NET Framework 4.0 to systhesize speech from text input. It will use any installed voice on your computer and will also use SSML (Speech Synthesis Markup Language) if the voice supports it.

4_2005-2006 #167909
Setup Wizard (Update #2)

Semi-automate a series of application installations with the Setup Wizard! I built this project because I am constantly setting up virtual machines and beta releases and have to install applications for testing purposes. This program would be most useful if you were burning a CD or DVD. Once you click the "Install" button, the process begins and the Setup Wizard minimizes to the system tray. It is possible to cancel or exit the process from the context menu of the icon. But any installations in progress will have to complete first. The programs runs the installs using the BackgroundWorker component so that the tray icon context menu remains responsive and you have control over the install. Any comments or bug reports will be appreciated. I hope someone, besides myself, will find this useful. (This revision modifies the code to conform with current Microsoft guidelines.) Herbert Swearengen

4_2005-2006 #167910
RAM Inspector 2.0 with novel vertical meters made from panels and advice on upgrading VB6 code

I've been going through my collection of VB6 code downloaded from PSC. Since I'm coding exclusively in Visual Basic 2005 now, I was able to immediately cull out a lot of code. I don't need users controls to provide the "XP Look," for instance. And other code just duplicates functions built into the .NET Framework. After that I was left will quite a few programs that looked interesting. I've done about 20 of these conversion so far, but none that I spent as much time on as this one. These conversions can take a long time, so you should carefully examine the VB6 code first. If you haven't downloaded the NEW version of the Visual Basic Code Advisor from Microsoft, do yourself a favor and do so. It's much better than the old one. You can also set what your target development environment will be. It's also useful for cleaning up code that you intend to leave in VB6. You should also look at the code you intend to convert. If you don't see "Option Explicit" or "Dim" statements, the code is probably full of variants and is probably not worth fooling with. If you see any undocumented statements like "VarPtr," forget it. If the code is messy and all the variable names are like "Text1" and "Command1," you should take the time to give all the controls and variables meaningful names. And you should format the code. Fix everything you can while in VB6! This particular project had some bad formatting, default contol names, and a few strange programming practices like storing integers as strings in hidden text boxes and then converting them back for use! It also had a user control that provided meters or vertical bars for memory usage. I looked at it and decided I would have to come up with another solution because the user control used the "Shape" control which does not exist in VB.NET. I just replaced the "meters" with picture boxes as placeholders and decided I would come up with a solution. Also the project used the API call GlobalMemoryStatus, which is obsolete because it will not deal with RAM or Page Files larger than 4 GB. I also decided to replace that after the conversion. I came up with what I think is a novel replacement for the "meters." I used several panels per "meter," a little arithmetic, and a timer control. Maybe you might find this idea useful.

4_2005-2006 #167911
Drive and Folder Scanner

This program can scan folder or drives for a variety of reasons. By scanning, it possible to spot security problems in the NTFS file structure. Of course, total number of files and folders and their attributes can be returned. But the most useful function this utility serves is to identify those paths that are not compatible with CD/DVD recording. (This update cleans up code and fixes bugs.)

Languages
Top Categories
Global Discovery