It can be done, and it's probably not that hard but you'd need to give more info about what the program does.
Would you need it to get information from a form? What type of output is it putting out? It would also help to know which web sever you were using, IIS, apache, or whatever.