Click here to Skip to main content
       

.NET Framework

 
AnswerRe: [VB.NET 2008] How to put an image in a button PinmvpEddy Vluggen9-Jan-13 1:22 
GeneralRe: [VB.NET 2008] How to put an image in a button Pinmembersteve_94966139-Jan-13 21:40 
GeneralRe: [VB.NET 2008] How to put an image in a button PinmvpEddy Vluggen9-Jan-13 22:57 
GeneralRe: [VB.NET 2008] How to put an image in a button Pinmemberhalabella13-Jan-13 4:17 
GeneralRe: [VB.NET 2008] How to put an image in a button Pinmembersteve_949661313-Jan-13 22:46 
AnswerRe: [VB.NET 2008] How to put an image in a button Pinmembers32750499-Jan-13 7:41 
GeneralRe: [VB.NET 2008] How to put an image in a button Pinmembersteve_94966139-Jan-13 20:57 
Question[VB.NET 2008] How to get single bytes from a multibyte value Pinmembersteve_94966138-Jan-13 22:12 
Hi all,
I need to extract each byte from a 32 bit value.
I did something like this but it doesn't work:
Dim b1, b2, b3, b4 As Byte
Dim SingleVal As Single
 
SingleVal  = 0.125
 
b1 = SingleVal And &HFF 
b2 = (SingleVal >> 8) And &HFF 
b3 = (SingleVal >> 16) And &HFF 
b4 = (SingleVal >> 24) And &HFF 
I'm not sure that the >> operator works in the right way on a Single value.
 
What is the right way to do this?
 
Thanks to all.
AnswerRe: [VB.NET 2008] How to get single bytes from a multibyte value PinmvpEddy Vluggen9-Jan-13 1:29 
GeneralRe: [VB.NET 2008] How to get single bytes from a multibyte value Pinmembersteve_94966139-Jan-13 3:15 
GeneralRe: [VB.NET 2008] How to get single bytes from a multibyte value PinmvpEddy Vluggen9-Jan-13 4:31 
AnswerRe: [VB.NET 2008] How to get single bytes from a multibyte value PinmemberAlan N9-Jan-13 6:17 
GeneralRe: [VB.NET 2008] How to get single bytes from a multibyte value Pinmembersteve_94966139-Jan-13 20:35 
QuestionDistributing Changes to a DLL that Other Assemblies Depend Upon PinmemberRichard Andrew x648-Jan-13 2:24 
AnswerRe: Distributing Changes to a DLL that Other Assemblies Depend Upon PinprotectorPete O'Hanlon8-Jan-13 2:31 
QuestionMethod Level security based on User logged in Pinmemberpankajbaunthiyal7-Jan-13 22:31 
AnswerRe: Method Level security based on User logged in PinprotectorPete O'Hanlon7-Jan-13 23:44 
QuestionIOException was Unhandled Pinmemberjankevint7-Jan-13 15:39 
AnswerRe: IOException was Unhandled PinmvpRichard MacCutchan7-Jan-13 22:24 
QuestionUser password encryption in .Net Framework 4.5 Pinmembersamijf6-Jan-13 21:11 
AnswerRe: User password encryption in .Net Framework 4.5 PinmvpEddy Vluggen6-Jan-13 21:15 
QuestionBuild Output Question PinmemberKevin Marois4-Jan-13 5:32 
AnswerRe: Build Output Question PinmvpRichard MacCutchan4-Jan-13 6:13 
GeneralRe: Build Output Question PinmemberKevin Marois4-Jan-13 6:20 
GeneralRe: Build Output Question PinmvpRichard MacCutchan4-Jan-13 6:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.141022.2 | Last Updated 22 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid