-1
Hello!
Here’s the thing, I have a visual studio solution that has two projects... The first project is a Windows Form system and the second project is a Windows Service that serves as a synchronizer, takes the information that is in the local database and sends it to the web database, and on another machine it takes the information that is in the web database and saved in the local database, this synchronization of the data usually happens every 30 minutes or 1 hour depending on the configuration in the client.
What I’d like to know is this: Is there any way that I can put a button on the Windows Form project that activates the Service’s Timer.Start() function in order for it to synchronize the data the moment that button is pressed? without having to wait the configured time?
I’m not able to find any material to help me make this button that triggers a Windows Service action that is a different project from which the button will be.
If anyone could help me, I’d really appreciate it. Remembering that I use the language VB.NET in Visual Studio 2019.