Advertisement

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

ASP_Volume2 #40206
How to search a directory tree for files

The following code sample illustrates how to search from a given directory downward through the entire directory tree. The sample output from this example is directed to the system debug screen. For this example, the first class member (below) is called by a menu item. After the search is finished, a message box pops up. http://www.concentric.net/~cgalbrai/dirsrh.shtml

ASP_Volume2 #40207
Create a toolbar/statusbar in a dialog

Create a toolbar/statusbar in a dialog. To add a control bar to a dialog, you must create the control bar as usual, and then make room for the control bar within the client area of the dialog. For the control bar to function properly, the dialog must duplicate some of the functionality of frame windows. If you want ON_UPDATE_COMMAND_UI handlers to work for the control bars, you also need to derive new control bar classes, and handle the WM_IDLEUPDATECMDUI message. If your dialog is not the main window of your application, you will also need to modify its parent frame window to pass the WM_IDLEUPDATECMDUI message on to the dialog's control bars. To make room for a control bar within the client area of the dialog, follow these steps in your dialog's OnInitDialog() function: http://stingsoft.com/mfc_faq/chapter6/chapter6_5.htm

ASP_Volume2 #40208
Send a string to the clipboard

Without using OLE... Michael Pickens mfc_faq@stingray.com

ASP_Volume2 #40242
DtWinVer - A comprehensive OS detection routine

DtWinVer is a routine which provides a comprehensive method to determine which OS the program that calls it is running on. All methods it uses are fully documented on various articles on the MSDN CD. The routine provides the emulated OS aswell as the underlying OS. e.g. to a Dos program Windows 95 looks like MS-DOS 7.0.

ASP_Volume2 #40249
HTTP Virtual File System

The goal of the present HTTPFS project is to enable access to remote files, directories, and other containers (e.g., structured text documents, OS tables) through an HTTP pipe. HTTPFS system permits retrieval, creation and modification of these resources as if they were regular files and directories on a local filesystem. The remote host can be any UNIX or Win9x/WinNT box that is capable of running a Perl CGI script, and accessible either directly or via a web proxy or a gateway. HTTPFS runs entirely in user space. The current implementation fully supports reading as well as creating, writing, appending, and truncating of files on a remote HTTP host. HTTPFS provides an isolation level for concurrent file access stronger than the one mandated by POSIX file system semantics, closer to that of AFS. Both a programmatic interface with familiar open(), read(), write(), close(), etc. calls, and an interactive interface, via the popular Midnight Commander file browser, are provided. HTTPFS offers a glimpse of one of Plan9's jewels -- a uniform file-centric naming of disparate resources -- but without Plan9. This file system showcases HTTP, which is capable of far more than merely carrying web pages. HTTP can aspire to be the kingpin protocol that glues computing, storage, etc. resources together to form a distributed system -- the role 9P plays in Plan9. HTTPFS articles argue that unlike a popular catch phrase, it is the OS itself that is the browser. The client framework has been tested on GNU/Linux 2.0.36, HP-UX 10.xx, Sun Ultra-2/Solaris 2.6. An HTTPFS server will run on anything that can execute a Perl CGI script -- and this really means anything. The server has been tested on HP-UX B10.xx with a Netscape Server/1.12, Sun/Solaris 2.6 and Linux with an Apache/1.3.x server, and with Microsoft-IIS on WinNT 4.0.

ASP_Volume2 #40255
C++ OO Database library

The Variable Block Database (VBD) is a collection of C++ classes used to build portable database applications. Release 1031 features built-in support for multi-user and single user access. Database access methods include a B-tree with iterator and memory caching, navigational access, fixed and variable-length records. Includes general-purpose data structures such as linked lists, stacks, queues, balanced binary trees and others as well as a variable length string class, a postscript driver, and HTML driver. Ships with an advanced database recovery utility plus other text and binary utilities. Several example programs with are provided to demonstrate each of the concepts presented. This release has been built and tested under Windows 95/98, MSDOS, HPUX 10.20, Solaris 2.4, and RedHat Linux 5.2. All documentation is an HTML format, covering the class library, the example programs, and the utility programs included with the distribution. http://www.trumphurst.com/cpplibs5.html#Libraries_available_via_FTP__Q_Z_ Copyrighted freeware--Copyright © 1997 Douglas M. Gaer.

ASP_Volume2 #40294
Beginners C++ - Lesson 1

Welcome fellow programmers!! This is part one of the course which will show you the basics of programming C++ from scratch using the any platform. If you already know how to use the C++ already, you might want to read later lessons when available. So, lets begin. Found at http://pa.pulze.com/

ASP_Volume2 #40295
Beginners C++ - Lesson 2: Variables, math and booleans

Learn how to do variables, math and booleans in C++! (from http://pa.pulze.com/)

ASP_Volume2 #40296
C++ - Lesson 3 : do, while, #include, #define

Welcome fellow programmers to our third lesson in a long series on the road to programming C++. This articles explains do, while, #include, and #define. (from http://pa.pulze.com/)

ASP_Volume2 #41772
A Beginner's Guide to HTML Part I: (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

ASP_Volume2 #41773
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

ASP_Volume2 #41775
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

ASP_Volume2 #41776
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.

ASP_Volume2 #41777
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!

ASP_Volume2 #41778
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

ASP_Volume2 #41779
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

ASP_Volume2 #41780
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

ASP_Volume2 #42872
Tetris

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

ASP_Volume2 #42873
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)

ASP_Volume2 #42874
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.

Languages
Top Categories
Global Discovery