In short, the application looks for instructions for something to do from the database, performs an action, and stores information about the success or failure of this action in the database. It performs about 40 different actions, such as automating Office applications, copying files, running queries, etc.
The application is a single EXE, so everything works in the main application space and is the main source of instability, because it has to load many third-party DLLs to perform this work, and they will often do something dubious, which leads to the failure of the entire application.
Plan: I want to move code that makes a dangerous heavy climb from VB6 exe to external processes that run independently of the main application. The source application will process the database material and initiate other processes to do this.
What is the best way to do this? If I was still in VB6, I would have thought that I would create ActiveX EXE for this, but I'm not sure what the .Net equivalent is. Ideally, a VB6 application declares an object that instantiates an external process and uses the methods of a set of objects, executes the process, possibly receives progress notifications, and finally receives the results of the operation.
What is the best way to do this?
Thanks!!
source share