Home » Developer & Programmer » Forms » ole container object
ole container object [message #282683] Fri, 23 November 2007 00:17 Go to next message
jitender.sadh
Messages: 82
Registered: May 2007
Member
hi
i want to know how to use ole container object in forms6i so that when i double click on that , it run a specific applicatin (for ex calculator,notepad etc)


regards
jitender
Re: ole container object [message #282925 is a reply to message #282683] Sun, 25 November 2007 03:03 Go to previous messageGo to next message
mudabbir
Messages: 235
Registered: April 2006
Location: Kuwait
Senior Member

You can use the "HOST" command

Mudabbir
Re: ole container object [message #282986 is a reply to message #282925] Sun, 25 November 2007 21:29 Go to previous messageGo to next message
jitender.sadh
Messages: 82
Registered: May 2007
Member
hi,
u said to use 'HOST' command ,but i don't how to use that, my mean on which trigger i write that command. can u give a simple example to run calculator when double click on the ole object.i want the output as like in the file which i attched.the functionlity of that ole object is that there is no trigger on that object & when i double click on that it run a calculator.

regards
jitender.

[EDITED by LF: removed a large BMP image. Please, read the OraFAQ Forum Guide to learn what type of images are acceptable]

[Updated on: Sun, 25 November 2007 23:42] by Moderator

Report message to a moderator

Re: ole container object [message #283026 is a reply to message #282986] Sun, 25 November 2007 23:54 Go to previous messageGo to next message
mudabbir
Messages: 235
Registered: April 2006
Location: Kuwait
Senior Member

Dear Jitender

Create a button and on the "WHEN-BUTTON-PRESSED" trigger write the following code. You can create a Display item and write the same code on the "WHEN-MOUSE-DOUBLECLICK" trigger.

Host('calc.exe');

Re: ole container object [message #283035 is a reply to message #282683] Mon, 26 November 2007 00:09 Go to previous messageGo to next message
jitender.sadh
Messages: 82
Registered: May 2007
Member
hi

i got it & its working "host('calc')" but i want to know is it is necessary to write trigger "when-mouse-doubleclick" for ole object to run a application by doubleclicking on it.i m asking it this to u because in the application whose snapshot i send to u before, there is no trigger on the ole object , & when i double click on it , it run the calculator application.
if u have any link , which provide some information about ole object,
then plz send to me , actually i want to know for which purpose we user ole object.

regards
jitender.



Re: ole container object [message #283217 is a reply to message #283035] Mon, 26 November 2007 06:40 Go to previous message
mudabbir
Messages: 235
Registered: April 2006
Location: Kuwait
Senior Member

search in this forum for "OLE2", you will get lots of information there

Mudabbir
Previous Topic: Form executable !
Next Topic: error frm-92101
Goto Forum:
  


Current Time: Sun Dec 04 00:20:35 CST 2016

Total time taken to generate the page: 0.10329 seconds