Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Communication with COM1
Message
De
26/07/1997 20:05:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00038834
Message ID:
00041814
Vues:
47
Hi Francois!

Sorry for this late reply but I have had some days vaction!

In my software I have this main.prg

DO FORM TS60
READ EVENTS

In the init event off my form I have the following code:
WITH THISFORM.TS60
.CommPort = 1
.Settings = "9600,N,8,1"
.InputLen = 1
.RThreshold = 0
.PortOpen = .T.
ENDWITH

In the destroy event off my form I have the following code:
THISFORM.TS60.PortOpen = .F.

I dont know if this is nesessary but it is working. I compile my app to a exe and it is running ok.

I understand from your mail that there is no problem with the *.ocx itself.

If you have problems other than this, I need to know some more off your code to see what the problem is.

Best regards

Per Simmersholm
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform