Click here to Skip to main content
15,889,867 members
Home / Discussions / C#
   

C#

 
GeneralRe: changing the image DPI keeping the same size Pin
Rojan Gh.16-Apr-08 19:05
professionalRojan Gh.16-Apr-08 19:05 
QuestionRe: changing the image DPI keeping the same size Pin
Faysal17-Apr-08 1:07
Faysal17-Apr-08 1:07 
AnswerRe: changing the image DPI keeping the same size Pin
Rojan Gh.17-Apr-08 5:05
professionalRojan Gh.17-Apr-08 5:05 
QuestionWebBrowser question Pin
Rojan Gh.16-Apr-08 18:34
professionalRojan Gh.16-Apr-08 18:34 
GeneralRe: WebBrowser question Pin
Luc Pattyn17-Apr-08 0:20
sitebuilderLuc Pattyn17-Apr-08 0:20 
AnswerRe: WebBrowser question Pin
Rojan Gh.17-Apr-08 4:43
professionalRojan Gh.17-Apr-08 4:43 
QuestionWorking with percentages in C# Pin
dougins16-Apr-08 18:21
dougins16-Apr-08 18:21 
GeneralRe: Working with percentages in C# Pin
Christian Graus16-Apr-08 18:34
protectorChristian Graus16-Apr-08 18:34 
If you divide by an int, you get an int.

double n = 14/30.0;

will work

or

double n = 14/(double)30;

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: Working with percentages in C# Pin
Vikram A Punathambekar16-Apr-08 18:39
Vikram A Punathambekar16-Apr-08 18:39 
AnswerRe: Working with percentages in C# Pin
Simon P Stevens16-Apr-08 23:10
Simon P Stevens16-Apr-08 23:10 
Generalstring to float problem Pin
Xmen Real 16-Apr-08 18:03
professional Xmen Real 16-Apr-08 18:03 
GeneralRe: string to float problem Pin
Christian Graus16-Apr-08 18:33
protectorChristian Graus16-Apr-08 18:33 
GeneralRe: string to float problem Pin
Brady Kelly16-Apr-08 22:35
Brady Kelly16-Apr-08 22:35 
GeneralRe: string to float problem Pin
Xmen Real 16-Apr-08 22:43
professional Xmen Real 16-Apr-08 22:43 
GeneralRe: string to float problem Pin
ChrisKo17-Apr-08 7:56
ChrisKo17-Apr-08 7:56 
GeneralProblem in Update dataset to database using oledbadapter Pin
cocoonwls16-Apr-08 17:22
cocoonwls16-Apr-08 17:22 
GeneralRe: Problem in Update dataset to database using oledbadapter Pin
cocoonwls16-Apr-08 21:29
cocoonwls16-Apr-08 21:29 
QuestionComparing enums? Pin
kumar.bs16-Apr-08 14:29
kumar.bs16-Apr-08 14:29 
AnswerRe: Comparing enums? Pin
Christian Graus16-Apr-08 15:15
protectorChristian Graus16-Apr-08 15:15 
AnswerRe: Comparing enums? Pin
Ravenet16-Apr-08 15:41
Ravenet16-Apr-08 15:41 
GeneralRe: Comparing enums? Pin
Christian Graus16-Apr-08 15:43
protectorChristian Graus16-Apr-08 15:43 
GeneralRe: Comparing enums? Pin
Ravenet16-Apr-08 15:50
Ravenet16-Apr-08 15:50 
GeneralRe: Comparing enums? Pin
Christian Graus16-Apr-08 15:57
protectorChristian Graus16-Apr-08 15:57 
GeneralRe: Comparing enums? Pin
Ravenet16-Apr-08 16:00
Ravenet16-Apr-08 16:00 
GeneralRe: Comparing enums? Pin
Christian Graus16-Apr-08 16:10
protectorChristian Graus16-Apr-08 16:10 

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.