need help is using mscomm.ocx [message #74099] |
Tue, 07 September 2004 07:03 |
fanni
Messages: 96 Registered: March 2004
|
Member |
|
|
hi every body
i am using mscomm component for reading data from COM PORT connected with a weigh scale.
i have got placed the MSCOMM ocx in my form (of FORMS 6) and have imported its packages
containing all its methods and events.
i got all it functions and procedures but i found only this piece of code under events
package .
--------------------------------------
PACKAGE BODY MSCOMMLib_MSComm_1_EVENTS IS
-- The Events Package:
PROCEDURE /* OnComm */ EVENT1(interface OleObj) IS
BEGIN
null;
END;
END;
---------------------------------------
whereas i imported the events package for MSCAL.calendar. Its events package shows a
detailed list of events.
How i'll capture different events for mscomm component e.g port open, port close, input ,
output etc.
Moreover i am unable to understand that how ON-DISPATCH-TRIGGER trigger will be used for
MSCOMM.
If any body has idea about it. Please give me a hint.
I need it on urgent basis.
farhan ashraf
|
|
|