Solved

run application on  server through browser

Posted on 2006-11-15
2
189 Views
Last Modified: 2010-05-18
I want to run an application - say abc.exe through browser. This abc.exe translates an image file from one format to another. Its runs a function in a DLL using SHELL command.

Now I want to put this whole translation process on browser. User would select to and from format and there would be a file on the web-server, and abc.exe would run on the server to create the output file and user can save this file.?

The application might be using COM which needs to be registered!! I am not sure @ it.

How can i write such application in ASP..

Thank you.
0
Comment
Question by:at999
2 Comments
 
LVL 28

Accepted Solution

by:
strickdd earned 150 total points
Comment Utility
This is close, but not exact.

 Set WShShell = Server.CreateObject("WScript.Shell")

RetCode = WShShell.Run("c:\abc.exe " & Param1 & " " & Param2, 1, True)

see this for help: http://www.4guysfromrolla.com/webtech/102998-1.shtml
0
 
LVL 25

Assisted Solution

by:kevp75
kevp75 earned 100 total points
Comment Utility
well...permission problems can arise from this.   So you will need to make sure that the IUSR_ account can execute the file...(which is actually a huge security no-no)

If it is a COM object, you may be able to script it out...something like

set strObject = server.createobject("Your.Object")

however, you will need to make sure the DLL is registered on the server, and you will also need to know what the object is.

In fact, that would help us out greatly.  Do you know what the COM object is?  If so, what?
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now