Click here to Skip to main content
15,121,414 members
Home / Discussions / C#
   

C#

 
Questioncontrolling the mouse programatically. Pin
asizo6-Sep-09 7:55
Memberasizo6-Sep-09 7:55 
AnswerRe: controlling the mouse programatically. Pin
Wamuti6-Sep-09 8:53
MemberWamuti6-Sep-09 8:53 
Questioncreate & delete dynamic rows which containa textboxes & buttons on clicking dynamicaly generated buttuns. Pin
ambiguity_solver6-Sep-09 7:40
Memberambiguity_solver6-Sep-09 7:40 
AnswerRe: create & delete dynamic rows which containa textboxes & buttons on clicking dynamicaly generated buttuns. Pin
Christian Graus6-Sep-09 13:44
protectorChristian Graus6-Sep-09 13:44 
GeneralRe: create & delete dynamic rows which containa textboxes & buttons on clicking dynamicaly generated buttuns. Pin
ambiguity_solver7-Sep-09 20:15
Memberambiguity_solver7-Sep-09 20:15 
QuestionBits and Bitmask - how to write? Pin
Daniel Leykauf6-Sep-09 7:30
MemberDaniel Leykauf6-Sep-09 7:30 
AnswerRe: Bits and Bitmask - how to write? Pin
harold aptroot6-Sep-09 8:14
Memberharold aptroot6-Sep-09 8:14 
GeneralRe: Bits and Bitmask - how to write? Pin
Daniel Leykauf6-Sep-09 10:29
MemberDaniel Leykauf6-Sep-09 10:29 
thank u harold!

but sorry, i can not understand your solution because you use always 'x' as variable and overwrites therefore all previous values.
can you give me more details?

so far, i can read the values i.e.:

int[] fieldvalue = new int[6];
    fieldvalue(0) = (67637321 & 0x7) >> 0;
    fieldvalue(1) = (67637321 & 0x38) >> 3;
    fieldvalue(2) = (67637321 & 0x1c0) >> 6;
    fieldvalue(3) = (67637321 & 0xfe00) >> 9;
    fieldvalue(4) = (67637321 & 0x7f0000) >> 16;
    fieldvalue(5) = (67637321 & 0x3f800000) >> 23;


so the first three values are set to 1 and the last three to 8.

how can i now set the second value i.e. to 2? or in other words: how do i get the int value 67637321 if i have as first three value 1 and as last three 8?

many thanks!
GeneralRe: Bits and Bitmask - how to write? Pin
harold aptroot6-Sep-09 10:53
Memberharold aptroot6-Sep-09 10:53 
GeneralRe: Bits and Bitmask - how to write? [modified] Pin
Daniel Leykauf6-Sep-09 11:19
MemberDaniel Leykauf6-Sep-09 11:19 
AnswerRe: Bits and Bitmask - how to write? Pin
Luc Pattyn6-Sep-09 8:16
sitebuilderLuc Pattyn6-Sep-09 8:16 
QuestionRDLC C# Report shows only record...but datasource containts more then 100 records [modified] Pin
xodeblack6-Sep-09 6:40
Memberxodeblack6-Sep-09 6:40 
AnswerRe: RDLC C# Report shows only record...but datasource containts more then 100 records Pin
Abhishek Sur6-Sep-09 11:59
professionalAbhishek Sur6-Sep-09 11:59 
GeneralRe: RDLC C# Report shows only record...but datasource containts more then 100 records Pin
xodeblack7-Sep-09 1:04
Memberxodeblack7-Sep-09 1:04 
QuestionStarting a new process after process.close() Pin
Member 37222616-Sep-09 6:14
MemberMember 37222616-Sep-09 6:14 
AnswerRe: Starting a new process after process.close() Pin
OriginalGriff6-Sep-09 7:03
mveOriginalGriff6-Sep-09 7:03 
GeneralRe: Starting a new process after process.close() Pin
Member 37222616-Sep-09 20:15
MemberMember 37222616-Sep-09 20:15 
GeneralRe: Starting a new process after process.close() Pin
OriginalGriff6-Sep-09 22:36
mveOriginalGriff6-Sep-09 22:36 
GeneralRe: Starting a new process after process.close() Pin
Member 37222617-Sep-09 0:24
MemberMember 37222617-Sep-09 0:24 
GeneralRe: Starting a new process after process.close() Pin
Member 37222617-Sep-09 0:41
MemberMember 37222617-Sep-09 0:41 
GeneralRe: Starting a new process after process.close() Pin
OriginalGriff7-Sep-09 0:52
mveOriginalGriff7-Sep-09 0:52 
GeneralRe: Starting a new process after process.close() Pin
Member 37222617-Sep-09 1:09
MemberMember 37222617-Sep-09 1:09 
AnswerRe: Starting a new process after process.close() Pin
Alan N6-Sep-09 23:16
MemberAlan N6-Sep-09 23:16 
GeneralRe: Starting a new process after process.close() Pin
Member 37222617-Sep-09 0:26
MemberMember 37222617-Sep-09 0:26 
GeneralRe: Starting a new process after process.close() Pin
Alan N7-Sep-09 4:45
MemberAlan N7-Sep-09 4:45 

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.