Is there any difference between & and + operators while concatenating string? if yes, then what is difference? And if No, then why below code generating exception?
You can write '&' to add string and integer :
processDetails=objProcess.ProcessId & ":" & objProcess.name message = msgbox(processDetails,16,"Details")
output will be:
5577:wscript.exe