Expected 'With'

Runtime Errors, Syntax Errors Home home | Other Resources other resources | Advertise with us advertise | Link to us link to us | Contact us contact | Bookmark Us!
Google
 
Where can I find good Windows Web Hosting to host my VBScript Site?
You can find good Windows Hosting which support VBScript, ASP, ASP.Net,VisualStudio.Net and MSSQL at a very reasonable low monthly fee at EasyCGI.com and DiscountASP.Net

Expected 'With'

You created a With block, but terminated it with the End keyword instead of the End With statement. A With block must be terminated with an associated End With statement. The following demonstrates the correct composition of a With block.

With object
   statements
End With

To correct this error

  • If you ended your With block with an End keyword, change it to the End With statement.


  • Make sure that the With control structure includes all the necessary parts.
See Also

With Statement | Set Statement | If...Then...Else Statement | Select Case Statement


VBScriptOnline.com - Runtime Errors, Syntax Errors