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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top