PRB: Parameter Info Unavailable for User-Defined FunctionsID: Q197327
|
When calling user-defined VBScript functions in an Active Server Pages (ASP) page within Visual InterDev 6.0, the Parameter Information ToolTip provided by IntelliSense is unavailable for the function parameters.
This behavior is caused by the use of the Public or Private modifiers in the function declaration.
Do not use the Public or Private modifiers in a function declaration. Since all functions and sub-routines are globally available during an ASP page's execution, the use of the Public and Private modifiers are unnecessary, so they can safely be removed.
<%
Public Function PublicFunc(ByVal foo)
'code here
End Function
Function Func(ByVal foo)
'code here
End Function
%>
Call PublicFunc(
Call Func(The Parameter Information ToolTip should appear for the function.
For additional information, please see the following articles in the
Microsoft Knowledge Base:
Q192146 PRB: Components Not Recognized when Enabling the Scripting
Model
Q191562 BUG: Statement Completion Fails after Changing Case of DTC ID
Q191046 BUG: IntelliSense Statement Might Not Work with Inline Script
Q190764 BUG: Intellisense May Indicate Optional Parameters are Required
Q190676 BUG: Parameter Info Tooltip Does Not Appear
Q190681 BUG: PageObjectDTC May Publish Wrong Parameter Names
Keywords : kbVisID600 kbGrpASP
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: May 7, 1999