Solved

run application on  server through browser

Posted on 2006-11-15
2
192 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
ID: 17949133
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
ID: 17953395
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Button to go back 3 28
One field not displaying content (ASP Classic) 8 31
Code Manager | Snippits 2 37
Reg Exp to extract Url from string asp 12 16
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

830 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