Hack Forums
[.NET] Launching Executable Using Excel Macro - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Launching Executable Using Excel Macro (/showthread.php?tid=5919215)



Launching Executable Using Excel Macro - TerminallyIll - Dec 15, 2018

I'm trying to launch an executable using an Excel macro. However I keep getting the error this file directory is corrupted and unreadable on this line
Call Shell("Explorer.exe ""C:\Users\" & strName & "\Documents\Terminus.exe""", vbNormalFocus)
I know the executable works, but I just cant launch it using Excel. I can launch notepad and other programs though. I must mention the executable is being downloaded from a url, I dont think that's the problem though. How can I fix this and get executable to launch once the document is opened? Thanks in advance.