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

C#

 
GeneralRe: how to monitor internet explorer using c# Pin
todorm3-Sep-09 6:22
todorm3-Sep-09 6:22 
Questionthe code in this article[our codeproject article only] not working in my visual studio 2008 Pin
msgreat5-Aug-09 5:20
msgreat5-Aug-09 5:20 
QuestionHow to find out if an object type supports a given arithmetic operator Pin
Duncan Edwards Jones5-Aug-09 4:57
professionalDuncan Edwards Jones5-Aug-09 4:57 
AnswerRe: How to find out if an object type supports a given arithmetic operator Pin
Luc Pattyn5-Aug-09 5:03
sitebuilderLuc Pattyn5-Aug-09 5:03 
GeneralRe: How to find out if an object type supports a given arithmetic operator Pin
Duncan Edwards Jones5-Aug-09 5:37
professionalDuncan Edwards Jones5-Aug-09 5:37 
GeneralRe: How to find out if an object type supports a given arithmetic operator Pin
Luc Pattyn5-Aug-09 5:51
sitebuilderLuc Pattyn5-Aug-09 5:51 
AnswerRe: How to find out if an object type supports a given arithmetic operator Pin
PIEBALDconsult5-Aug-09 9:19
mvePIEBALDconsult5-Aug-09 9:19 
QuestionProblem when reading single numeric values from an Excel worksheet Pin
KeesDekker5-Aug-09 4:50
KeesDekker5-Aug-09 4:50 
Hi,

I have a problem to get single numeric values from an Excel worksheet (that I need to process as I receive it). I use the Microsoft Excel 9.0 Library because I need to process EXcel 2000/2003 files.
This is the range:

Excel.Range CellRange = (Excel.Range) WS.Cells[RowNum, ColNum];

I use this statement to check format and cell.
MessageBox.Show(CellRange.NumberFormat.ToString() + "\n" + RowNum.ToString() + "\n" + ColNum.ToString());

Only in case of format 0.0 I can get a value (e.g. 234.9) like this:
Result = Convert.ToDouble(CellRange.Value);
MessageBox.Show(Result.ToString());

But the format can also be General with values e.g. 234.9 (with point), 234,9 (with comma) or 2349 (without separator).
It must be simple, but I can't find the solution.
Who can help me?

Thanks,
Gijs
AnswerRe: Problem when reading single numeric values from an Excel worksheet Pin
Eddy Vluggen5-Aug-09 5:03
professionalEddy Vluggen5-Aug-09 5:03 
GeneralRe: Problem when reading single numeric values from an Excel worksheet Pin
KeesDekker5-Aug-09 22:01
KeesDekker5-Aug-09 22:01 
QuestionFast messages not sent through TcpClient Pin
bocsiboti5-Aug-09 4:29
bocsiboti5-Aug-09 4:29 
AnswerRe: Fast messages not sent through TcpClient Pin
Ennis Ray Lynch, Jr.5-Aug-09 4:54
Ennis Ray Lynch, Jr.5-Aug-09 4:54 
GeneralRe: Fast messages not sent through TcpClient Pin
bocsiboti6-Aug-09 3:04
bocsiboti6-Aug-09 3:04 
GeneralRe: Fast messages not sent through TcpClient Pin
Ennis Ray Lynch, Jr.6-Aug-09 6:06
Ennis Ray Lynch, Jr.6-Aug-09 6:06 
GeneralRe: Fast messages not sent through TcpClient Pin
bocsiboti6-Aug-09 20:04
bocsiboti6-Aug-09 20:04 
AnswerRe: Fast messages not sent through TcpClient Pin
Luc Pattyn5-Aug-09 5:07
sitebuilderLuc Pattyn5-Aug-09 5:07 
GeneralRe: Fast messages not sent through TcpClient Pin
bocsiboti6-Aug-09 3:06
bocsiboti6-Aug-09 3:06 
GeneralRe: Fast messages not sent through TcpClient Pin
Luc Pattyn6-Aug-09 3:09
sitebuilderLuc Pattyn6-Aug-09 3:09 
QuestionMaking a wrapper: execlp or fork [modified] Pin
ajester655-Aug-09 4:28
ajester655-Aug-09 4:28 
QuestionTrying to create a shortcut... Pin
JollyMansArt5-Aug-09 4:25
JollyMansArt5-Aug-09 4:25 
AnswerRe: Trying to create a shortcut... Pin
Jimmanuel5-Aug-09 5:32
Jimmanuel5-Aug-09 5:32 
QuestionReplication Feature of SQL 2005 Pin
Abdul Rahman Hamidy5-Aug-09 3:38
Abdul Rahman Hamidy5-Aug-09 3:38 
AnswerRe: Replication Feature of SQL 2005 Pin
Ennis Ray Lynch, Jr.5-Aug-09 4:19
Ennis Ray Lynch, Jr.5-Aug-09 4:19 
GeneralRe: Replication Feature of SQL 2005 Pin
Abdul Rahman Hamidy5-Aug-09 4:26
Abdul Rahman Hamidy5-Aug-09 4:26 
GeneralRe: Replication Feature of SQL 2005 Pin
Ennis Ray Lynch, Jr.5-Aug-09 4:30
Ennis Ray Lynch, Jr.5-Aug-09 4: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.