When attempting to run a .application OneClick deployment application from debug mode it runs with the following examples:
- Use a
<a>
reference around the clickable image that launches the application
<a href="\\server\SharedFolder\MainFolder\ExternalApp.application"</a>
Other attempt was a start process
Dim p As New Process() p.StartInfo.FileName = "\\server\SharedFolder\MainFolder\ExternalApp.application" p.Start()
VB.net Javascript call:
VB.NET
ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "Pop", "LaunchApp();", True)
JAVASCRIPT
<script type = "text/javascript"> function LaunchApp() { var ws = new ActiveXObject("WScript.Shell"); ws.Exec("\\server\SharedFolder\MainFolder\ExternalApp.application"); }
Both options worked [aside option 3] when I was debugging. When I ran this outside the debugger it didn't work. Any suggestions as to why?
I read the following links but no luck: