Home » Developer & Programmer » Forms » How to invoke third part OCX into D2k Forms
How to invoke third part OCX into D2k Forms [message #83961] Fri, 09 January 2004 19:41 Go to next message
Indrani
Messages: 14
Registered: June 2003
Junior Member
Hi Freinds,
Can anybody tell me
How to invoke third part OCX into D2k Forms(6i) ?
Thnx in adv.
Re: How to invoke third part OCX into D2k Forms [message #83983 is a reply to message #83961] Tue, 13 January 2004 23:08 Go to previous messageGo to next message
Praveen.B
Messages: 25
Registered: August 2002
Junior Member
hi indira,
You can do that using OCX control.You have to import the event and right the respective code in ON-DISPATCH-EVENT trigger.

Regards

Praveen
Re: How to invoke third part OCX into D2k Forms [message #86177 is a reply to message #83983] Tue, 07 September 2004 00:42 Go to previous messageGo to next message
fanni
Messages: 96
Registered: March 2004
Member
i am trying to read data from com port. for this i am using mscomm32.ocx. the following code is written under the button. but focus of the form does not go in the on-dispatch event trigger.

i asm still unable to know how to use the on -dipatch -rigger

declare

hComX ole2.obj_type;
receive OLEVAR;
BEGIN
MSCOMMLib_IMSComm.PortOpen(:ITEM('BLOCK2.MYCONTROL').INTERFACE,1);
MSCOMMLib_IMSComm.InputMode(:ITEM('BLOCK2.MYCONTROL').INTERFACE),receive);

End
On-Dispatch-Event trigger Problem [message #86178 is a reply to message #83983] Tue, 07 September 2004 00:58 Go to previous message
fanni
Messages: 96
Registered: March 2004
Member
hi all
I have placed an MSCOMM32.ocx in my form. but could not understand how to write code in ON-DISPATCH-EVENT gainast the ocx events.
plz guide me
Previous Topic: need helps plz on how to set the cursor?
Next Topic: problem in master/detail relationship
Goto Forum:
  


Current Time: Sun May 19 08:51:23 CDT 2024