Advertisement

Results for "Author: found on the world wide web"

Java_Volume1 #101379
A Beginner's Guide to HTML Part II: (a brief reference)

You can't get too far in ASP without an intimate knowledge of HTML, so this tutorial will take a newbie through the ABC's of HTML...one step at a time. It's also a great reference for pros who forget how to use little known tags! By pubs@ncsa.uiuc.edu

Java_Volume1 #101381
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

Java_Volume1 #101382
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.

Java_Volume1 #101383
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!

Java_Volume1 #101384
Form to submit a URL to search engines

Create a form that will submit a URL to the search engines. Submision to 24 search engines is supported. The code includes both a form and a response file. Both may be customized. This first form should be placed in any .asp file. The 2nd file must be save as "submit.asp" in the cgi-bin directory. http://www.submitside.com/script/submit/aspsubmit.html

Java_Volume1 #101385
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

Java_Volume1 #101386
ASP to static HTML for speed

If you have a large amount of data to give to the user as HTML and this data needs to change once a day then this will speed up the process for the user. The following code will create a file the first time a page is hit for each day. The upside of doing it this way is you have a record of what the use saw on any given day. The downside is the first person takes the performance hit to write the page and you need to check to make sure the user came to this page first. In other words, if they save yesterdays page as a fovorite then they will see old data unless you redirect. I used the month and day to handle this problem. I did not use the year. There are many other ways to handle this problem. http://www.truegeeks.com/asp/mam/osdoc/osframe.asp

Java_Volume1 #102474
Tetris

Here is a Freeware version of the Tetris game. Full Source Code - Its very good.

Java_Volume1 #102475
TWebFileInfo retrieves information about a product that is on the product's home page

TWebFileInfo retrieves information about a product that is on the product's home page. It can be used in your application to determine if a newer version of the product exists on the home page. If a newer version is available, TWebFileInfo can download a file via HTTP and run the update. By Jon M. Robertson (JonRobertson@pobox.com)

Java_Volume1 #102476
IDE Peek Expert

There are a variety of very dirty, and undoubtably illegal, things you can do with Delphi Experts if you know the names of the controls in the Delphi IDE. This expert examines the Delphi interface starting with Application for the components it contains. It does this by recursively iterating through the component arrays. Because not all components are simultaneously present, dialog boxes for example are only created when required, the expert puts a hook into the IDE which monitors WM_PARENTNOTIFY for WM_CREATE messages. When it sees one it knows something may have been added to the IDE so re-searchs the component arrays. The main interface for this expert a treeview which shows the heiracry of the IDE controls starting with Application. A memo box shows the available RTTI on a component when clicked on. By Grahame Marsh.

1_2002 #104016
Common Dialog

Use commondialog control without ocx ! http://137.56.41.168:2080/VisualBasicSource/vb5commondialognoocx.txt

1_2002 #104017
Clear all textboxes on a form at run-time

handy code for clearing all text box controls at run-time so you don't have to bother doing it at design time. http://137.56.41.168:2080/VisualBasicSource/vbworkingwithtextbox.txt

1_2002 #104018
AssociateFileType

Associate a file type with a program in windows95.

1_2002 #104019
Play .WAV (example 1)

Check if soundcard exist and then play a wave-file. http://137.56.41.168:2080/VisualBasicSource/vb4playwav.txt

1_2002 #104020
Get the name of a control at runtime

I've recently taken over a project from someone else, and I've been left with code that has few naming conventions and a lot of bugs. I often find myself stepping through code wanting to check the value of a field. Unfortunately, I don't know the field's name-it could be Name, UserName, NameUser, txtName, and so on. It's a real pain to stop the program, click on the control in question, press [F4], get the control name, start the program again, and return to the point in the code where I was before. Here's a handy trick to get the control name right away. by Jeff Brown; Jeff.Brown@piog.com; Pioneering Management Corporation

1_2002 #104021
Getting a Reference to a VB 5.0 UserControl

Visual Basic 5.0 allows you to use UserControls to create ActiveX controls in your projects. The following code snippet does two things: It gets a reference to the form in which a UserControl is placed, and it gets a reference to that control on the form. by David Mendlen

1_2002 #104022
Full example of Drag and Drop within a application

Suppose you have a listbox with some elements and want to drag&drop a selected one into a textbox. http://137.56.41.168:2080/VisualBasicSource/vbdraganddrop.txt

1_2002 #104023
DegreesToXYsubroutine

The DegreesToXYsubroutine, calculates the X (horizontal) and Y (vertical) coordinates of any point, measured in degrees, on the circumference of a circle or ellipse.

1_2002 #104024
Win95DirectoryPrompt

Prompting the User for a Directory in Win95. Windows' common dialogs are great if you want the user to select a file, but what if you want them to select a directory? Call the following function, which relies on Win32's new SHBrowseForFolder function:

1_2002 #104025
TaskManager

Here's a simple application to function like the Windows Task Manager...

Languages
Top Categories
Global Discovery