★ wanayoo — archive 1999 http://msdn.microsoft.com/voices/webmen.aspNouvelle recherche | Portail wanayoo
MSDN Online Voices   All Products  |   Support  |   Search  |   microsoft.com Home  
microsoft.com Home
  HOME  |   VOICES  |   LIBRARIES  |   COMMUNITY  |   DOWNLOADS  |   SITE GUIDE  |   SEARCH MSDN
Voices Archive 
 
ASK THE WEB MEN
Send your Web development questions to the Web Men at webmen@microsoft.com.
 

by Tom Moran and Rafael M. Muñoz

Tell It Like It Is

Posted November 1, 1999     To be archived December 6, 1999

Contents
Tabs from the past -- DHTML and behaviors replace the HTML Layout Control
Skip, skip, skip to my Lou -- How to simulate a SKIP command in SQL Server 7.0

We Need Your Help!

The Web Men and MSDN Online are always trying to improve. So, with the intent of making our column even better, we've come up with a short survey. Tell us what you think, and what you would prefer to see (or not see) in the future. It should take you just a few minutes. Simply take our survey Non-MS link, and, when you are done, you'll be returned to Web Men Talking to catch up on this month’s issues. Next month, we'll share the results, as well as any plans for the new year.

Thanks for your time,

-- Rafael and Tom

Tabs from the past

Dear Web Men:

What's the latest on the tabs control in Visual InterDev® 6?  I saw your example from an April 1997 column, but couldn't even view it unless my browser's Internet security settings were as low as they could go.

I haven't found much good material on this control anywhere on the Web.  What gives?

Annette Receveur

The Web Men reply:

Wow, a blast from our past.  In April 1997, we were just young boys venturing out on our own, creating a new Q & A column.  Then, the HTML Layout Control was the in thing -- providing two-dimensional layout of content. But, alas, when you reference the article The HTML Layout Control and Internet Explorer 4.0 you will see this control has since faded out.

Browsers became more advanced, and what was once displayed with the HTML Layout Control can now be done slicker with DHTML.  Take, for instance, the Microsoft.com Search page Non-MSDN Online link. It is created by using a couple of background GIFs for the tabs and placing them just above a colored <DIV> element. By adding a few controls in the <DIV> area, playing with the display attribute, and using events such as the onclick event, you can hide and display the different <DIV> areas by selecting their associated tabs. You now have the same type of control the HTML Layout Control provided.

Want to be even slicker? With the emergence of Internet Explorer 5 Non-MSDN Online link came DHTML behaviors -- lightweight, reusable components that you create with something as simple as a scripting language. Now, these components are compatible only with Internet Explorer 5 -- but once you play with them, you'll be hooked. Read Using DHTML Behaviors for more information.

There is even a behavior called mpc Behavior, a multi-page control that uses tabs and looks identical to our sample of yesteryear.  For a great sample to download and play with, check out the Mpc Behavior sample found in the Samples area.

Skip, Skip, Skip to My Lou

Dear Web Men:

Is there a way in SQL Server 7.0 to specify the number of records to SKIP, for example SELECT TOP 50 * FROM pubs ORDER BY 1 SKIP 100?

Rahul Mathur

The Web Men reply:

There is no SKIP command in SQL Server 7.0 Non-MSDN Online link. However, you can do this with a very short and simple series of commands, which we'll show below. The assumption is that you want the 101st through 150th record. To achieve those results, do the following:

Move your 150 records into a temporary table.

Delete the top 100 records.

What are you left with?  The 101st through 150th record.

Here are the SQL statements to do this. You can use Query Analyzer to test this:

Simple enough? You can use this technique to do a variety of related tasks.

The Web Men in Short

Q: Henry Su wants to target two frames at once, after he clicks on an item.

A: See Frame frenzy gone mad.

Q: Tanya Postnaya is having problems adding a new option to a select box within a frame using Internet Explorer 5.

A: See KB article Q237831, PRB: Problem Adding New Option to Select Box in Another Frame in Internet Explorer 5 Non-MSDN Online link.

Q: A reader is having problems using the z-index in DHTML on a page containing a list box.

A: See Where there’s a will, there’s a display.

Q: Ruben Vazquez wants to know whether the Microsoft Agent has a speech engine available for Spanish.

A: See Other Speech Engine Support.

Q: Chamikara Gunaratna wants to prevent his applet from throwing the com.ms.security.SecurityExcecptionEx[Host] exception.

A: See KB article Q175622, PRB: SecurityExceptionEx Exception Running a Java Applet Non-MSDN Online link.

Q: Tony Edwards asks what is causing the "Unspecified Error 80004005" message occurring intermittently in his ASP code.

A: See A First Aid kit to Cure the ‘80004005’ Database-Related Errors and Q183060, INFO: Troubleshooting Guide for 80004005 & Other Error Messages Non-MSDN Online link.

Q: Dan Hidlebaugh is having problems viewing the hover button in the preview page.

A: See KB article Q229597, FP2000: On Hover Image with Button Does Not Work in Preview Non-MSDN Online link.

Q: Ronald Boykin receives the error message "The query cannot be executed because some files are missing or not registered," when using the database tools in Visual InterDev 1.0.

A: See KB article Q175802, PRB: Query Error: Class Not Registered Non-MSDN Online link.

 


Rafael M. Muñoz, when not playing or coaching his favorite pastime (volleyball), provides technical assistance as a full-time developer support engineer for Microsoft Developer Support.

Thomas Moran, when not struggling to maintain some semblance of sanity (working with Rafael certainly doesn't help), toils with a prodigious team that creates articles and other content from Microsoft's Developer Support.

The Web Men would like to thank Kannan Choodamani for his technical expertise.


Archived Web Men Talking columns

1999
October 6    Web Men on the Road
September 6    Friends of the Web Men Workout
August 2    Talk to My Agent
July 5    Sailing Through a Sea of Support
June 7    Forms and Functions
May 3    A Contest of Sorts
March 30    New Look, New Site, New Web Man
February 1    All of the Above
January 4 To '99 and Beyond
1998
December 7 See It, Hear It, Publish It, and Put It Somewhere
November 4 No Problem Too Small, No Screen Too Big
October 5 How Do I Look?
September 8 Something Old, Something New: Visual Basic and XML
August 3 Java, Pictures, and Positioning -- It's All Relative
July 6 Here, There, and Virtually Anywhere
June 1 Channel Your Efforts
May 4 Peace, Love, and Understanding ActiveX Controls
March 2 All Answers, All the Time
February 2 No Server to Call Your Own
January 5 In With the New
1997
December 1 New Life and Missing Links
November 4 <TARGET="Gobble_Gobble">
October 6 Autumnal Husbandry: Reusing Script Files, Automatic File Lists, and Other Thrifts
September 8 The Long and the Short of It
August 4 Beans, Cabinets, Cookies, and a Revelation
July 7 Standing Out in the Crowd
June 23 Bill the Bard, Roses, and Getting Around
June 9 Who Is It, Where Is It, and Why Won't It Fit?
May 27 Cookies with Your Coffee
May 12 Framed! The Web Men's Shocking Story
April 25 Express from our Riders of the Cyber Sage
March 27 Some Code to Go with that Java?
February 27 Talk to a Real, Live Web Man


Photo Credit: Katie McCullough/Katie McCullough Photography



Back to topBack to top

Did you find this article useful? Gripes? Compliments? Suggestions for other articles? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.