ASP/IIS communicating with a VB based executable on the webserver.

G

Gavin Reynolds

I am test developing an internal webserver, on Windows XP, and IIS 5.1, with
ASP and MySQL.

One specific page is created from user input and database records in
previous pages and presents a page with customised data and a webform. It
then takes input from the form and session variables and passes these to an
vb exe in the the wwwroot using the from
http://localhost/example.exe?testparameters. The vb exe takes the command
line parameter input and does its thing and it all works, but I am aware
this is a very insecure way of doing this and I implemented this only as a
quick workaround so I could test implement it all then refine it for
deployment.

My question is, what is the best way for input to be passed from a web form
to an vb executable for it to do its thing. The exe will eventually
preferably run as a service, or at least all ways be active on the server,
and not starting for every request then ending, as I was hoping to allow for
sorting and queueing of requests passed to the exe, before they are
executed.
Obviously a model where the exe takes the input, does its thing, then ends
is not helpful.

I'm open to any and all suggestions, including completely different
approaches. I've heard of using COM or Active-X some how or other, but I
wanted to get some ideas before I commit myself to one route or another.

Thanks in advance
Gavin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top