Results for "Volume: Java_Volume1"
This Code opens and closes the cd-rom drive at a given interval. This can be used for security purposes and just for laughs. (though cruel laughs they would be ) This code is great for beginners. It shows how to use a timer in a very simple way.
When creating a data-driven web site, you obviously need to use a number of SQL queries to grab datasets from your database. Before you use a particular SQL query in one of your production ASP pages, though, you want to ensure that it returns the correct information. Therefore, a SQL query test web page, one that allows you to try various SQL statements and view their results, will often come in handy. For every web database project I work on, I pop this code somewhere onto the server. This page allows me to test out SQL queries before I put them into my ASP code. Recently I was doing a project on a co-located SQL Server in Atlanta. I used this page to set up all the tables from my home office in Florida. The idea is simple. You put SQL code into the form, select the data source from the drop down list and click submit. If the recordset contains columns, a table is built to display all rows and all columns. If the SQL is an data manipulation statement, a message appears stating that the command completed successfully. One of the best features is the clipboard. You can cut and paste SQL into the clipboard and it will be there each time you submit the form. I use a simple array to store the data source connection string. I have also had situations where I used a dictionary object to store the connection strings. Sometimes I use another textarea control instead of the drop down list. This allows me to try out different connection strings.
Have you ever wanted to create a game where the character or tank or whatever can shoot something, and instead of just drawing a straight line it took into acount gravity(or none) angle(direction)power/speed(velocity) then calculated it and created a curve upon which the object of your choice, like a sprite or shape or button, or character.. ANYTHING, followed WITHOUT SHOWING THE CURVED LINE ITSELF? Like in the old favorite scorched earth. Those tanks would shoot a curved path. THIS DOES EXACTLY THAT. BUT ALL IN A MODULE! so you dont have to worry about anthing. every aspect of this code is DOCUMENTED. So that you understand every bit. At least 2 sentances per action! Whether you need this for a game, or math program, or just fun! Or you want to learn more about the power of visual basic, Game Programming in VB or just are curios and WANT TO EXPAND YOUR KNOWLEDGE, this code is for you! Learn more about parametrice FUnctions! If you so desire. Its all in a module, so you just have to give an angle, speed,and the amount of time or distance for the bomb or whatever to go! The potential of this is limitless! Time bombs! Bullets. Creatures jumping! Skydiving! Graphing! So check this code out! And dont forget to vote! Its not worth putting code up here if you dont get voted for!
Converts a long address (2220112843) to it's IP address (203.59.84.132)
It's a Calender Generator program that generate the all year calender that u want .....
This article not only includes the complete source code for a database driven web site that the author created, but includes a detailed description on how it works!
If you are looking for a simple solution to display data and be able to sort and query it, you are on the correct page. Complex relationships between recordsets can be viewed using this technique. It is easier to use compared to ASPDB solution. Download Complete source code and explanation.
Make your own autoUpdate to your program. This include the source code. It's just an example of how to do it.
The purpose of this article is to show how to run tasks at regular intervals without having to access an ASP script with your web browser manually.
Since you are using VBScript, that should mean that either you have separate versions for Netscape and Internet Explorer users, make pages which tailor themselves to the client's browser, use VBScript only for non-essential page features, or are developing only for people using Internet Explorer. I have provided an example of a forwarding page which separates users capable of VBScript from others, and also a script which calls extra features if the client is using Internet Explorer. Note that they both use JavaScript, so that they will function in either NN of IE.
Resize and move controls during Runtime...very simple to understand
One of the most common uses of scripting is to respond to events from a form, such as typing text into a text box or checking data when the Submit button is pressed. There are two ways to reference form elements...this chapter tells you how.
This a tutorial I wrote because I had so much trouble learning how to write a COM object, I wanted to put it in simple terms for anyone else who might want to get into it.
Part II of our tour of the handy Response object in the ASP Object Model explores the collections available for your use.
Creates class modules(objects) from database tables. Users can also add their own methods, events and properties to the classes. The class builder will generate these additional interfaces together with the pre-selected(pre-defined ) database objects.
To return a group of Random Records from a database. For example, a group of random questions for a quiz/test.
TCPSHELL is a some sort of opensource project. Its generate a some sort of linux-on-windows shell box(Telnet) with multi-users support, users file, multi-threading, a good level of security and a easy way to add more functions. this release its just the first REAL release. Enjoy and join me to develop them. you can find last snapshots/distribs at: http://iga.fox.qc.ca/mrgibson/tcpshell/main.html
This program simiulates mouse moves by by NumLock keyboard. Fantastic code. You got to have it.
This Will Display All The Files, File Size and file date of every file in the directory you specify. To make this work, paste the code into your favorite html editor, save it and then view it.
A great example of Microsoft Agent speach programming! Peedy can launch websites (like EbaY and Planet Source Code; open menus; give the time and date; shutdown/reboot your computer and much more! The files you'll need can be downloaded from http://msdn.microsoft.com/workshop/imedi a/agent/agentdl.asp. You'll need the Microsoft Agent Core Components, L&H Text to speach, the Peedy character, and the Microsoft Speach Recognition Engine