Execute an external application on the server

  • Thread starter Scott Sommerfeldt
  • Start date
S

Scott Sommerfeldt

***I am very new to ASP.net***
I have a simple page that gets a users input and then executes an exteranl
application to create a support ticket in HEAT using the users input as
arguments
All I need to do is execute the application on the server with the arguments
provided by the web page this is what I have tried but unsuccessfully
Private Sub Submit1_ServerClick(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Submit1.ServerClick
Dim objProcess As System.Diagnostics.Process = New
System.Diagnostics.Process()
objProcess.StartInfo.FileName = "C:\externalApp.exe" 'Set the
Command File
objProcess.StartInfo.Arguments = TextBox1.Text
objProcess.Start()
End Sub

This code does not work, as the application is not executed.
Any Ideas?

Thanks,
Scott Sommerfeldt
 
S

Scott Sommerfeldt

Hmmm.
Thanks for you response
Is there anyway that you know of to change the security for just one
exeternal application or is it a all or nothing type of deal.
Thanks,
Scott Sommerfeldt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top