Click here to Skip to main content
11,712,802 members (80,451 online)

.NET Framework

 
QuestionVB.NET with MSAccess Pin
kkct23-Sep-12 19:35
memberkkct23-Sep-12 19:35 
AnswerRe: VB.NET with MSAccess Pin
Richard MacCutchan23-Sep-12 21:45
mvpRichard MacCutchan23-Sep-12 21:45 
AnswerRe: VB.NET with MSAccess Pin
Mazumder.Soumen25-Sep-12 2:22
memberMazumder.Soumen25-Sep-12 2:22 
Questionresizing a form in corner, bottom,right Pin
gopal karmakar21-Sep-12 6:04
membergopal karmakar21-Sep-12 6:04 
QuestionRe: resizing a form in corner, bottom,right Pin
Eddy Vluggen21-Sep-12 6:20
memberEddy Vluggen21-Sep-12 6:20 
QuestionLookup table .NET Component Pin
HentoDeluxe21-Sep-12 5:26
memberHentoDeluxe21-Sep-12 5:26 
AnswerRe: Lookup table .NET Component Pin
Eddy Vluggen21-Sep-12 6:19
memberEddy Vluggen21-Sep-12 6:19 
QuestionConverting from base10 to base16 and save it in unsigned char array? Pin
Kiran Satish19-Sep-12 10:06
memberKiran Satish19-Sep-12 10:06 
Hello,

I would like to convert a decimal number (base10) into hexadecimal and then save it into an unsigned char array.

I have an integer whose value increments from 1024 to a max of 2047 in steps of 1 whenever the user clicks a button. At each step I need to convert it to a hexadecimal number and save it into an unsigned char array or 2 elements so that I can send it to a device via USB.

For example:
If I want to send 1955 decimal number I would like to have my unsigned char array as below
Out[0] = 0x07;
out[1] = 0xA3
then I can use my transferdata(out) function.

Can someone help me with this?

thanks in advance
PKNT

AnswerRe: Converting from base10 to base16 and save it in unsigned char array? Pin
Richard MacCutchan19-Sep-12 11:28
mvpRichard MacCutchan19-Sep-12 11:28 
GeneralRe: Converting from base10 to base16 and save it in unsigned char array? Pin
Kiran Satish19-Sep-12 11:36
memberKiran Satish19-Sep-12 11:36 
GeneralRe: Converting from base10 to base16 and save it in unsigned char array? Pin
Richard MacCutchan19-Sep-12 11:52
mvpRichard MacCutchan19-Sep-12 11:52 
QuestionWhat is Common Type System (CTS) in .net framework? Pin
hiredotnet16-Sep-12 19:48
memberhiredotnet16-Sep-12 19:48 
AnswerRe: What is Common Type System (CTS) in .net framework? Pin
Pete O'Hanlon16-Sep-12 19:56
protectorPete O'Hanlon16-Sep-12 19:56 
AnswerRe: What is Common Type System (CTS) in .net framework? Pin
Himanshu Yadav20-Sep-12 8:11
memberHimanshu Yadav20-Sep-12 8:11 
AnswerRe: What is Common Type System (CTS) in .net framework? Pin
Tadit Dash22-Sep-12 19:01
memberTadit Dash22-Sep-12 19:01 
QuestionMain components of .NET Framework Pin
hiredotnet16-Sep-12 19:45
memberhiredotnet16-Sep-12 19:45 
RantRe: Main components of .NET Framework Pin
Paul Conrad16-Sep-12 19:48
memberPaul Conrad16-Sep-12 19:48 
Questioni m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Rashid Choudhary13-Sep-12 22:27
memberRashid Choudhary13-Sep-12 22:27 
AnswerRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Richard MacCutchan13-Sep-12 23:31
mvpRichard MacCutchan13-Sep-12 23:31 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Rashid Choudhary13-Sep-12 23:36
memberRashid Choudhary13-Sep-12 23:36 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Pete O'Hanlon13-Sep-12 23:40
protectorPete O'Hanlon13-Sep-12 23:40 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Richard MacCutchan14-Sep-12 0:05
mvpRichard MacCutchan14-Sep-12 0:05 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Pete O'Hanlon14-Sep-12 0:28
protectorPete O'Hanlon14-Sep-12 0:28 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Richard MacCutchan14-Sep-12 0:44
mvpRichard MacCutchan14-Sep-12 0:44 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Tadit Dash22-Sep-12 19:06
memberTadit Dash22-Sep-12 19:06 

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
Web01 | 2.8.150819.1 | Last Updated 1 Sep 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid