Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading from a currency counter
Message
De
04/12/2015 16:47:54
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Reading from a currency counter
Versions des environnements
Environment:
VB 9.0
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01628506
Message ID:
01628506
Vues:
52
A VFP application that has been running for years takes data passed by a third party app that reads data over a serial port from a currency counter.
I'm doing a new app in .NET that will do the same thing.

The third party app sends the amount of the currency denomination followed by a Carriage Return.
There is a single 0 followed by a Carriage Return if the denomination amount is zero.
When I read the string into word pad, I see the amounts and the Carriage Returns.
When I read it into a textbox, I only see the amounts.
The length of the string in the textbox is the length without the Carriage Returns.
I need the Carriage Returns in order to parse the string into correct amounts.

What to do?
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform