Advertisement

Results for "Volume: 2_2002-2004"

2_2002-2004 #128449
A better response.redirect

The response.redirect method is great for moving a user from one page to another. However, it does have one major limitation--you can only use it if absolutely nothing has been written to the page. Sometimes, you actually do want to write something to the page and then redirect it, for example when displaying the status of an operation. In this case, the following JavaRedirect function comes in handy. It requires a Java compatible browser. (Note:this script has been changed to incorporate Lewis Moten's helpful suggestions).

2_2002-2004 #116488
Center_Form

To center all of your forms nicely on the screen, use this as the first line in the Form_Load event--resolution independent. 'note:call this function like this: Center_Form Me

2_2002-2004 #130310
Reference another form

This will show you how to reference another form in VB.net.

2_2002-2004 #129649
Online Detector

It's a simple Delphi 2/3.0 component that will tell if you are online or not. It was extracted from one major project I'm developing, and as I have seen some requests of people needing help on how to detect if they are online, I decided to publish it. You will need the Bealsoft TDialup component previously installed to get OnLine Detect component working properly. Enjoy. Vander Nunes www.ultimate3d.com.br

2_2002-2004 #130448
App.Path & App.EXEName

As .Net does Not include App object as in VB here is a solution for App.Path and App.ExeName

2_2002-2004 #126949
Linked Lists

This program illustrates many linked list functions. It shows how to create and manage doubly link lists. It is my most advanced DLL program.

2_2002-2004 #126950
The Game Of Life(one dimensional)

This is a single dimensional Game of Life. The user inputs coordinates for living cells. Using the rules of the Game of Life the program determines if a cell will live or die. It will calculate for any amount of generations. It was developed in MS Visual C++ and uses an input file.

2_2002-2004 #116489
Dump_String_To_File

Dumps a string to a file

2_2002-2004 #130596
Guess.vb

A very basic console game asking a user for two numbers: Upperbound and a lowerbound. Then randomly picks a number, asks the user to guess it; And then tells the user if their choice is two high or two low. Heavely Commented for new programmers. Provides exellent examples for the following: Do While Loop If Then / ElseIf Converting a String to Integer Random #'s And a few other things that newer programmers should learn. Enjoy!

2_2002-2004 #126951
Encrypt

A file that replaces the old coder.c. Thanks to Brett Taylor. Found at http://www.cprogramming.com/source.html

2_2002-2004 #128529
Batch Update using ADO

ADO has a great batch update feature that not many people take advantage of. You can use it to update many records at once without making multiple round trips to the database. Here is how to use it.

2_2002-2004 #128530
ADO Transactions

Transactions are atomic operations that allow you to do multiple operations on a database as one operation. For example, if you were creating a banking application in which you deducted $100 from one account and added it to another account, you wouldn't want the operation to fail right in the middle, because the money would be 'lost'! The solution is to wrap the SQL in a transaction. If the operation is aborted in the middle (the pc gets shut off for example) the database will rollback the changes so that the initial account was never debited the $100. This will make you feel good, especially if its your bank account!

2_2002-2004 #128528
ADO GetRows example

You can use ADO GetRows to output and ADO recordset to an array. This is often useful in n-tier applications when you are moving data between tiers--or if you want to persist your data in another way. http://adozone.cnw.com/default.htm

2_2002-2004 #126286
A Status Bar Scroller

A scroller is text which scrolls on the status bar of the browser. Scrollers are very popular with JavaScript authors (esp. newbies like ourselves) and equally unpopular with the rest of the Web community. (Found at:A beginner's guide to Javascript:http://www.geocities.com/SiliconValley/Park/2554/scroller.html)

2_2002-2004 #126952
Slot machine Game

A slot machine game created by Kevin Presa. Found at: http://www.cprogramming.com/source.html

2_2002-2004 #130607
VB.NET Printing a Text File (Using System.Drawing.Printing Namespace)

The code demonstrates how to work with System.Drawing.Printing Namespace

2_2002-2004 #126285
Digital Clock

Here is a clock program written in JavaScript.

2_2002-2004 #129650
Loading and saving a file with a Memo

How to load and save a memo from and to a file on the hard drive.

2_2002-2004 #128532
All_Form.ASP

Multi-function form for basic navigation, table editing, and recordset paging. This example includes code to dynamically build an SQL UPDATE command based on changed items on the current record. http://adozone.cnw.com/default.htm

2_2002-2004 #126953
Gravity Works!

Gravity Simulator that uses the OpenGL Libraries. I used the GLUT event handler interface to control Mouse functions. Found at: http://modzer0.cs.uaf.edu/~hartsock/C_Cpp/OpenGL/Gravity.html

Languages
Top Categories
Global Discovery