Click here to Skip to main content
15,891,749 members
Home / Discussions / C#
   

C#

 
AnswerRe: DataGridView LinkColumn Pin
Wendelius2-Feb-09 6:39
mentorWendelius2-Feb-09 6:39 
QuestionFile Watcher Pin
Bob Pawley1-Feb-09 12:27
Bob Pawley1-Feb-09 12:27 
AnswerRe: File Watcher Pin
Alan N1-Feb-09 12:42
Alan N1-Feb-09 12:42 
AnswerRe: File Watcher Pin
Colin Angus Mackay1-Feb-09 12:47
Colin Angus Mackay1-Feb-09 12:47 
GeneralRe: File Watcher Pin
Bob Pawley1-Feb-09 13:14
Bob Pawley1-Feb-09 13:14 
GeneralRe: File Watcher Pin
Colin Angus Mackay1-Feb-09 13:27
Colin Angus Mackay1-Feb-09 13:27 
GeneralRe: File Watcher Pin
Bob Pawley1-Feb-09 13:41
Bob Pawley1-Feb-09 13:41 
GeneralRe: File Watcher Pin
Colin Angus Mackay1-Feb-09 13:49
Colin Angus Mackay1-Feb-09 13:49 
Oh! It is a COMPILER error. It isn't a RUNTIME error in the OnChange method.

Your error is saying that OnChange doesn't exist. You need to create a method called OnChange with the appropriate signature. (i.e. the parameters that the Change event handler is expecting to pass)


Bob Pawley wrote:
Here is what I have, so far, for the event handler

public event FileSystemEventHandler Changed;


Doesn't the FileWatcher have events for you to subscribe to? If you create your own then you have to trigger them.

*Developer Day Scotland - Free community conference
*Colin Angus Mackay's Blog
*Latest Scottish Developers Newsletter


Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Remember that the force of gravity can go up as well as down.

AnswerRe: File Watcher Pin
Colin Angus Mackay1-Feb-09 13:52
Colin Angus Mackay1-Feb-09 13:52 
Questionfilestream : read with and lock-unlock problem [modified] Pin
JossGP1-Feb-09 11:54
JossGP1-Feb-09 11:54 
AnswerRe: filestream : read with and lock-unlock problem Pin
JossGP1-Feb-09 11:57
JossGP1-Feb-09 11:57 
AnswerRe: filestream : read with and lock-unlock problem Pin
Colin Angus Mackay1-Feb-09 12:49
Colin Angus Mackay1-Feb-09 12:49 
GeneralRe: filestream : read with and lock-unlock problem Pin
JossGP1-Feb-09 13:27
JossGP1-Feb-09 13:27 
GeneralRe: filestream : read with and lock-unlock problem Pin
Colin Angus Mackay1-Feb-09 13:28
Colin Angus Mackay1-Feb-09 13:28 
Generalmethod overloading.constructor overl, delegates. Pin
Ali_1001-Feb-09 8:10
Ali_1001-Feb-09 8:10 
GeneralRe: method overloading.constructor overl, delegates. Pin
Colin Angus Mackay1-Feb-09 12:54
Colin Angus Mackay1-Feb-09 12:54 
GeneralRe: method overloading.constructor overl, delegates. Pin
Dragonfly_Lee1-Feb-09 18:47
Dragonfly_Lee1-Feb-09 18:47 
QuestionVideo Download's No Idea!!! Pin
s4n4t4n1-Feb-09 7:49
s4n4t4n1-Feb-09 7:49 
AnswerRe: Video Download's No Idea!!! Pin
harold aptroot1-Feb-09 9:18
harold aptroot1-Feb-09 9:18 
Questionobtaining local lan address,,, Pin
Mubeen.asim1-Feb-09 7:28
Mubeen.asim1-Feb-09 7:28 
AnswerRe: obtaining local lan address,,, Pin
CPallini1-Feb-09 8:03
mveCPallini1-Feb-09 8:03 
GeneralRe: obtaining local lan address,,, Pin
Mubeen.asim1-Feb-09 8:04
Mubeen.asim1-Feb-09 8:04 
Questionaccessing shared database... Pin
Mubeen.asim1-Feb-09 6:43
Mubeen.asim1-Feb-09 6:43 
AnswerRe: accessing shared database... Pin
Mubeen.asim1-Feb-09 7:24
Mubeen.asim1-Feb-09 7:24 
QuestionCustom IE button calling BHO Pin
Haim Nachum1-Feb-09 6:32
Haim Nachum1-Feb-09 6:32 

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.