I need to run a file that is on the network, but whenever I try to add it to run it the autoplay adds the file to my project, but I don't want it to add, I just want it to run the file that is on the network, I'm using google translator, sorry for english.
Announcement
Collapse
No announcement yet.
Run file that is not in the My Project folder.
Collapse
X
-
I would like to know if there is a way to execute an external file (which is not in the Docs folder) the file is in the following path
//\sala\SistemaGuarabira\Apresentacoes\Painel\Office \Comandos\Excel.exe
But every time I select Excel.exe it adds that file to the Docs folder. Is there any code that can do this?
Comment
-
Herrin answered your other post
you could try this - is sala your network drive?
Code:path = "\\\\ sala\\SistemaGuarabira\\Apresentacoes\\Painel\\Office\\Comandos\[COLOR=#27ae60]\Excel.exe"[/COLOR] Shell.Execute(path, "open", "", "", SW_SHOWNORMAL, false);
Comment
-
Originally posted by colc View PostHerrin answered your other post
you could try this - is sala your network drive?
Code:path = "\\\\ sala\\SistemaGuarabira\\Apresentacoes\\Painel\\Office\\Comandos\[COLOR=#27ae60]\Excel.exe"[/COLOR] Shell.Execute(path, "open", "", "", SW_SHOWNORMAL, false);
I just need to chance to this.
Code:path = "\\\\ sala\\SistemaGuarabira\\Apresentacoes\\Painel\\Off ice\\Comandos\\Excel.exe" Shell.Execute(path, "open", "", "", SW_SHOWNORMAL, false);
Comment
Comment