| FIX: Type Mismatch Error in showModalDialog ParameterID: Q192114 
 | 
The showModalDialog() function allows you to pass a value into the dialog window. If the method is called from VBScript and a variable is passed to it, as opposed to a literal value like "hello," accessing the dialogArguments property of the window object from within the HTML page that is displayed with showModalDialog will result in a type mismatch error.
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been corrected in Internet
Explorer 5.0 Developer Preview. 
For more information, please see the MSDN Web Workshop:
http://msdn.microsoft.com/workshop/default.asp
   <SCRIPT language="VBScript">
      Sub btn_onClick()
         sArguments = "OK"
         showModalDialog("modalDlg.htm", sArguments)
      End sub
   </SCRIPT> 
   <HTML>
      <BODY>
         <BUTTON       onclick="alert(dialogArguments)">dialogArguments</BUTTON>
      </BODY>
   </HTML> For more information, please see the MSDN Web Workshop:
http://msdn.microsoft.com/workshop/default.asp
Additional query words:
Keywords          : kbDSupport 
Version           : WINDOWS:4.0,4.01,4.01 SP1,5.0dp1
Platform          : WINDOWS 
Issue type        : kbbug Last Reviewed: July 22, 1999