Application object in a windows services project

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

I just discovered that the Application object is not available in the Windows service application. Is there any way to access properties such as StartupPath in Windows service application?

Thanks in advance.

Majid
 
Simply add a reference to System.Windows.Forms.


I just discovered that the Application object is not available in the
Windows service application. Is there any way to access properties such as
StartupPath in Windows service application?

Thanks in advance.

Majid
 
Back
Top