Student Mode Code Display

Welcome to the Fraternity!

Commenting has been enabled. You can comment on all the Code Items now.

Option Explicit In Execute Statement


Add This Code to My Favourite List
Enter Email

Contributed By admin
Date 2015-01-26 11:56:22

Option Explicit
Dim thisVar
thisVar = 10
'The following assignment produces 
'a run time error because 
'the variable ‘thisInt ‘ is not 
'declared and Option Explicit is used.
thisInt = 10 ' causes ERROR

'Variable used inside “execute” statement:
Option Explicit
Dim var1, var2, Sum
var1 = 1
var2 = 2
sum = var1 +var2
'even though temp is not declared, 
'no error will be generated
Execute "temp = Sum"
Execute "msgbox(temp)" 'Output as 3

Download Above Code

Comments:


Updated by Kyron at 2016-02-20 15:03:30
First, thank you for a neat sirpct.It seems like your sirpct suceccfully connects to the first node (specified in the machinelist.txt file), the second node reports CouldNotConnectToWMI and the third node is not even mentioned in the output CSV.Thankful for all help.Regards,Dan

Add your comments...
Name : *      
Email : *      
The content of this field will be kept private and will not be shown publicly

Your Comment/Answer *

Enter the text present in this box : *