Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a better mscomm?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00443243
Message ID:
00447042
Vues:
16
I sort of have this working now. Two problems...

1. When I change the senders RTS line, the receiver (VB activex DLL) oncomm fires three times.

2. When the com activities are done I need to return about 2K in text. Can I send that back
from the dll?

Any ideas on these?


>Writing a COM in VB is not very difficult. Open VB, select ActiveX DLL (or ActiveX EXE) in the New tab and click Open. You can now add your methods and properties in the class module.
>
>To instanciate MSComm, you have to select Project|Components from the menu and check Microsoft Comm Control 6.0 Then. create a new form and insert the Comm control in it. You can then manipulate it from your methods in your class module.
>
>To create the DLL, select File|Make MyProject from the menu.
>
>HTH
>Care to share that code with me? Writing a com object is new to me.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform