Using Desktop applications in Web Application
-
hi, I am agreeing with your answer... but it is possible to have a combo box or radio buttons to allow the user to choose the language first and then we can call the type of IDE accordingly. this is not a pblm for me. Let us assume only .net languages are possible...will u agree that calling the dot net IDE will compile and run the code? ok. let me know if this is possible... integrate an open source IDE within the web page frame.... hope i cleared u my situation.. thanks, Jaya
I don't think there's need to call the .NET developement environment, you only need to run the compiler behind the .NET env.
.: I love it when a plan comes together :. http://www.zonderpunt.nl
-
I don't think there's need to call the .NET developement environment, you only need to run the compiler behind the .NET env.
.: I love it when a plan comes together :. http://www.zonderpunt.nl
Hi, Yes I tried compiling C# code. I can be able to compile a console application within the asp.net web page. but if I run the EXE file using Process.Start() the exe is opening but it is not visible for me. while i check with the task manager it is opened by the ASPNET user not the owner of the machine. how can I solve this problem Thanks, Jaya
-
Hi, Yes I tried compiling C# code. I can be able to compile a console application within the asp.net web page. but if I run the EXE file using Process.Start() the exe is opening but it is not visible for me. while i check with the task manager it is opened by the ASPNET user not the owner of the machine. how can I solve this problem Thanks, Jaya
This is pretty complicated to explain. Permissions in IIS can be difficult to understand. First, you must run the website impersonate, which requires you to log on to the website using a windows user account. You can also skip this, but then you must run the website using a diffrent user account which has way too many rights to run a website :~ For more detailed information about running a website using diffrent user accounts I recommend reading this article[^]
.: I love it when a plan comes together :. http://www.zonderpunt.nl
-
Hi, Yes I tried compiling C# code. I can be able to compile a console application within the asp.net web page. but if I run the EXE file using Process.Start() the exe is opening but it is not visible for me. while i check with the task manager it is opened by the ASPNET user not the owner of the machine. how can I solve this problem Thanks, Jaya
Do you really think it's a good idea to let a user type in a program which then runs on the server? I don't think you've fully thought this through.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.
-
Do you really think it's a good idea to let a user type in a program which then runs on the server? I don't think you've fully thought this through.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.
Hi, This is not a problem for me. this will be limited to 10 users only. so its better to give me any suggestion to execute an EXE from the web page. I have done this through Process.Start method. EXE is running but not visible to the user. Please help me Thanks, J
-
Hi, This is not a problem for me. this will be limited to 10 users only. so its better to give me any suggestion to execute an EXE from the web page. I have done this through Process.Start method. EXE is running but not visible to the user. Please help me Thanks, J
Why would the EXE be visible to the user. If you are compiling it up, then you are compiling it on the web server, and it will run there as well. So, they will not see it.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.
-
Why would the EXE be visible to the user. If you are compiling it up, then you are compiling it on the web server, and it will run there as well. So, they will not see it.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.
Hi, Try to understand my concept I have to provide a web page where the user can write a program, compile it and then run it. so while he running his program he should see the answer. I tried to provide an IDE itself into the web page - I found difficult in this. I tried to give a rich text box to write a CSharp program there - In this I can able to build the program but while executing the created exe... it is not visible to the user. Thanks, J
-
Hi, Try to understand my concept I have to provide a web page where the user can write a program, compile it and then run it. so while he running his program he should see the answer. I tried to provide an IDE itself into the web page - I found difficult in this. I tried to give a rich text box to write a CSharp program there - In this I can able to build the program but while executing the created exe... it is not visible to the user. Thanks, J
Hi - it's not the concept that I have a problem with. I get it. Your architecture is this: Web Browser with input box. On some form of submission, the code is compiled up on the server and runs. It runs as an executable (i.e. out of process) under the ASP.NET network client account on the server. Of course it's not visible. It's an exe running on the server. What would you expect the user to see? If I am missing something clever that you have done, please feel free to correct me, and to vote me down, but I fail to see what you think the user will see.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.
-
Hi - it's not the concept that I have a problem with. I get it. Your architecture is this: Web Browser with input box. On some form of submission, the code is compiled up on the server and runs. It runs as an executable (i.e. out of process) under the ASP.NET network client account on the server. Of course it's not visible. It's an exe running on the server. What would you expect the user to see? If I am missing something clever that you have done, please feel free to correct me, and to vote me down, but I fail to see what you think the user will see.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.
-
Hi, You are comming to the appropriate point. thats the problem for me. I have to put the EXE file (which is compiled in the server) in the client machine and execute the file from there.. is this possible?
Good news there. You can. Here's the big hint. You can send lots of different things back to the web browser by setting the appropriate content type (application/octet-stream in this case I think).
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.