VBA Script – Passing variable to Powershell as null

Can anyone understand why this value of otp_code variable passes on to powershell as null eventhough if I print it right before passing it it shows correct value? Public Sub myRuleMacro(item As Outlook.MailItem) otp_code = Right(item.Body, 6) Set objShell = CreateObject(“Wscript.shell”) objShell.Run (“powershell -noprofile -noexit -executionpolicy bypass -file c:copyOtp.ps1 -code” & otp_code) End Sub submitted […]

[MMORPG Account Checker] Problem with getting the right checked account in list.

Hello fellow VB.Net developers! I’ve managed to put together this code for this account checking app but I ran into a small problem and I can’t manage to pass this. Here’s the code: https://pastebin.com/mdmwxKdD Here’s a video of the app: https://www.youtube.com/watch?v=XxrxmadcVSg The problem is that when the right account gives me CAPTCHA, the good account […]