-
Running a java exe from a webform by clicking a link
Hi,
I need your immense help to solve this
I need to run an exe which will be kept in the server machine
when the user clicks on the link he should see the exe(the user should not be allowed to save it to the local PC)
for eg: when we run yahoo messenger installable we can see the installable running from client PC's temperory location.
Like the same way i need to run the exe from client PC's temporary location
the exe will be in JAVA
Can i use web client method for this operation or is there any other methods for this.
Please...Please...help
Thanks in much advance
-
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
-
Yes Hack,
It is the almost same.But here i dont want the exe to run in the server machine.
I want the view of the exe to be visible to the user who can enter the input values to it.
if i use processstartinfo then the exe will be running from the server,right?
Please help Hack
-
ProcessStartInfo will run the exe from the path that you feed it.
If your exe requires parameters to be passed to it (heretofore unmentioned), then that can be accommdated as well.
What is the exe that you need to be run from app and what parameters, if any, need to be passed to it when it gets executed?
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
-
Running Java Application
Hack,
The exe will be standalone and there wont be any parameters passed to it.
when the user clicks on a link,he should see the application(it will be a Java exe)
in his client machine(Here i am facing the problem as i dont know how to download the exe to the client machine and run from there) and he can provide the input values directly to the exe.
I hope its clear
Is there any way Hack?
-
What happened when you tried the ProcessStartInfo?
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
-
Running java application from asp.net form
Hack,
When i used processstartInfo the exe started running in the server machine.
When i clicked the button to execute the exe from client machine ,the exe started running in the server machine.
But i want the user to see the exe and provide the input directly(The view of exe should get saved to some temporary location in the client machine and let the user to input values to it)
-
Even if you hard code the exe path to point toward the client?
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
-
Running Java Application
Hack,
I dont know how to do that.
Can you please explain the code?
-
Hey Hack,
I took calc.exe and placed it inside the website folder in server and gave the path like this
p.UseShellExecute = False
p.WorkingDirectory = Request.MapPath("./")
p.RedirectStandardOutput = True
p.FileName = p.WorkingDirectory & "addvar.exe"
pro = System.Diagnostics.Process.Start(p)
p.RedirectStandardOutput = True
p.WindowStyle = Diagnostics.ProcessWindowStyle.Maximized
p.RedirectStandardOutput = True
pro.WaitForExit()
now when i opened the web page and clicked on the button from a client PC the exe started in both server and client
but the exe is coming in a hanged manner
-
Running java application from asp.net form
Hack,
Previously i was checking with a MATLAB exe by putting it in the server machine and trying to run it by clicking a button from client machine.But that time the application was getting started only in server.
But now I have used one vb exe and calc.exe(windows) and accessed from the client machine.
The process started both in the client and server.
Problem is that in debugging mode the application is opening perfectly.
but when i run from client both the processes are running but is not visible for any operation.I am able to see only the header part of the calc.exe(i e the calculator Icon and blue bar)
Now it is clear that we can run those application from client also.
Please tell me is it because of security issues i am not able to run the process perfectly?
Similar Threads
-
Replies: 1
Last Post: 05-13-2005, 06:46 AM
-
By Marco in forum ASP.NET
Replies: 1
Last Post: 03-31-2003, 08:10 AM
-
By Glen Kunene in forum Talk to the Editors
Replies: 17
Last Post: 03-23-2002, 12:43 AM
-
Replies: 0
Last Post: 02-15-2001, 04:39 AM
-
By sreenee in forum VB Classic
Replies: 0
Last Post: 07-06-2000, 06:30 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks