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

ID: Q224942


The information in this article applies to:


SYMPTOMS

When using 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.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

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

Q194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed


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:


  3. 
       Sub Show()
    
       End Sub 
  4. Right-click the Page Object, open the properties for it, and add the Show() function to the list of Navigate functions.


  5. In a script block, type thisPage.navigate.


Additional query words:


Keywords          : kbservicepack kbVisID600bug kbGrpASP kbDevStudio kbVS600sp2 kbVS600SP1 kbVS600sp3fix 
Version           : WINDOWS:6.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: May 19, 1999