Click here to Skip to main content
15,881,248 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: [VB.NET 2008] How to put an image in a button Pin
Eddy Vluggen9-Jan-13 1:22
professionalEddy Vluggen9-Jan-13 1:22 
GeneralRe: [VB.NET 2008] How to put an image in a button Pin
steve_94966139-Jan-13 21:40
professionalsteve_94966139-Jan-13 21:40 
GeneralRe: [VB.NET 2008] How to put an image in a button Pin
Eddy Vluggen9-Jan-13 22:57
professionalEddy Vluggen9-Jan-13 22:57 
GeneralRe: [VB.NET 2008] How to put an image in a button Pin
halabella13-Jan-13 4:17
halabella13-Jan-13 4:17 
GeneralRe: [VB.NET 2008] How to put an image in a button Pin
steve_949661313-Jan-13 22:46
professionalsteve_949661313-Jan-13 22:46 
AnswerRe: [VB.NET 2008] How to put an image in a button Pin
s32750499-Jan-13 7:41
s32750499-Jan-13 7:41 
GeneralRe: [VB.NET 2008] How to put an image in a button Pin
steve_94966139-Jan-13 20:57
professionalsteve_94966139-Jan-13 20:57 
Question[VB.NET 2008] How to get single bytes from a multibyte value Pin
steve_94966138-Jan-13 22:12
professionalsteve_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:
VB
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 Pin
Eddy Vluggen9-Jan-13 1:29
professionalEddy Vluggen9-Jan-13 1:29 
GeneralRe: [VB.NET 2008] How to get single bytes from a multibyte value Pin
steve_94966139-Jan-13 3:15
professionalsteve_94966139-Jan-13 3:15 
GeneralRe: [VB.NET 2008] How to get single bytes from a multibyte value Pin
Eddy Vluggen9-Jan-13 4:31
professionalEddy Vluggen9-Jan-13 4:31 
AnswerRe: [VB.NET 2008] How to get single bytes from a multibyte value Pin
Alan N9-Jan-13 6:17
Alan N9-Jan-13 6:17 
GeneralRe: [VB.NET 2008] How to get single bytes from a multibyte value Pin
steve_94966139-Jan-13 20:35
professionalsteve_94966139-Jan-13 20:35 
QuestionDistributing Changes to a DLL that Other Assemblies Depend Upon Pin
Richard Andrew x648-Jan-13 2:24
professionalRichard Andrew x648-Jan-13 2:24 
AnswerRe: Distributing Changes to a DLL that Other Assemblies Depend Upon Pin
Pete O'Hanlon8-Jan-13 2:31
mvePete O'Hanlon8-Jan-13 2:31 
QuestionMethod Level security based on User logged in Pin
pankajbaunthiyal7-Jan-13 22:31
pankajbaunthiyal7-Jan-13 22:31 
AnswerRe: Method Level security based on User logged in Pin
Pete O'Hanlon7-Jan-13 23:44
mvePete O'Hanlon7-Jan-13 23:44 
QuestionIOException was Unhandled Pin
jankevint7-Jan-13 15:39
jankevint7-Jan-13 15:39 
AnswerRe: IOException was Unhandled Pin
Richard MacCutchan7-Jan-13 22:24
mveRichard MacCutchan7-Jan-13 22:24 
QuestionUser password encryption in .Net Framework 4.5 Pin
samijf6-Jan-13 21:11
samijf6-Jan-13 21:11 
AnswerRe: User password encryption in .Net Framework 4.5 Pin
Eddy Vluggen6-Jan-13 21:15
professionalEddy Vluggen6-Jan-13 21:15 
QuestionBuild Output Question Pin
Kevin Marois4-Jan-13 5:32
professionalKevin Marois4-Jan-13 5:32 
AnswerRe: Build Output Question Pin
Richard MacCutchan4-Jan-13 6:13
mveRichard MacCutchan4-Jan-13 6:13 
GeneralRe: Build Output Question Pin
Kevin Marois4-Jan-13 6:20
professionalKevin Marois4-Jan-13 6:20 
GeneralRe: Build Output Question Pin
Richard MacCutchan4-Jan-13 6:58
mveRichard MacCutchan4-Jan-13 6:58 

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.