April 14, 2000

Embedding XML Data Islands in HTML

There are two ways to embed a data island into an HTML document. The first is inline, where the XML data structure is surrounded by the tags. 3345 Deepak Pant

Checking for Characters

Question: I want to call another function only if the key pressed is a letter. Is there a way to check whether the key the user has typed is a

STL Thread Safety

Question: Does STL use any synchronization, or do I have to implement it myself by critical section? Answer: The C++ standard doesn’t specify whether STL is thread-safe or not (which

Converting LAYER to DIV tags

Question: I am trying to convert all the LAYER tags to DIV tags. In my code, I am using LAYER.SRC to execute a sever-side macro that returns an HTML document,

Scan HTML Code for Data Extraction

Question: Is there a way (using VB) to load a Web page (without actually showing the page through a browser or otherwise) and then extract the HTML code for use

DHTML & Search Engines

Question: Can you provide any insight on whether spider-based search engines, like AltaVista and Inktomi, can index DHTML text? Answer: The phrase “DHTML text” can mean different things to different

Passing Recordset Object Between ASP Pages

Question: I have an ASP called ‘default.asp’ that creates a recordset object called ‘objRS’ via ODBC. When a certain set of conditions is met, I linked it to another ASP

Select All Text

Question: How do you automatically select all text in a TextBox when it receives the focus? Answer: For a text box named Text1 you can use the following code: Private

Switching a Statement with a Char Array

Question: I can’t seem to get the switch statement to work with chars.For example: #include char answer[2];void main(){ cout > answer; switch(answer) { case ‘a’ : cout