Of corse! Because my code is in c# and I am using c# libraries
B
belea17
@belea17
Posts
-
handle script error on virtual machine -
handle script error on virtual machineI want to get exception when I am running a script on virtual machine. I use VIX API and RunScriptInGuest... because I need wscript.exe and if I have an error on myScript.vbs I can't handle the error because I am not receving any error because wscript.exe runs correctly. vm.RunScriptInGuest("c:\perl\wscript.exe", script_path, 0, Nothing, Nothing) Thank you very much
-
how can i get exception from virtual machineI want to get an exception when I am running a program on virtual machine. I use VIX API and RunProgramInGuest... try { vmx.RunProgramInGuest(@"C:\Windows\system32\My Program.exe", "", true, false, false); } catch {....?} Thank you