Advertisement

Results for "Volume: C_Volume2"

C_Volume2 #80891
Date Picker

This javascript will get the number of days in a month based upon the year selected.

C_Volume2 #80892
Form Validation

This code validates the information entered into a form using javascript. It validates the name, location, date, and e-mail address.

C_Volume2 #85380
Pathfinder

Based on Djikstra (a pathfinding algorithm), this VB.NET project has an AI (aritificial intelligence) to find the shortest path between two locations on a map. Then an animated sprite will walk along that path. There are 2 types of tiles: passable and blocked. The passable tiles have different cost to cross (e.g. cemented roads are favored over sand). The commented pathfinding code is written on a class so that you can easily incorporate a pathfinding AI in your own game. This is also integrated with a map editor where you can create, save, and edit map from 5x5 to 25x25 in size. If you cannot see the entire map, scrollbars are provided. There is also a minimap which represents the entire map. The graphics method is GDI+ (no external API calls or DirectX). The drawings are optimized by rendering only the parts that are really needed to be drawn. - Arvin Meralpis

C_Volume2 #81873
Disk Writter/Boot creature

Write a file to a disk

C_Volume2 #72962
A function that encrypts/decrypts.

2 functions 1 that encrypts a passed variable(string) and the other decrypts the data(path of file) Mainly used for a single password. The code encrypts each character with a simple formula, the more characters the better the encryption. The limit on the password length is 50 characters.

C_Volume2 #80893
AwtCalc

A simple calculator that feature's a swing-like interface. This program can be run as an applet or a stand-alone application.

C_Volume2 #80894
Trivia Quiz

This is a cool javascript that creates a Trivia Quiz. You can change the number of questions, answers, and time allowed to answer the question. When all questions are done, it displays the amount of questions correct.

C_Volume2 #80895
Chat Application

This is a pretty cool Chat application used between client and server. Some of my friends wrote this and told me i should post it on here to see what you all think of this. One thing they didn't do when writing the application was that they didn't add any comments in the so urce.

C_Volume2 #80896
Cool Java Applet

This applet reads in messages from a text file and displays them in different ways.

C_Volume2 #80897
Drop Down Menus DHTML

Website Navigation / Menus: Cross browser, automatic positioning, large menus can be added with minimal change in the file size, comma separated arrays can be built easily via ASP/JSP/Perl/ect.

C_Volume2 #85027
Database Explorer

This example shows how you can use OleDbSchemaGuid in ADO.NET to fetch Schema information from database. It also shows, how you can use DataGrid control, to fill records from dataset, and also how to update records from DataGrid to database using OleDbDataAdapter and OleDbCommandBuilder. In this example List box is filled with Table names of a Specified Database, and by clicking on the table name, you can fill records in the DataGrid. The wonder of the ADO.NET is that it is total disconnected scenario, and this helps a lot in Web Applications.

C_Volume2 #72963
Text Box Auto Fill

This simple code allows to make an auto-filled textbox (like an adress box in IE). This example uses an DataEnvironment connection, but it can be easy used in any other cases.

C_Volume2 #72964
Build a Stateless Class

The example shows how to create a "Stateless" Class. By sending and receiving UDT's and disconnected recordsets you will find a significant increase in speed with your objects in a 3 tiered application. If you use collections, each time you get/set a property you make a network call. This method reduces network traffic.

C_Volume2 #80898
Temperature Converter

This is just a simple java applet that will convert Degrees Fahrenheit to Degrees Celesius. Very simple and can be modified to convert back.

C_Volume2 #80899
a sample TCP

This code shows a simple TCP which has checksum, error control, packet loss and simulation for a random network. You can give the time slice, packet loss, corrupt packet, and random number range. The time slice indicates the time it takes the packet to reach from A_side(client) to B_Side(server), the more the packet loss probability the more packets will be lost before send to the server. The higher the packet corrupt probability the more packets will be corrupted before send to the server. If random seed is high, the range of random number generated will be more. It will be easier for you to trace the program if the range is less. ex: 5. Try to use a timer value about 1000 if you want to send the message from client to server.

C_Volume2 #84652
Sending Encrypted Messages Between A Client And Server

I created this in VS.Net 2003, but as far as I know this should work in VS.Net. A demonstration of how to combine Asymmetric (RSA) and Symmertic (Rijndael) encryption for Client/Server communications.

C_Volume2 #80900
Registration form

This is a simple java applet which registers a new user. Before you run the code u need to set you ODBC for the data base I have included. You can use the code for your own use and fun. Just try vote for the code if you have time.

C_Volume2 #80901
Do you know that you can call Java classes from Visual Basic ??

Do you know that you can call Java classes from Visual Basic ?? well, that's not a fair tale anymore, it's possible. let me guide you through this adventure. Firts at all, we need a Java class, Here you will find an example: Java Code //************************************************** public class MyTest { public int myfunction(int value1, int value2) { return value1+value2; } } //*************************************************** Compile it i.e. javac MyTest.java and when you get MyTest.class file, you must register it for this you will need Microsfot SDK for Java you can download from this link http://www.microsoft.com/java/download/dl_sdk40.htm when you have downloaded and installed. include it on Path variable enviroment just do it using Command Ms-DOS set path=%path%;C:\Program Files\Microsoft SDK for Java 4.0\bin\ (this path could change) then you must register our MyTest.class file. you should do it using javareg.exe file from Microsoft SDK for Java i.e. javareg /register /class:MyTest /progid:MyTest if everything is well-done then you should see a MessageBox displayed with Succesfull register Class message. Otherwise, you must check the correct spelling on the command line. Now, the next step, copy the new Java class file that was generated. MyTest.class and paste in C:\Winnt\Java\Trustlib\ folder if you have windows 98, this folder may change. And the last step, open a New Project on Visual Basic. And paste this brief code on the Form Load event for example and run it. Set x = CreateObject("MyTest") MsgBox x.myfunction(1, 1) Congratulations !!! you can use Java Class from Visual Basic. Please do not forget to vote for this article. =)

C_Volume2 #80902
Center Popup Windows

Center popup windows in the middle of your browser.

C_Volume2 #81874
diamond

this code will give u the ouput like a diamond shape

Languages
Top Categories
Global Discovery