Hi everybody,
I have a Scale connet to PC through COMPORT.
I want to read the data from ComPort using MSCOMM control in Oracle FORMS 6i.
here my code(when-button-pressed):
DECLARE
W NUMBER;
WCOUNT NUMBER :=1;
comm_hnd OLEOBJ;
BEGIN
comm_hnd := ole2.create_obj('block2.MSC');
MSCOMMLib_IMSComm.CommPort(comm_hnd,1); --Form is "OUT"
MSCOMMLib_IMSComm.Settings(comm_hnd,'9600,n,8,1');
..........
END;
I compile success! but in Oracle Forms Runtime,
when click button, my form is "Out"
Can you help me!
thankz!!!
-----------------
dinhthienthanh@yahoo.com