Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a better mscomm?
Message
 
To
21/11/2000 09:02:46
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00443243
Message ID:
00447042
Views:
10
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform