Click here to Skip to main content
15,909,651 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to delay sending mail in c# Pin
Christian Graus9-Mar-09 22:02
protectorChristian Graus9-Mar-09 22:02 
GeneralRe: how to delay sending mail in c# Pin
Ramin Rahimee9-Mar-09 22:52
Ramin Rahimee9-Mar-09 22:52 
GeneralRe: how to delay sending mail in c# Pin
Dave Kreskowiak10-Mar-09 1:29
mveDave Kreskowiak10-Mar-09 1:29 
GeneralRe: how to delay sending mail in c# Pin
Rob Philpott9-Mar-09 23:14
Rob Philpott9-Mar-09 23:14 
GeneralRe: how to delay sending mail in c# Pin
Ramin Rahimee9-Mar-09 23:47
Ramin Rahimee9-Mar-09 23:47 
GeneralRe: how to delay sending mail in c# Pin
Mycroft Holmes9-Mar-09 23:26
professionalMycroft Holmes9-Mar-09 23:26 
GeneralRe: how to delay sending mail in c# Pin
Ramin Rahimee9-Mar-09 23:42
Ramin Rahimee9-Mar-09 23:42 
QuestionA few Excel Questions Pin
MumbleB9-Mar-09 20:42
MumbleB9-Mar-09 20:42 
Hi Guys. I have a working Excel application that reads an input file and writes the data to an Excel sheet. Now, I need to do a few more things though but just can't seem to get it working properly. This is what I need to do and what I have so far.
I need to set the current cell color to red if the Recon Indicator is NN but it sets all the cells before the current cell to RED. My question is how do I select only the current Cell. I have tried numerous things but it doesn't work.
                    if (RECONCILIATIONIND == "N")
                    {
                        objSheet.Cells[iR, iC + 18] = RECONCILIATIONIND;
                        objRange = objSheet.Cells.Rows.EntireRow;
                        objRange.Font.ColorIndex = "3";
                    }
>/pre>
The next problem I have is that I need to do some calculation on an unknown number of cells and subtract it from a total in a different column.  Below is a sample screen.
<code>
Nominees & Own Name (Level 1)	Beneficiaries (Level 2)
19326421	
	                                175
	                                84
	                                76
	                                2238
	                                235
	                                14
	                                591
	                                345
	                                122
</code>
From the above, I need to calculate the totals in Beneficiary (level 2) and subtract that from Level 1 total and add the total into a new column.  Now, there is an undertermined number of values in Level 2 i.e. there could be 2 or 4 or 50 or 300 values to add.  How would I be able to do that?

Any help or advise would be appreciated. 

<div class="ForumSig">Excellence is doing ordinary things extraordinarily well.</div>

AnswerRe: A few Excel Questions Pin
Mycroft Holmes9-Mar-09 21:06
professionalMycroft Holmes9-Mar-09 21:06 
QuestionContextMenuStrip shortcuts problem Pin
maryam.saboor9-Mar-09 20:37
professionalmaryam.saboor9-Mar-09 20:37 
AnswerRe: ContextMenuStrip shortcuts problem Pin
Mycroft Holmes9-Mar-09 21:10
professionalMycroft Holmes9-Mar-09 21:10 
QuestionProblem in reading excel from server folder Pin
Krishna Varadharajan9-Mar-09 20:29
Krishna Varadharajan9-Mar-09 20:29 
AnswerRe: Problem in reading excel from server folder Pin
Mycroft Holmes9-Mar-09 21:16
professionalMycroft Holmes9-Mar-09 21:16 
AnswerRe: Problem in reading excel from server folder Pin
Jack Li9-Mar-09 23:06
Jack Li9-Mar-09 23:06 
Questionhow to search a word in word document and capture the immediate next word and insert it into the DB Pin
Ferdin9-Mar-09 19:33
Ferdin9-Mar-09 19:33 
AnswerRe: how to search a word in word document and capture the immediate next word and insert it into the DB Pin
Mycroft Holmes9-Mar-09 21:18
professionalMycroft Holmes9-Mar-09 21:18 
GeneralRe: how to search a word in word document and capture the immediate next word and insert it into the DB Pin
Ferdin9-Mar-09 21:34
Ferdin9-Mar-09 21:34 
GeneralRe: how to search a word in word document and capture the immediate next word and insert it into the DB Pin
Mycroft Holmes9-Mar-09 23:24
professionalMycroft Holmes9-Mar-09 23:24 
QuestionRecursion logic and performance tuning Pin
Mathew Hall9-Mar-09 19:08
Mathew Hall9-Mar-09 19:08 
QuestionKill the DLL Pin
yesu prakash9-Mar-09 18:47
yesu prakash9-Mar-09 18:47 
AnswerRe: Kill the DLL Pin
User 23822929-Mar-09 19:13
User 23822929-Mar-09 19:13 
GeneralRe: Kill the DLL Pin
yesu prakash9-Mar-09 19:20
yesu prakash9-Mar-09 19:20 
AnswerRe: Kill the DLL Pin
Dragonfly_Lee9-Mar-09 19:31
Dragonfly_Lee9-Mar-09 19:31 
Questionproject doubt Pin
vinithakizhussery9-Mar-09 18:31
vinithakizhussery9-Mar-09 18:31 
AnswerRe: project doubt Pin
Christian Graus9-Mar-09 18:42
protectorChristian Graus9-Mar-09 18:42 

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.