Click here to Skip to main content
15,884,099 members
Home / Discussions / C#
   

C#

 
GeneralRe: Getting the position of desktop shortcut icons. Pin
Dave Kreskowiak16-Aug-13 11:37
mveDave Kreskowiak16-Aug-13 11:37 
AnswerThanks everyone. Pin
Septimus Hedgehog17-Aug-13 21:52
Septimus Hedgehog17-Aug-13 21:52 
GeneralThe Random Class Pin
N8tiv16-Aug-13 3:43
N8tiv16-Aug-13 3:43 
GeneralRe: The Random Class Pin
Dave Kreskowiak16-Aug-13 3:59
mveDave Kreskowiak16-Aug-13 3:59 
GeneralRe: The Random Class Pin
N8tiv16-Aug-13 4:47
N8tiv16-Aug-13 4:47 
GeneralRe: The Random Class Pin
harold aptroot16-Aug-13 5:04
harold aptroot16-Aug-13 5:04 
GeneralRe: The Random Class Pin
N8tiv16-Aug-13 5:06
N8tiv16-Aug-13 5:06 
GeneralRe: The Random Class Pin
Keith Barrow16-Aug-13 5:55
professionalKeith Barrow16-Aug-13 5:55 
Of course you do, in c# 100% isn't valid. 100%3 returns 1 because % is the modulus operator and 100 MOD 3 = 1. The compiler is reading 100% "100 MOD", then it is missing the second operand, so it throws the invalid expression.

SetWindowSize takes two arguments anyway[^], the number of [character] columns and the number of [character] rows, so there is no way this line could work.

GeneralRe: The Random Class Pin
N8tiv16-Aug-13 6:19
N8tiv16-Aug-13 6:19 
GeneralRe: The Random Class Pin
Forbiddenx16-Aug-13 8:07
Forbiddenx16-Aug-13 8:07 
GeneralRe: The Random Class Pin
PIEBALDconsult16-Aug-13 13:33
mvePIEBALDconsult16-Aug-13 13:33 
GeneralRe: The Random Class Pin
Pete O'Hanlon16-Aug-13 3:59
mvePete O'Hanlon16-Aug-13 3:59 
GeneralPDF area selection Pin
Mercurius8415-Aug-13 18:34
Mercurius8415-Aug-13 18:34 
GeneralRe: PDF area selection Pin
Mycroft Holmes15-Aug-13 19:25
professionalMycroft Holmes15-Aug-13 19:25 
GeneralRe: PDF area selection Pin
Mercurius8416-Aug-13 0:24
Mercurius8416-Aug-13 0:24 
GeneralRe: PDF area selection Pin
Sivaraman Dhamodharan15-Aug-13 23:57
Sivaraman Dhamodharan15-Aug-13 23:57 
GeneralRe: PDF area selection Pin
Mercurius8416-Aug-13 0:28
Mercurius8416-Aug-13 0:28 
QuestionTCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions 17.21.11.17:8080 Pin
BalasubramanianK15-Aug-13 4:28
BalasubramanianK15-Aug-13 4:28 
SuggestionRe: TCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions 17.21.11.17:8080 Pin
Richard MacCutchan15-Aug-13 4:37
mveRichard MacCutchan15-Aug-13 4:37 
QuestionMulti-Threading PinPopular
bh_15-Aug-13 2:54
bh_15-Aug-13 2:54 
AnswerRe: Multi-Threading Pin
Garth J Lancaster15-Aug-13 3:26
professionalGarth J Lancaster15-Aug-13 3:26 
AnswerRe: Multi-Threading Pin
Ravi Bhavnani15-Aug-13 5:02
professionalRavi Bhavnani15-Aug-13 5:02 
GeneralRe: Multi-Threading Pin
bh_15-Aug-13 21:17
bh_15-Aug-13 21:17 
GeneralRe: Multi-Threading Pin
Ravi Bhavnani16-Aug-13 5:36
professionalRavi Bhavnani16-Aug-13 5:36 
GeneralRe: Multi-Threading Pin
bh_16-Aug-13 5:41
bh_16-Aug-13 5:41 

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.