vb.net winforms design / layout issue

I am working on a windows forms project that will allow a user to have an interface to the database, and another will be a nightly run process file that will update the database table.

The user will add new records to the table, whereas the nightly process will update the columns with new values (think mortgage interest rates)

Both these projects will be using the same business logic component that has the calculations needed to enter values into the table.

The way I am figuring this out, is that I will have two exe's (one for the interface and one for the nightly process) and have a central object that will host the calculations. What would be the best object for this purpose?

A class file? A windows service? (I want to stay away from a windows service, because it will have to be running all the time)

Thanks

Answers


You're on the right track.

The central object with your business logic components should be a Class Library project (outputting a DLL).

The Winform project that allows users to interface with the database should reference (and use) your Class Library project.

The nightly process should run a Windows Console Application that would also reference and use your Class Library project. Like Davita suggests the nightly process should be called from a Windows Scheduled Task.


Need Your Help

Get only in-service CDI managed beans

jsf-2 cdi

My goal is to get a collection of all in-service CDI managed beans (of a certain parent class) from within a JSF2 ExceptionHandlerWrapper. Note the exception handler part is significant because the

Rake Abort Error with no answer other than head to the wall . Repeat if necessary

ruby-on-rails ruby rake

I am the intrepid little programmer that could. I began programming rails five weeks ago and I have been stuck on the same error for that entire time. It goes like this. I have mysql application