jabo2k3 Posted August 11, 2004 Share Posted August 11, 2004 I want to have an exe running server-side (on a Windows server) but I want the user to be able to control the program through their browser.I thought perhaps running a remotedesktop session through the browser like Microsoft's Visual Studio .net 2003 online demo thing would do it but I really don't want to have to do that.Is there an ActiveX control I can use perhaps?Any help will be greatly appreciated.TIA. Link to comment Share on other sites More sharing options...
needforspeed Posted August 11, 2004 Share Posted August 11, 2004 I'm sure it's possible. I don't know how to do it, but I login to a site frequently where in the address is something.exe?*** or something like that, and it's a legitimate site. Link to comment Share on other sites More sharing options...
jabo2k3 Posted August 17, 2004 Author Share Posted August 17, 2004 bump Link to comment Share on other sites More sharing options...
jcarle Posted August 18, 2004 Share Posted August 18, 2004 It's actually very simple but requires a lot of time.You need two parts.One, your program (the exe) you would like the web user to be able to control.Two, you need an ActiveX dll to control the program.Your program can be anything.The ActiveX DLL needs to be registered in windows so that you can instanciated it within an ASP.Net page and within your DLL you'll need to start the EXE and control it using the System.Diagnostics.Process class. A full tutorial including how to control the I/O of the process can be found here.Though if you wanted to make your life easier, just code the WHOLE thing as an ActiveX DLL and just call the thing inside your ASP.Net page. An ActiveX DLL can do EVERYTHING a full program can. The ONLY thing it can't do is start by itself. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now