Click here to Skip to main content
15,893,814 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can i add self explained description to a Method or Function? Pin
Anonymous6-Sep-04 0:06
Anonymous6-Sep-04 0:06 
GeneralRe: Can i add self explained description to a Method or Function? Pin
Stefan Troschuetz6-Sep-04 0:18
Stefan Troschuetz6-Sep-04 0:18 
GeneralSelectedItems Collection foreach loop Pin
eggie54-Sep-04 18:57
eggie54-Sep-04 18:57 
GeneralRe: SelectedItems Collection foreach loop Pin
EssOEss4-Sep-04 20:19
EssOEss4-Sep-04 20:19 
GeneralRe: SelectedItems Collection foreach loop Pin
eggie54-Sep-04 20:25
eggie54-Sep-04 20:25 
GeneralRe: SelectedItems Collection foreach loop Pin
Robert Rohde4-Sep-04 20:24
Robert Rohde4-Sep-04 20:24 
Generalaccess frame contents in WebBrowser Pin
Asif Rehman4-Sep-04 16:51
Asif Rehman4-Sep-04 16:51 
GeneralService interact with Windows MFC Pin
brunoconde4-Sep-04 12:11
brunoconde4-Sep-04 12:11 
Greetings!! I have been working on a project of a windows service and now i have a big problem. But after installing my new service i discover that the framework lib's don't work when the service starts ( when Windows Starts). I read about this problem in .NET and they say that only windows MFC Library is capable of this. I wonder if there is a class in c# for making possible the framework work on startup. In another way of explaining this my service starts but when I click on the service icon I don't get any result or sometimes I get Error when it shoud show a window I make.

This is my problem:::::::::::::::::::::::::::::::

Windows Service applications run in a different window station than the interactive station of the logged-on user. A window station is a secure object that contains a clipboard, a set of global atoms, and a group of desktop objects. Because the station of the Windows Service is not an interactive station, dialog boxes raised from within a Windows Service application will not be seen and may cause your program to stop responding. Similarly, error messages should be logged in the Windows event log rather than raised in the user interface.
The Windows Service classes supported by the .NET Framework do not support interaction with interactive stations, that is, the logged-on user. The .NET Framework also does not include classes that represent stations and desktops. If your Windows Service must interact with other stations, you will need to access the unmanaged Windows API. For more information, see Window Stations and Desktops in the Platform SDK documentation.


::::::::::::::::::::::::::::::::::::::::::::::

How can i resolve this???????????????????????

Please help me and sorry my bad English. Cry | :((
Confused | :confused:
GeneralRe: Service interact with Windows MFC Pin
EssOEss4-Sep-04 20:25
EssOEss4-Sep-04 20:25 
GeneralRe: Service interact with Windows MFC Pin
Sebastian Schneider5-Sep-04 23:34
Sebastian Schneider5-Sep-04 23:34 
Generaluse dll from dymo Pin
VisualRonny4-Sep-04 9:25
VisualRonny4-Sep-04 9:25 
GeneralDebugging Pin
dbetting4-Sep-04 4:16
dbetting4-Sep-04 4:16 
GeneralAdditional Info Pin
dbetting4-Sep-04 5:08
dbetting4-Sep-04 5:08 
GeneralAdvise on displaying HTML document Pin
Adelm4-Sep-04 2:56
Adelm4-Sep-04 2:56 
GeneralRe: Advise on displaying HTML document Pin
Tomas Petricek4-Sep-04 3:13
Tomas Petricek4-Sep-04 3:13 
GeneralRe: Advise on displaying HTML document Pin
Mr. Rogers4-Sep-04 12:11
Mr. Rogers4-Sep-04 12:11 
GeneralRe: Advise on displaying HTML document Pin
Tomas Petricek4-Sep-04 12:20
Tomas Petricek4-Sep-04 12:20 
GeneralRe: Advise on displaying HTML document Pin
Adelm5-Sep-04 4:37
Adelm5-Sep-04 4:37 
GeneralCrystal reports Problem HElpppp Me Pin
kings_14-Sep-04 0:52
kings_14-Sep-04 0:52 
GeneralRe: Crystal reports Problem HElpppp Me Pin
cjengler5-Sep-04 1:24
cjengler5-Sep-04 1:24 
Generalx86 Op codes and C# Pin
WayneMJ4-Sep-04 0:18
WayneMJ4-Sep-04 0:18 
GeneralRe: x86 Op codes and C# Pin
leppie4-Sep-04 1:24
leppie4-Sep-04 1:24 
GeneralRe: x86 Op codes and C# Pin
WayneMJ4-Sep-04 1:33
WayneMJ4-Sep-04 1:33 
GeneralNode names in TreeView Pin
teomanx4-Sep-04 0:01
teomanx4-Sep-04 0:01 
GeneralDesignMode always false Pin
Hesham Amin3-Sep-04 21:43
Hesham Amin3-Sep-04 21:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.