Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ApdComport Component

41 views
Skip to first unread message

OllieWe...@googlemail.com

unread,
Oct 2, 2007, 8:59:39 AM10/2/07
to
I am having trouble sending date and time strings in delphi

I am using apapro 4.06.

The device i am talking to requires date to be sent in the following
format dd/mm/yy followed by the enter key'
It requires time to be sent hh:mm.

Post a menu option to call up Date change option

I wait for a message to be send to enter my date in and next i post
back

comport1.putString(Format('dd/mm/yy',now)+#13#10);

Post a menu option to call up time change option

I await the time message and then post the following message
comport1.putstring(FormatDateTime('hh:nn',now)+#13#10);

Can anyone help me please?

0 new messages