|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Application object in a windows services projectI 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.
"Mark" <m***@dynatechsolution.com> wrote in message I just discovered that the Application object is not available in the news:ucZX8ZtoGHA.3452@TK2MSFTNGP05.phx.gbl... Windows service application. Is there any way to access properties such as StartupPath in Windows service application? Thanks in advance. Majid Thanks a lot.
Show quoteHide quote "Stephany Young" <noone@localhost> wrote in message news:%23T6%23OmtoGHA.4192@TK2MSFTNGP03.phx.gbl... > Simply add a reference to System.Windows.Forms. > > > "Mark" <m***@dynatechsolution.com> wrote in message > news:ucZX8ZtoGHA.3452@TK2MSFTNGP05.phx.gbl... > 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 >
Programmatically open compmgmt.msc
When the messagebox disappears, it leaves a white square Window Form refresh Windows Image Acquisition (WIA) Taking black photos Scrolling DataGrid's selected row out of view selects next control Connect to database in non standard location .net remoting question Empty Recycle bin - VB.NET code Listview item fontstyle About download files |
|||||||||||||||||||||||