?
Solved

run application on  server through browser

Posted on 2006-11-15
2
Medium Priority
?
197 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

752 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