Click here to Skip to main content
12,070,030 members (29,831 online)

.NET Framework

 
QuestionVB.NET with MSAccess Pin
kkct23-Sep-12 20:35
memberkkct23-Sep-12 20:35 
AnswerRe: VB.NET with MSAccess Pin
Richard MacCutchan23-Sep-12 22:45
mvpRichard MacCutchan23-Sep-12 22:45 
AnswerRe: VB.NET with MSAccess Pin
Mazumder.Soumen25-Sep-12 3:22
memberMazumder.Soumen25-Sep-12 3:22 
Questionresizing a form in corner, bottom,right Pin
gopal karmakar21-Sep-12 7:04
membergopal karmakar21-Sep-12 7:04 
QuestionRe: resizing a form in corner, bottom,right Pin
Eddy Vluggen21-Sep-12 7:20
memberEddy Vluggen21-Sep-12 7:20 
QuestionLookup table .NET Component Pin
HentoDeluxe21-Sep-12 6:26
memberHentoDeluxe21-Sep-12 6:26 
AnswerRe: Lookup table .NET Component Pin
Eddy Vluggen21-Sep-12 7:19
memberEddy Vluggen21-Sep-12 7:19 
QuestionConverting from base10 to base16 and save it in unsigned char array? Pin
Kiran Satish19-Sep-12 11:06
memberKiran Satish19-Sep-12 11: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 12:28
mvpRichard MacCutchan19-Sep-12 12:28 
GeneralRe: Converting from base10 to base16 and save it in unsigned char array? Pin
Kiran Satish19-Sep-12 12:36
memberKiran Satish19-Sep-12 12:36 
GeneralRe: Converting from base10 to base16 and save it in unsigned char array? Pin
Richard MacCutchan19-Sep-12 12:52
mvpRichard MacCutchan19-Sep-12 12:52 
QuestionWhat is Common Type System (CTS) in .net framework? Pin
hiredotnet16-Sep-12 20:48
memberhiredotnet16-Sep-12 20:48 
AnswerRe: What is Common Type System (CTS) in .net framework? Pin
Pete O'Hanlon16-Sep-12 20:56
protectorPete O'Hanlon16-Sep-12 20:56 
AnswerRe: What is Common Type System (CTS) in .net framework? Pin
Himanshu Yadav20-Sep-12 9:11
memberHimanshu Yadav20-Sep-12 9:11 
AnswerRe: What is Common Type System (CTS) in .net framework? Pin
Tadit Dash22-Sep-12 20:01
memberTadit Dash22-Sep-12 20:01 
QuestionMain components of .NET Framework Pin
hiredotnet16-Sep-12 20:45
memberhiredotnet16-Sep-12 20:45 
RantRe: Main components of .NET Framework Pin
Paul Conrad16-Sep-12 20:48
memberPaul Conrad16-Sep-12 20:48 
Questioni m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Rashid Choudhary13-Sep-12 23:27
memberRashid Choudhary13-Sep-12 23:27 
AnswerRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Richard MacCutchan14-Sep-12 0:31
mvpRichard MacCutchan14-Sep-12 0:31 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Rashid Choudhary14-Sep-12 0:36
memberRashid Choudhary14-Sep-12 0:36 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Pete O'Hanlon14-Sep-12 0:40
protectorPete O'Hanlon14-Sep-12 0:40 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Richard MacCutchan14-Sep-12 1:05
mvpRichard MacCutchan14-Sep-12 1:05 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Pete O'Hanlon14-Sep-12 1:28
protectorPete O'Hanlon14-Sep-12 1:28 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Richard MacCutchan14-Sep-12 1:44
mvpRichard MacCutchan14-Sep-12 1:44 
GeneralRe: i m new in asp.net. and i want 2 call a gridview by dropdownlist. Pin
Tadit Dash22-Sep-12 20:06
memberTadit Dash22-Sep-12 20:06 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.160208.1 | Last Updated 6 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid