Solved

run application on  server through browser

Posted on 2006-11-15
2
190 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
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/…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

895 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

18 Experts available now in Live!

Get 1:1 Help Now