Click here to Skip to main content
16,005,473 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Delphi: in at the deep end Pin
User 17164926-Oct-06 4:53
professionalUser 17164926-Oct-06 4:53 
GeneralRe: Delphi: in at the deep end Pin
lil_nicci8-Oct-06 23:11
lil_nicci8-Oct-06 23:11 
QuestionHow to get list of windows users only Pin
Ali 1105-Oct-06 19:10
Ali 1105-Oct-06 19:10 
AnswerRe: How to get list of windows users only Pin
Dave Kreskowiak6-Oct-06 4:26
mveDave Kreskowiak6-Oct-06 4:26 
QuestionVB.net and System.Uint32 Pin
0pius5-Oct-06 14:59
0pius5-Oct-06 14:59 
AnswerRe: VB.net and System.Uint32 Pin
Christian Graus5-Oct-06 15:49
protectorChristian Graus5-Oct-06 15:49 
GeneralRe: VB.net and System.Uint32 Pin
0pius5-Oct-06 19:41
0pius5-Oct-06 19:41 
GeneralRe: VB.net and System.Uint32 Pin
Christian Graus5-Oct-06 21:01
protectorChristian Graus5-Oct-06 21:01 
You can use bit masking and bit shifting to get your four bytes out.

For example:

uint x = 348524; // whatever
byte b1 = (x>>24);
byte b2 = (x>>16) & 0xFF;
byte b3 = (x>>8) & 0xFF;
byte b3 =x & 0xFF;

That's off the cuff, but it should work.



Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

QuestionReversing Texbox Characters when typed Pin
MotorMaxDrive5-Oct-06 14:51
MotorMaxDrive5-Oct-06 14:51 
AnswerRe: Reversing Texbox Characters when typed Pin
Christian Graus5-Oct-06 15:53
protectorChristian Graus5-Oct-06 15:53 
AnswerRe: Reversing Texbox Characters when typed Pin
J4amieC6-Oct-06 0:19
J4amieC6-Oct-06 0:19 
QuestionDirectory.getfiles Method Pin
GeorgieMPorgie5-Oct-06 13:54
GeorgieMPorgie5-Oct-06 13:54 
AnswerRe: Directory.getfiles Method Pin
Christian Graus5-Oct-06 14:16
protectorChristian Graus5-Oct-06 14:16 
QuestionGenerics and Reflection Pin
Bergerrudi5-Oct-06 11:44
Bergerrudi5-Oct-06 11:44 
QuestionNeed Help With Web Service Pin
Are Jay5-Oct-06 11:13
Are Jay5-Oct-06 11:13 
AnswerRe: Need Help With Web Service Pin
Pixa6-Oct-06 5:27
Pixa6-Oct-06 5:27 
GeneralRe: Need Help With Web Service Pin
Are Jay6-Oct-06 7:19
Are Jay6-Oct-06 7:19 
QuestionDatasource.InsertCommand with Stored Procedure with params doesnt work Pin
ko4an5-Oct-06 8:29
ko4an5-Oct-06 8:29 
QuestionVB.NET HotKeys Pin
nlindley75-Oct-06 6:33
nlindley75-Oct-06 6:33 
QuestionVb 6.0 code to convert tiff to Jpeg , gif or png Pin
Tiger4565-Oct-06 5:24
Tiger4565-Oct-06 5:24 
AnswerRe: Vb 6.0 code to convert tiff to Jpeg , gif or png Pin
Christian Graus5-Oct-06 10:48
protectorChristian Graus5-Oct-06 10:48 
AnswerRe: Vb 6.0 code to convert tiff to Jpeg , gif or png Pin
progload5-Oct-06 12:55
progload5-Oct-06 12:55 
GeneralRe: Vb 6.0 code to convert tiff to Jpeg , gif or png Pin
0pius5-Oct-06 19:46
0pius5-Oct-06 19:46 
Questionemail Pin
apaax5-Oct-06 4:25
apaax5-Oct-06 4:25 
AnswerRe: email Pin
Mike Osbahr5-Oct-06 4:55
Mike Osbahr5-Oct-06 4:55 

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.