FIX: GPF with thisPage.navigate.Show() in Visual InterDev 6.0 (224942)



The information in this article applies to:

  • Microsoft Visual InterDev 6.0

This article was previously published under Q224942

SYMPTOMS

When you use the Page object DTC, Visual InterDev might crash when it attempts to bring up the statement completion list of available Navigate functions.

CAUSE

By default, the Page Object DTC defines a single function of the Navigate object show() (with a lower-case "s"). If you create a duplicate function named Show() (with a capital "S") and add it to the list of available functions for the Navigate object, Visual InterDev crashes when it attempts to bring up the list of methods for the Navigate object.

RESOLUTION

Install Visual Studio 6.0 Service Pack 3 or later.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Visual Studio 6.0 Service Pack 3. For additional information about Visual Studio service packs, click the article numbers below to view the articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That a Visual Studio Service Pack Is Installed

You can download the latest Visual Studio service pack from the following Microsoft Web site:

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new ASP Page and insert a Page Object DTC.
  2. Create a Show() function anywhere on the page, and ensure that the "S" of the function named "Show" is capitalized. For example:
       Sub Show()
    
       End Sub
    					
  3. Right-click the Page Object, open the properties for it, and add the Show() function to the list of Navigate functions.
  4. In a script block, type thisPage.navigate.

Modification Type:MajorLast Reviewed:10/15/2002
Keywords:kbBug kbCtrl kbDevStudio kbDSupport kbVS600sp3fix KB224942