Download ActiveComport    |     Visit the ActiveComport website

Index - Log in! - Sign up! - Visit website
Reading client side serial port in a web application.
 
ActiveXperts Software Forum Index -> ActiveComport Toolkit -> Development platforms
 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jmanuelcota



Joined: 17 Nov 2007
Posts: 4

PostPosted: Mon Jan 14, 2008 9:47 pm    Post subject: Reading client side serial port in a web application.

I am working with a web application in Visual Studio 2005, which needs receives information from peripheral devices connected to the serial port of the client’s pc. It is needed to obtain the information of the above mentioned devices to realize certain processes and to display it on screen.


I’m working with an ActiveX for the managing of the serial port. This part was developed in Javascript.

I send or receive commands like this:

F0 F1 0B 19 02 00 00 00 00 03 05 02 0F

Problem:

The problem is that due to the fact that in Javascript all strings are zero-terminated, Javascript considered the sixth byte (00) to be an end of the string and cut off the rest of it.

If someone knows some solution to this problem already be with JavaScript, VBScript or components .NET would be of great help … Thank you
Back to top
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum