Click here to Skip to main content
15,879,474 members
Home / Discussions / C#
   

C#

 
Questioncontrolling the mouse programatically. Pin
asizo6-Sep-09 6:55
asizo6-Sep-09 6:55 
AnswerRe: controlling the mouse programatically. Pin
Wamuti6-Sep-09 7:53
Wamuti6-Sep-09 7:53 
Questioncreate & delete dynamic rows which containa textboxes & buttons on clicking dynamicaly generated buttuns. Pin
ambiguity_solver6-Sep-09 6:40
ambiguity_solver6-Sep-09 6:40 
AnswerRe: create & delete dynamic rows which containa textboxes & buttons on clicking dynamicaly generated buttuns. Pin
Christian Graus6-Sep-09 12:44
protectorChristian Graus6-Sep-09 12:44 
GeneralRe: create & delete dynamic rows which containa textboxes & buttons on clicking dynamicaly generated buttuns. Pin
ambiguity_solver7-Sep-09 19:15
ambiguity_solver7-Sep-09 19:15 
QuestionBits and Bitmask - how to write? Pin
Daniel Leykauf6-Sep-09 6:30
Daniel Leykauf6-Sep-09 6:30 
AnswerRe: Bits and Bitmask - how to write? Pin
harold aptroot6-Sep-09 7:14
harold aptroot6-Sep-09 7:14 
GeneralRe: Bits and Bitmask - how to write? Pin
Daniel Leykauf6-Sep-09 9:29
Daniel Leykauf6-Sep-09 9: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 9:53
harold aptroot6-Sep-09 9:53 
GeneralRe: Bits and Bitmask - how to write? [modified] Pin
Daniel Leykauf6-Sep-09 10:19
Daniel Leykauf6-Sep-09 10:19 
AnswerRe: Bits and Bitmask - how to write? Pin
Luc Pattyn6-Sep-09 7:16
sitebuilderLuc Pattyn6-Sep-09 7:16 
QuestionRDLC C# Report shows only record...but datasource containts more then 100 records [modified] Pin
xodeblack6-Sep-09 5:40
xodeblack6-Sep-09 5:40 
AnswerRe: RDLC C# Report shows only record...but datasource containts more then 100 records Pin
Abhishek Sur6-Sep-09 10:59
professionalAbhishek Sur6-Sep-09 10:59 
GeneralRe: RDLC C# Report shows only record...but datasource containts more then 100 records Pin
xodeblack7-Sep-09 0:04
xodeblack7-Sep-09 0:04 
QuestionStarting a new process after process.close() Pin
Member 37222616-Sep-09 5:14
Member 37222616-Sep-09 5:14 
AnswerRe: Starting a new process after process.close() Pin
OriginalGriff6-Sep-09 6:03
mveOriginalGriff6-Sep-09 6:03 
GeneralRe: Starting a new process after process.close() Pin
Member 37222616-Sep-09 19:15
Member 37222616-Sep-09 19:15 
GeneralRe: Starting a new process after process.close() Pin
OriginalGriff6-Sep-09 21:36
mveOriginalGriff6-Sep-09 21:36 
GeneralRe: Starting a new process after process.close() Pin
Member 37222616-Sep-09 23:24
Member 37222616-Sep-09 23:24 
GeneralRe: Starting a new process after process.close() Pin
Member 37222616-Sep-09 23:41
Member 37222616-Sep-09 23:41 
GeneralRe: Starting a new process after process.close() Pin
OriginalGriff6-Sep-09 23:52
mveOriginalGriff6-Sep-09 23:52 
GeneralRe: Starting a new process after process.close() Pin
Member 37222617-Sep-09 0:09
Member 37222617-Sep-09 0:09 
AnswerRe: Starting a new process after process.close() Pin
Alan N6-Sep-09 22:16
Alan N6-Sep-09 22:16 
GeneralRe: Starting a new process after process.close() Pin
Member 37222616-Sep-09 23:26
Member 37222616-Sep-09 23:26 
GeneralRe: Starting a new process after process.close() Pin
Alan N7-Sep-09 3:45
Alan N7-Sep-09 3: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.