Results for "Volume: Java_Volume1"
Simple Address Book database. Some functionality like database grid view, submit new entries, delete entries, clear fields, find entries. Used MSAccess as data "holder". Good for beginners who want to get familiar with SQL commands and jdbc/odbc. Feedback would be cool. Used JBuilder3/jdk 1.2 to develop.
This code will make letters fly from the right to the left of the status bar, slowly creating a message. You can adjust the speed of how fast they go and what the message says.
Have you ever wanted a navigation menu instead of Internet Exporer's right click menu. Well now you can. This script will have a menu (which you can adjust the height, amount of links, font and color in the source. BUT THIS ONLY WORKS WITH MICROSOFT INTERNET EXPLORER 5.0
We can develop a open source software platform that is superior to .NET, different elements are outlined below:
Its the Nokia Snake Game.It is not from me(it's from a friend)but it's very funny.
Hides menu bar and tool bar from the browser to Protect your code and images on web pages, plus it prevents right clicking. You need 3 pages 2 of mine and one of yours I included all three in the zip file plus a Read Me file. Enjoy and happy codeing :-) Please Please Please Vote for my code...I vote for yours when I download it :-) Ok I just Updated the Protect.htm with no key press ty for your input :-)
This is a must see demonstration. Watch in amazement as you feed the program ascii picture files that it "learns" via a mechanism known as neural networks. Then, change the ascii picture files a bit and see how the computer recognizes them! Test image files are included in the zip file. Compile and run the program, here is some test input: Enter file name to learn: face Enter file name to learn: boat Enter file name to recognize: facer Open the file "facer" in any text editor (notepad) and you will see that its basically the same as the boat image but with a few changes. But still the computer recognizes it as a boat from its part learning knowledge. Change the facer some more (only .'s and *'s 17x17) and run the program again. The computer will again recognize the image. :) Enjoy!
These two functions will return the location of the Windows directory (WinDir) and the location of the System directory (SysDir).
Sets a file's attributes. With this you can create archive, hidden, normal, read-only, and system files.
Implementation of Arraylist collection, Listbox and Serialization
This is a full-fledged HTML editor written completely in JavaScript. Very useful!
This simple script lets you view an image of your choice.
This is showing some of the webbrowser functions using vb.net, I extended the example put up on PSC by Chet Mancini to include property pages, opening the internet option dialog, selecting all, copying, open file, save as, print preview, page setup, adding browsed sites to a combo instead of a textbox, progressbar, status bar with events. Have not got find or view source to work quite right yet. There is also code to kill the right mouse menu. To disable the right mouse menu uncomment this line of code in the AxWebBrowser1_NavigateComplete2 Event(oDoc = AxWebBrowser1.Document). This seems to mess a bit with the left click, but definately traps the right mouse as you will see. I am working on implementing this better as well as the view source and find on this page dialogs. All in all it's a 1/2 way decent starter to a web browsing app in vb.net and to my knowledge at this point the most featured one on PSC in the vb.net area.
This code allows you to search an amphorus database that is built into the page.
This is a standard LZSS compression/decompression engine. It is written in VB for learning purposes, and should be converted to C/C++ if it is to be used with large amounts of data. It uses a dictionary compression algorithm (like ZIP,ARJ and others) and works the best on data with a lot of repetitions.
' Given an editable textbox named Text1, this code prompts to find a word and ' searches throught the textbox and highlights the first occurance of the ' found word (if exists).
This script is a combination of a lot of common form validation elements - checking for non-entries, image swaping to indicate invalid entries, focusing on invalid fields, and feedback to the user through an alert box. I got tired of writing new code for every form (or even cutting and pasting a lot) so this is intended as a .js include file, and all the information necessary to validate the form is contained in the form itself. Most validation is of the did-they-fill-it-in variety. See the comments in the script for more details. Additional validation can be performed with a customized object-oriented JavaScript function. Explanations and an example are provided in the comments.
Simple example of a java servlet. This is a "tone-downed" version of a servlet I created for a school in the South. I figured maybe someone out there may get some use out of it, or maybe not. If you do, have fun with it. If you want use this, remember to create your DBMS (ie, MSACCESS).
This lesson explains how to write, compile, and run a simple program written in the Java TM language (Java program) that tells your computer to print a one-line string of text on the console.
All programs written in the JavaTM language (Java programs) are built from classes. Because all classes have the same structure and share common elements, all Java programs are very similar. This lesson describes the structure and elements of a simple application created from one class. The next lesson (Buidling Applets) covers the same material for applets.