Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debug VBS with Microsoft Community Studio 2019

Status
Not open for further replies.
You should have seen an error similar to the following:

[pre]C:\Users\user\Desktop\testvbs.vbs(3, 1) Microsoft VBScript compilation error: Expected statement[/pre]

However, if you change your code to the following then you should see an error that you're trying to divide by zero:

[pre]WScript.Echo "Hello"

result=9/0
WScript.Echo result[/pre]

Hope this helps...

 
I think my problem is in the setup of the Microsoft visual studio. I SHOULD get an error and I DON'T.
 
Sorry... I use a completely different IDE and have no experience of Visual Studio Community 2019.
 
what IDE are you using ?
 
Sapien PrimalScript 2015. I was offered the opportunity to upgrade fairly cheaply but there's now no point since I've retired (and my previous employer used to pay for the upgrades).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top