NT Service and E-Z Flow Software

Sample E-Z Flow Code

NTservice1_Start()

When the Service Control Manager starts a service, it expects a timely response from the service. Because it takes time for your application to start, this function enables the timer and responds immediately. The timer event is used to start the application.

Timer1_Timer()

The Ezflow form is loaded here and the timer is disabled. When the form is loaded, its Form.Load function calls the VBVoice StartSystem method.

NTservice1_Stop()

The VBVoice application is stopped and the form is unloaded.

To prevent the VBVRLog application from automatically starting when initiating a StopSystem, set the LineStat INI setting in the [System] section of vbvoice.ini to an empty string.

Using the Example

To install E-Z Flow Service:
  1. Ensure that it is not yet installed

  2. Select Run from Start menu

  3. Execute path\ezflow -install, where path should be replaced with the actual path of the ezflow.exe file

  4. Verify successful installation by opening Control Panel/Services. You should see the EZFlow entry on the service list.

  5. If install is not successful, debug it before proceeding

To test E-Z Flow Service:
  1. Reboot your computer

  2. After the Windows NT logon screen appears, wait for a beep which indicates the system starts to load E-Z Flow.

  3. Wait a few seconds then pick up the phone. You should be able to dial into E-Z Flow.

To run E-Z Flow as an application:

After logging on, follow these steps to stop the service and run E-Z Flow as an application:

  1. Select Control Panel/Services

  2. Highlight EZFlow

  3. Click Stop

  4. Select Run from Start menu

  5. Execute path\ezflow -normal, where path should be replaced with the actual path of the ezflow.exe file

To un-install E-Z Flow:
  1. Stop the service first

  2. Select Control Panel/Services

  3. If the status of E-Z Flow is Started, highlight it, then click Stop

  4. Select Run from Start menu

  5. Execute path\ezflow -uninstall, where path should be replaced with the actual path of the ezflow.exe file