DOCUMENT:Q192035 31-AUG-1998 [vbwin] TITLE :PRB: Do Not Use a WebClass ProcessTag Inside an HTML Tag PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:6.0 OPER/SYS:WINDOWS KEYWORDS: ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 6.0 --------------------------------------------------------------------- SYMPTOMS ======== A WebClass page does not display in the browser or is not displayed as expected. CAUSE ===== You cannot use WebClass ProcessTags within an HTML tag because the design- time parser will not interpret it correctly. RESOLUTION ========== The workaround is to use a WebClass ProcessTag for the entire HTML tag or do not put ProcessTags inside HTML tags. STATUS ====== This behavior is by design. MORE INFORMATION ================ Steps to Reproduce Behavior --------------------------- Notice in the code below from a HTML page that there is a WebClass ProcessTag called with an ending located within an HTML INPUT tag. This will not work because you have WebClass ProcessTag inside a HTML tag. Workaround ---------- 1. Place your WebClass ProcessTag within the HTML page, but not inside of a HTML Tag. For example: sss 2. Write code to process the ProcessTag in your WebClass ProcessTag procedure. Here is some sample code: Private Sub Template3_ProcessTag(ByVal TagName As String, _ TagContents As String, SendTags As Boolean) TagContents = "" End Sub REFERENCES ========== Please see the following Microsoft Knowledge Base article for more information on WebClasses: ARTICLE-ID: Q189539 TITLE : INFO: VB 6.0 Readme – Part 8 – WebClass Designer Issues A WebClass sample will be located at the following location when you install the MSDN samples: Microsoft Visual Studio\MSDN98\98VS\1033\Samples\VB98\WcDemo\WCDEMO.VBP Additional query words: kbVBp600 kbInternet kbWebClasses kbdsi kbDSupport kbVBp ====================================================================== Version : WINDOWS:6.0 Platform : WINDOWS Issue type : kbprb ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1998.