[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

run application on  server through browser

Posted on 2006-11-15
2
Medium Priority
?
200 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 600 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 400 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

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