What do you recommend I do to get things working? Thank you in advance for your help. I gather either Windows or vbcode or both can't find the vbscripting goodness that makes things work, though I thought pointing the path variable to C:\Windows\Microsoft.NET\Framework64\v3.5 would fix that.Īfter two days of pulling my eyebrows out using our product's internal script editor to test my scripts (my hair has long since gone), I am hankering for some good old fashioned debugging support in my favorite code editor! When execution is suspended, you can investigate the values of the program’s variables. Then run the script and enter the number 2 into the text box txtText1. Though from the icon style, it appears to be mapped to VBScript. To debug the script in Example 4.6, you can place a breakpoint on the first line of the sGetValue function, since this is probably where the problem lies. bas file from the File Explorer window directly by double-clicking on it, nothing happens. I find very little info searching on code=0 error that is useful. cscript //Nologo "d:\Temp\vbscripttest.bas" I get this result in my VSC Output window: For example, with Code Runner extension installed, if I try to run this very simple vbscript to show a test message box. Something is wrong, as I consistently get errors. Run it from the command prompt like so: cscript.exe /x 'file.vbs'.Also, I inserted closed-captions for the first time in one of my videos.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |