Click here to Skip to main content
16,005,162 members
Home / Discussions / C#
   

C#

 
GeneralRe: Extending Windows.Form DataGrid class Pin
Heath Stewart26-Jun-04 14:08
protectorHeath Stewart26-Jun-04 14:08 
Questionedit box problem ? Pin
kendao25-Jun-04 14:38
kendao25-Jun-04 14:38 
AnswerRe: edit box problem ? Pin
Dave Kreskowiak25-Jun-04 17:49
mveDave Kreskowiak25-Jun-04 17:49 
GeneralWindows Service that detects domain logons Pin
lnong25-Jun-04 12:54
lnong25-Jun-04 12:54 
GeneralRe: Windows Service that detects domain logons Pin
Dave Kreskowiak25-Jun-04 17:48
mveDave Kreskowiak25-Jun-04 17:48 
GeneralRe: Windows Service that detects domain logons Pin
lnong25-Jun-04 23:01
lnong25-Jun-04 23:01 
GeneralRe: Windows Service that detects domain logons Pin
Dave Kreskowiak26-Jun-04 17:53
mveDave Kreskowiak26-Jun-04 17:53 
GeneralRe: Windows Service that detects domain logons Pin
lnong27-Jun-04 1:46
lnong27-Jun-04 1:46 
Yes, I absolutely agree with you that spawning a process on the server for each logon event is very resource-consuming. However, if I make a Windows Service, then won't it be running on the server as just one copy? (ie. there's only one MySQL service running all the time). The service just sits there quietly in the background and will perform some desired task only when it detects a client logging on. I dont think multiple copies of the service are made, one for each logon event. Also, the connection/security issues only gets complicated (for me) when I have to make many back and forth connections. If it's just the service application connecting the a client, then I believe it should be relatively easy.

I also did think about the idea of having each client write its own info to some file on the server. However, if many clients happen to log on at about the same time, then would it be a problem if they all try to access the same file on the server? Now, if I let each client write its info to a separate file, then it would avoid this problem. However, the problem now is that there will be too many I/O operations over a short period of time. That will make it slow.

Using the files method, initially I was thinking of writing just a simple application for the server's desktop that would then read the file (or all the files) and dump the info to a database. To get an updated database, the server administrator would just have to double click the app whenever he/she wants. But now, I like your idea of having a process that automatically "kicks off" at any certain time of day. How can I make such an application that will run at any desired time?
GeneralRe: Windows Service that detects domain logons Pin
Dave Kreskowiak27-Jun-04 14:16
mveDave Kreskowiak27-Jun-04 14:16 
Generalpicking random colors Pin
vista2725-Jun-04 12:27
vista2725-Jun-04 12:27 
GeneralRe: picking random colors Pin
Colin Angus Mackay25-Jun-04 12:48
Colin Angus Mackay25-Jun-04 12:48 
GeneralRe: picking random colors Pin
Nick Parker25-Jun-04 19:07
protectorNick Parker25-Jun-04 19:07 
GeneralRe: picking random colors Pin
Anonymous26-Jun-04 7:00
Anonymous26-Jun-04 7:00 
GeneralRe: picking random colors Pin
Heath Stewart26-Jun-04 14:05
protectorHeath Stewart26-Jun-04 14:05 
GeneralRe: picking random colors Pin
Karl 200027-Jun-04 7:31
Karl 200027-Jun-04 7:31 
GeneralGet domain name the machne has been logged into Pin
michalJ25-Jun-04 10:07
michalJ25-Jun-04 10:07 
GeneralRe: Get domain name the machne has been logged into Pin
Heath Stewart25-Jun-04 10:23
protectorHeath Stewart25-Jun-04 10:23 
GeneralC++ to C# - Dragging nightmare Pin
TylerBrinks25-Jun-04 8:07
TylerBrinks25-Jun-04 8:07 
GeneralRe: C++ to C# - Dragging nightmare Pin
Heath Stewart25-Jun-04 8:43
protectorHeath Stewart25-Jun-04 8:43 
GeneralRe: C++ to C# - Dragging nightmare Pin
TylerBrinks25-Jun-04 9:17
TylerBrinks25-Jun-04 9:17 
GeneralRe: C++ to C# - Dragging nightmare Pin
Heath Stewart25-Jun-04 9:50
protectorHeath Stewart25-Jun-04 9:50 
GeneralDll Merge Pin
Visionsoft25-Jun-04 8:05
Visionsoft25-Jun-04 8:05 
GeneralRe: Dll Merge Pin
Heath Stewart25-Jun-04 8:38
protectorHeath Stewart25-Jun-04 8:38 
GeneralRe: Dll Merge Pin
leppie25-Jun-04 9:37
leppie25-Jun-04 9:37 
GeneralRe: Dll Merge Pin
Heath Stewart25-Jun-04 10:19
protectorHeath Stewart25-Jun-04 10:19 

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.