Error using Microsoft CommonDialog OCX
Guys ..
I have problem about using Microsoft CommonDialog (OCX) in Form (Open File). Herewith i enclose my code below:
----- When Button Pressed ----
DECLARE
CDialog oleObj;
BEGIN
CDialog := :ITEM('BLOCK3.ACTIVEX_CONTROL99').Interface;
MSComDlg_ICommonDialog.ShowOpen(CDialog);
END;
----- End Of When Button Pressed ----
It success when i compile, but when i running there's an error message:
"FRM 41344 - OLE Object not defined for ACTIVEX_CONTROL99 in current record"
What should i do? :|