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

C#

 
QuestionMouseMove event not firing for newly added control [modified] Pin
Michael Dausmann22-Jul-08 4:59
Michael Dausmann22-Jul-08 4:59 
AnswerRe: MouseMove event not firing for newly added control Pin
half-life22-Jul-08 7:50
half-life22-Jul-08 7:50 
GeneralRe: MouseMove event not firing for newly added control Pin
Michael Dausmann22-Jul-08 12:15
Michael Dausmann22-Jul-08 12:15 
AnswerThe Answer! Use Capture=false.. Re: MouseMove event not firing for newly added control Pin
Michael Dausmann22-Jul-08 13:56
Michael Dausmann22-Jul-08 13:56 
QuestionIs it possible to make this routine automatic? Pin
But_Im_a_Lady22-Jul-08 4:53
But_Im_a_Lady22-Jul-08 4:53 
AnswerRe: Is it possible to make this routine automatic? Pin
Luc Pattyn22-Jul-08 5:25
sitebuilderLuc Pattyn22-Jul-08 5:25 
GeneralRe: Is it possible to make this routine automatic? Pin
But_Im_a_Lady22-Jul-08 20:30
But_Im_a_Lady22-Jul-08 20:30 
AnswerRe: Is it possible to make this routine automatic? Pin
Michael Dausmann22-Jul-08 5:34
Michael Dausmann22-Jul-08 5:34 
Well if you want this code to run in the background, the best solution is to create a service (New Project -> C# -> Windows -> 'Windows Service' template). The most robust way to get your service to 'watch' for new files is to employ a kind of 'find, move and process' strategy.

you need a
1) a 'drop' folder where the files will be initially written.
2) a 'process' folder where the files will sit between being found and being processed
3) an 'archive' folder where the files will go when your finished processing

The pseudo code for this looks a bit like this...

- list files in the 'drop' folder (keep this 'list' in memory somehow)
- move any found files to the 'process' folder
- process each found file in turn and move to the 'archive' folder when finished.

This is just one approach. Hope this helps.

Michael
GeneralRe: Is it possible to make this routine automatic? Pin
But_Im_a_Lady22-Jul-08 20:33
But_Im_a_Lady22-Jul-08 20:33 
Question.net 2.0 windows - treeview Pin
arkiboys22-Jul-08 4:36
arkiboys22-Jul-08 4:36 
AnswerRe: .net 2.0 windows - treeview Pin
half-life22-Jul-08 7:57
half-life22-Jul-08 7:57 
GeneralRe: .net 2.0 windows - treeview Pin
arkiboys22-Jul-08 10:21
arkiboys22-Jul-08 10:21 
GeneralRe: .net 2.0 windows - treeview Pin
half-life23-Jul-08 10:24
half-life23-Jul-08 10:24 
GeneralRe: .net 2.0 windows - treeview Pin
arkiboys23-Jul-08 10:52
arkiboys23-Jul-08 10:52 
GeneralRe: .net 2.0 windows - treeview Pin
half-life23-Jul-08 19:33
half-life23-Jul-08 19:33 
QuestionControl Hardware through Software Pin
thund3rstruck22-Jul-08 4:00
thund3rstruck22-Jul-08 4:00 
AnswerRe: Control Hardware through Software Pin
stancrm22-Jul-08 4:05
stancrm22-Jul-08 4:05 
GeneralRe: Control Hardware through Software Pin
thund3rstruck22-Jul-08 4:15
thund3rstruck22-Jul-08 4:15 
GeneralRe: Control Hardware through Software Pin
Luc Pattyn22-Jul-08 4:22
sitebuilderLuc Pattyn22-Jul-08 4:22 
GeneralRe: Control Hardware through Software Pin
thund3rstruck22-Jul-08 4:43
thund3rstruck22-Jul-08 4:43 
GeneralRe: Control Hardware through Software Pin
Luc Pattyn22-Jul-08 5:20
sitebuilderLuc Pattyn22-Jul-08 5:20 
AnswerRe: Control Hardware through Software Pin
Alex@UEA22-Jul-08 5:02
Alex@UEA22-Jul-08 5:02 
QuestionHow to remove a AddIn from VStudio 2008 Pin
Tomerland22-Jul-08 3:37
Tomerland22-Jul-08 3:37 
AnswerRe: How to remove a AddIn from VStudio 2008 Pin
Rob Siklos22-Jul-08 8:30
Rob Siklos22-Jul-08 8:30 
QuestionProblem in Remoting Pin
stancrm22-Jul-08 3:33
stancrm22-Jul-08 3:33 

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.