Getting Type mismatch for my function

Posted by Sandy Williams on Stack Overflow See other posts from Stack Overflow or by Sandy Williams
Published on 2012-11-14T10:58:15Z Indexed on 2012/11/14 10:59 UTC
Read the original article Hit count: 202

Filed under:

I am getting an error message i.e. Type mismatch: 'EMXWEB_IE_LAUNCH' Line (1): "' ==============================================================================".

the function is

Option Explicit

Public Function EMXWEB_IE_LAUNCH (dicArguments, sErrMsg)

Dim strVersion
Dim strExeVersion
Dim WshShell
Dim strEMXWebBrowserTitleBarText
Dim ie

Const strFunctionName = "EMXWEB_IE_LAUNCH"

Set ie = CreateObject( "InternetExplorer.Application" )
ie.Navigate "www.google.com"
ie.Visible=True

End Function

Could any one let me know where i am wrong and why i am getting this issue

© Stack Overflow or respective owner

Related posts about vbscript