Click here to Skip to main content
15,887,267 members
Home / Discussions / Web Development
   

Web Development

 
QuestionInstall ActiveX Pin
p_196024-Apr-09 21:28
p_196024-Apr-09 21:28 
AnswerCross Posted Pin
led mike27-Apr-09 4:38
led mike27-Apr-09 4:38 
QuestionUDDI Pin
daniel kuperberg24-Apr-09 21:11
daniel kuperberg24-Apr-09 21:11 
AnswerRe: UDDI Pin
Yusuf25-Apr-09 9:51
Yusuf25-Apr-09 9:51 
QuestionJavaScript: Need help understanding what's happening in this loop. Pin
durango7724-Apr-09 13:38
durango7724-Apr-09 13:38 
AnswerRe: JavaScript: Need help understanding what's happening in this loop. Pin
Parinay Bansal24-Apr-09 18:41
Parinay Bansal24-Apr-09 18:41 
GeneralRe: JavaScript: Need help understanding what's happening in this loop. Pin
durango7725-Apr-09 3:40
durango7725-Apr-09 3:40 
Questionjavscipt: hex to string conversion problem: Pin
Parinay Bansal24-Apr-09 10:35
Parinay Bansal24-Apr-09 10:35 
hello,

I am trying to develop a project using smart card.

I am using SCardX_easy activex control in my webpage to extract info from my smart card.

what i recieve in DataBuffer is a string of hex values separated by a white space and without a leading zero.

for example
ReceivedDataBuffer = "5B 50 0A 3E 5C 77 D8" and so on.

now i need to convert this to a meaningful string
say "test"

how do i do that.
this is what i am currently doing:
------------------------------------------
var data = new Array();
data = ReceivedDataBuffer.split("0A");

for (i=0; i<data.length;> {
AddSubLine(data[i]);
}
--------------------------------------------

but instead of the data[i] containing hex i need string.
"0A" is the newline character in hex
i intend to separate data using newline as data length is variable in nature which is being stored in the card.

thanks

also any suggestions regarding my approach would be appreciated as i am basically a c programmer and have been taked javascript.
i have gone through the basics but am stuck
Questionhelp me Pin
tidelgl24-Apr-09 7:08
tidelgl24-Apr-09 7:08 
AnswerRe: help me Pin
Rolando CC24-Apr-09 7:50
professionalRolando CC24-Apr-09 7:50 
AnswerRe: help me Pin
Yusuf24-Apr-09 10:18
Yusuf24-Apr-09 10:18 
QuestionAuthorization Required Pin
p_196023-Apr-09 20:56
p_196023-Apr-09 20:56 
AnswerRe: Authorization Required Pin
Paddy Boyd24-Apr-09 1:54
Paddy Boyd24-Apr-09 1:54 
AnswerRe: Authorization Required Pin
Yusuf24-Apr-09 6:10
Yusuf24-Apr-09 6:10 
Questionretrieve image Pin
LiYS23-Apr-09 17:20
LiYS23-Apr-09 17:20 
QuestionAn article submission system Pin
jesarg23-Apr-09 17:14
jesarg23-Apr-09 17:14 
AnswerRe: An article submission system Pin
Yusuf24-Apr-09 6:11
Yusuf24-Apr-09 6:11 
QuestionAjax hover menu Pin
Mohammad Al Hoss23-Apr-09 14:37
Mohammad Al Hoss23-Apr-09 14:37 
AnswerRe: Ajax hover menu Pin
Yusuf23-Apr-09 15:28
Yusuf23-Apr-09 15:28 
QuestionCSS and linking to your content [modified] Pin
rbwest8623-Apr-09 11:32
rbwest8623-Apr-09 11:32 
AnswerRe: CSS and linking to your content Pin
DoctorMick24-Apr-09 4:45
DoctorMick24-Apr-09 4:45 
QuestionCSS Issue with VS2008 Pin
DotNetMan23-Apr-09 10:24
DotNetMan23-Apr-09 10:24 
AnswerRe: CSS Issue with VS2008 Pin
rbwest8623-Apr-09 12:04
rbwest8623-Apr-09 12:04 
QuestionDisplaying multiple pages in the same page Pin
armasramirez23-Apr-09 5:47
armasramirez23-Apr-09 5:47 
QuestionclickOnce problem Pin
Shital@icon22-Apr-09 22:02
Shital@icon22-Apr-09 22:02 

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.