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

C#

 
AnswerRe: How to embaded rss feeds in to html page which will be displayed in mozilla as well as IE browser Pin
Nagy Vilmos24-Aug-09 4:35
professionalNagy Vilmos24-Aug-09 4:35 
Questionemgucv face detection Count Pin
ChangSiJie24-Aug-09 3:28
ChangSiJie24-Aug-09 3:28 
AnswerRe: emgucv face detection Count PinPopular
Henry Minute24-Aug-09 3:40
Henry Minute24-Aug-09 3:40 
AnswerRe: emgucv face detection Count Pin
sheahpar8-Feb-10 6:17
sheahpar8-Feb-10 6:17 
QuestionConvert SQL data to XML data using nHibernate Pin
DJ24524-Aug-09 2:56
DJ24524-Aug-09 2:56 
AnswerRe: Convert SQL data to XML data using nHibernate Pin
Henry Minute24-Aug-09 3:25
Henry Minute24-Aug-09 3:25 
QuestionExcel + C# Pin
GrgBalden24-Aug-09 2:16
GrgBalden24-Aug-09 2:16 
QuestionWorkbookEvents_SheetChangeEventHandler excel delegate Pin
NarVish24-Aug-09 2:16
NarVish24-Aug-09 2:16 
Hello,

I have a C# program that uses the Excel interop (Microsoft.Office.Interop.Excel) to monitor an Excel 2007 spreadsheet.

I use the delegate named WorkbookEvents_SheetChangeEventHandler which runs my custom code when any cell on the spreadsheet is updated. But the following code is not working..
I think I didn't use the delegate WorkbookEvents_SheetChangeEventHandler,correctly.Please let me know how to raise the event whenever the cell in excel file gets changed.
Thanks in advance.
using excel=Microsoft.Office.Interop.Excel;

public event excel.WorkbookEvents_SheetChangeEventHandler SheetChange;

private void WorkbookSheetChange()
{
this.SheetChange += new excel.WorkbookEvents_SheetChangeEventHandler(workSheet_SheetChange);
}

void workSheet_SheetChange(object Sh, excel.Range Target)
{
Target = range;
string changedRange = Target.get_Address(1, 1,
excel.XlReferenceStyle.xlA1, 1, 1);

MessageBox.Show("The value of " + workSheet.Name + ":" +
changedRange + " was changed.");
}
QuestionCollection properties should be readonly. Pin
deep724-Aug-09 1:47
deep724-Aug-09 1:47 
AnswerRe: Collection properties should be readonly. Pin
Henry Minute24-Aug-09 2:07
Henry Minute24-Aug-09 2:07 
GeneralRe: Collection properties should be readonly. Pin
Luc Pattyn24-Aug-09 3:26
sitebuilderLuc Pattyn24-Aug-09 3:26 
AnswerRe: Collection properties should be readonly. Pin
harold aptroot24-Aug-09 2:08
harold aptroot24-Aug-09 2:08 
GeneralRe: Collection properties should be readonly. Pin
Luc Pattyn24-Aug-09 3:27
sitebuilderLuc Pattyn24-Aug-09 3:27 
GeneralRe: Collection properties should be readonly. Pin
harold aptroot24-Aug-09 3:38
harold aptroot24-Aug-09 3:38 
AnswerRe: Collection properties should be readonly. [modified] Pin
Luc Pattyn24-Aug-09 2:11
sitebuilderLuc Pattyn24-Aug-09 2:11 
AnswerRe: Collection properties should be readonly. Pin
Super Lloyd24-Aug-09 3:40
Super Lloyd24-Aug-09 3:40 
Question.NET Remoting...how to? Pin
DIPAK@EMSYS24-Aug-09 1:13
DIPAK@EMSYS24-Aug-09 1:13 
Questionproblem in adding rows to datagrid Pin
myinstincts24-Aug-09 1:07
myinstincts24-Aug-09 1:07 
AnswerRe: problem in adding rows to datagrid Pin
DIPAK@EMSYS24-Aug-09 1:56
DIPAK@EMSYS24-Aug-09 1:56 
GeneralRe: problem in adding rows to datagrid Pin
DIPAK@EMSYS24-Aug-09 1:59
DIPAK@EMSYS24-Aug-09 1:59 
QuestionMS-Charts Pin
hhazan24-Aug-09 0:32
hhazan24-Aug-09 0:32 
AnswerRe: MS-Charts Pin
Dave Kreskowiak24-Aug-09 3:46
mveDave Kreskowiak24-Aug-09 3:46 
Questiondelete Pin
nhqlbaislwfiikqraqnm24-Aug-09 0:08
nhqlbaislwfiikqraqnm24-Aug-09 0:08 
GeneralRe: Firefox Password Backup program! Pin
harold aptroot24-Aug-09 0:29
harold aptroot24-Aug-09 0:29 
AnswerRe: Firefox Password Backup program! Pin
stancrm24-Aug-09 0:30
stancrm24-Aug-09 0:30 

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.