Home » Developer & Programmer » Forms » what's wrong with this code??????
what's wrong with this code?????? [message #460060] Wed, 09 June 2010 08:04 Go to next message
owais_baba
Messages: 289
Registered: March 2008
Location: MUSCAT
Senior Member
can any one tell me what's wrong with this i have run videos

there are two type of problems

1.whan i am inserting object "oralce video control" if i am re executing this form object is deleting automatically

2. i put this code on when-button-pressed

declare
video_obj ole2.obj_type;
begin
video_obj := forms_ole.get_interface_pointer
('run_VIDEO');
ole2.invoke(video_obj,'ImportFileAs');
end;

thnaks in advance
Re: what's wrong with this code?????? [message #460062 is a reply to message #460060] Wed, 09 June 2010 08:07 Go to previous messageGo to next message
owais_baba
Messages: 289
Registered: March 2008
Location: MUSCAT
Senior Member
error is - asusual FRM-41344 OLE object not defined for run_video
Re: what's wrong with this code?????? [message #463941 is a reply to message #460062] Mon, 05 July 2010 05:56 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Sorry that I have been so long in replying. Have you solved your problem?

David
Re: what's wrong with this code?????? [message #464762 is a reply to message #463941] Fri, 09 July 2010 05:13 Go to previous messageGo to next message
owais_baba
Messages: 289
Registered: March 2008
Location: MUSCAT
Senior Member
sorry i was out of city no not yet solved my problem if u have any clue pls give me


thanks
Re: what's wrong with this code?????? [message #465433 is a reply to message #464762] Wed, 14 July 2010 02:38 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
<sarcasm>I know you have a '.' (period) on your keyboard as you have used it as a separator in your code (eg. 'forms_ole.get_interface_pointer'). Please use it to delineate your sentences! Leading capitals also help!</sarcasm>

Searching this forum for 'video' returned http://www.orafaq.com/forum/m/440590/67467/?srch=video#msg_440590 which points to http://forms.pjc.bean.over-blog.com/

David
Previous Topic: Importing sound Class
Next Topic: how to generate this special code??????
Goto Forum:
  


Current Time: Fri Sep 20 06:31:54 CDT 2024